Forum Discussion

PawelB's avatar
PawelB
Copper Contributor
Dec 29, 2024

Azure Maps does not zoom out completely

 

 

I'm working on a WordPress plugin and I needed to migrate from Bing Maps API to Azure Maps.

I noticed that it is not possible to zoom out to the maximum on a map created with the Azure maps API when it is restricted to a smaller portion of a screen. The more noticeable it is, the smaller the map gets. 

Example:

This is the maximum zoom-out available.

Comparion with the Bing Maps similar size:

Maximum zoom-out for a Bing Map

Of course, I tested this with minZoom options like:

map = new atlas.Map( "new_map", {
        center: [0, 0],
        maxZoom: 24,
        minZoom: 1 // with 0 map disappears 
});

 

As you can see the maximum zoom out is drastically reduced.

This WordPress plugin allows you to show albums with photos from all over the world and smaller maps may not show all of them.

 

Internet search showed me only one other post about this issue 

https://community.fabric.microsoft.com/t5/Issues/Azure-Maps-will-not-completely-zoom-out/idi-p/3446379#feedback-success

and similar but probably not correctly described in here:

The new Azure Maps seems to zoom in too far - Microsoft Q&A

 

Is there a solution to this problem or I missed something?

 

 

 

Resources