-1

I need to create functionality where a user draws (freely) his daily route on a map. Using iOS Maps / Google Maps SDK, how can I achieve it? The MapView will be fixed at a location and a zoom level, so it doesn't move while the user is drawing. The user has to draw a route along the roads shown on the screen. How can I achieve this ?

This is implemented in this app

Dunes Buggy
  • 1,779
  • 1
  • 21
  • 41

1 Answers1

0

"There is no way to do that with MapKit: it's easy enough to draw lines when you know the coordinates, but MapKit won't give you access to the roads or other routing information. I'd say you need to call an external API to get your data"

Reference article: Drawing a route in MapKit in iPhone SDK

Community
  • 1
  • 1
casillas
  • 16,351
  • 19
  • 115
  • 215