我需要在may WP8.1应用程序中显示yandex map。适用于Windows手机的Yandex地图SDK是obsolette。如何在Windows Phone 8.1上显示Yandex Map?
答案 0 :(得分:1)
This文章介绍了如何将自定义切片源设置为MapControl
简而言之:
MyMap.Style = MapStyle.None;
HttpMapTileDataSource dataSource = new HttpMapTileDataSource("http://vec02.maps.yandex.net/tiles?l=map&v=2.2.3&x={x}&y={y}&z={zoomlevel}");
MapTileSource tileSource = new MapTileSource(dataSource);
tileSource.Layer = MapTileLayer.BackgroundReplacement;
MyMap.TileSources.Add(tileSource);