How to draw corridor around route at specified distance ?

Discussion in 'iOS Programming' started by sagarcool89, Apr 12, 2013.

  1. sagarcool89 macrumors newbie

    Joined:
    Apr 12, 2013
    #1
    Hello everyone,

    Here is my requirement : I want to draw corridor(close path) around route using MapKit (iOS6) ?

    Input :
    - coordinates(Latitude and Longitude) of route. (CLLocationCoordinate2D Array)
    - distance (In Meters) for e.g 5000 meters

    Output :
    - Polygon : coordinates(Latitude and Longitude) (CLLocationCoordinate2D Array) - (Blue color tube around route - Please see the screenshot)

    Thanks in advance, I need this solution very urgently. please help me.

    [​IMG]
     
  2. Duncan C macrumors 6502a

    Duncan C

    Joined:
    Jan 21, 2008
    Location:
    Northern Virginia
    #2

    You asked the same question on iPhone Dev SDK. Don't cross-post.
     

Share This Page