I'm developing Windows Phone 8.1 application and I want to display Yandex Maps
instead of Bing Maps
in MapControl. I've set a new tile datasource with yandex url. It works, but tiles are displayed with a small vertical offset.
The offset only is not a problem, but it affects on placemarks - they are displayed in wrong position on yandex tiles, but correct in bing tiles.
The problem is not in coordinates because I pick them from original yandex maps in browser.
In example below, colored tiles are provided by yandex and gray shape is from bing maps.
Setting yandex tiles in MapControl:
HttpMapTileDataSource dataSource = new HttpMapTileDataSource("http://vec02.maps.yandex.net/tiles?l=map&x={x}&y={y}&z={zoomlevel}");
MapTileSource tileSource = new MapTileSource(dataSource);
MyMapControl.TileSources.Add(tileSource);
I've tried to intercept MapControl's tile request and decrement the value of y
coordinate but the result was completely wrong.
Result of intercepting request and modifying value of y