none
Zoom Level over 20 in UWP maps control RRS feed

  • Question

  • Hello,

    I need zoom level 21 in maps. I added map control following this article (link => Overlay tiles from a web service) and also followed instruction for "Replace the default map" at page bottom.

    As I see, map zooms only to level 20 and that also is not 20, it is actually zoomed 19.

    I tried setting ZoomLevelRange for tile source, but that does also not help, code:

    //Example code var dataSource = new HttpMapTileDataSource("http://www.<web service name>.com/z={zoomlevel}&x={x}&y={y}");

    MyMap.Style = MapStyle.None;

    var tileSource = new MapTileSource(dataSource) { ZoomLevelRange = new MapZoomLevelRange { Max = 21, Min = 1 },

    Layer = MapTileLayer.BackgroundReplacement };

    MyMap.TileSources.Add(tileSource);


    Is it possible to have zoom level 21 for custom tile source?

    Thanks,

    Amir


    Monday, August 8, 2016 2:55 PM

Answers

  • Sorry, I don't think it's possible to zoom in farther than level 20.

    Each of the zoom levels has it's own set of "tiles" that are needed to render the map at that zoom level. Likely, the tiles to render zoom levels closer than 20 don't exist, so it wouldn't be possible to render the map at that zoom level.

    Thursday, September 8, 2016 3:48 PM