2014-12-11 150 views

回答

1

This本文介紹如何設置自定義瓷磚源地圖控件

簡而言之:

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); 
相關問題