Reputation: 363
Is there a way to plot route on a mapview? I can do it through opening a webview, but is there a way to plot it inside the application?
Upvotes: 0
Views: 1733
Reputation: 9876
Please go through below links which includes Github project:
This is just the demo applications you need to edit as per your requirements.
Upvotes: 2
Reputation: 40028
If oyou are thinking of drawing a route between two locations obtained from Google API then unfortunately, Google license won't let you do what:
10.9 use the Service or Content with any products, systems, or applications for or in connection with:
(a) real time navigation or route guidance, including but not limited to turn-by-turn route guidance that is synchronized to the position of a user's sensor-enabled device;
(b) any systems or functions for automatic or autonomous control of vehicle behavior; or
(c) dispatch, fleet management, business asset tracking, or similar enterprise applications (the Google Maps API can be used to track assets (such as cars, buses or other vehicles) as long as the tracking application is made available to the public without charge. For example, you may offer a free, public Maps API Implementation that displays real-time public transit or other transportation status information.
Here is a similar question: Drawing a route in MapKit in iPhone SDK
Upvotes: 0