0
我在創建地圖時遇到了一些問題。Yandex適用於iOS的地圖適用於OverlayView
對於我使用MKPolylineView谷歌地圖的路線,但在Yandex的地圖我沒有看到它...
如何創建Yandex圖路線?
我在創建地圖時遇到了一些問題。Yandex適用於iOS的地圖適用於OverlayView
對於我使用MKPolylineView谷歌地圖的路線,但在Yandex的地圖我沒有看到它...
如何創建Yandex圖路線?
如果你想在iOS yandex地圖上創建路線。
您可以使用此superstructure
1,您必須添加「Yandex的MapKit路線」到項目文件夾下的所有文件。
2在項目中使用的方法(如樣品):
[YandexMapKitRoute showRouteOnMap:self.mapView From:YMKMapCoordinateMake(55.837064,37.487895) To:YMKMapCoordinateMake(55.695618,37.657496)];
3並滾動到它
[self.mapView setCenterCoordinate:YMKMapCoordinateMake(55.754219,37.622478)
atZoomLevel:10
animated:NO];