Drawing lines between contacts with iphones Map Kit

Can I create custom lines between two or more locations using MapKit? Or do I need a custom overlay? Is there any textbook on this topic?

I have a working Google Maps application and now I want to associate my locations with straight lines.

http://maps.google.com/maps/api/staticmap?size=400x400&zoom=13&path=colorlistxff0000ff|weight//|40.737102,-73.990318|40.749825,-73.987963&markers=color%3ablue|label%3aS|40.737102 , -73.990318 | 40.749825, -73.987963 & sensor = false

+3
source share
2 answers

You can draw lines on a map using MKPolyline.

See this link

http://spitzkoff.com/craig/?p=136

+2

. : mapkit

0

Source: https://habr.com/ru/post/1779360/


All Articles