[uMap] Setting zoom in iframes

Lucio Chiappetti lucio at lambrate.inaf.it
Mon Mar 3 11:32:36 UTC 2025


I have been very happily using umap for a while to build maps for personal 
use (or disclosed to limited groups). I would like to make sure that, when 
an user receives the URL of a map, or views the imbedded iframe in an HTML 
page of mine, the map is shown at the broadest zoom available.

I usually set in Map advanced properties -> limit bounds the "current 
bounds" which include all features in my map (using the minus button), so 
that one cannot zoom further out. This is what I call "broadest zoom".

How can I make such zoom the default when an user enters the map (or even 
when I do enter it for editing ... of course I can use the +/- buttons or 
the lens icon in the browser  ... but users mightr not be familiar with it 
so it is better if they could get a default zoom)

I see in "default properties" there is a "default zoom level" but it is 
not clear to me how such number is defined.

Thanks






More information about the Umap mailing list