I found a way to make a smaller size for the map itself with CSS.
But I'm wondering if there's a way to change the default zoom as well with CSS for responsive purposes.
(and maybe max and min zoom).
Oh OK, sorry.
Well, I made a different height for the map div when it's displayed on a wide desktop screen and when, for instance, it's displayed on a tablet or smartphone (because the desktop map would be too high on a small device).
The fact I can chose the default zoom size makes it perfect on a wide screen, but of course I'd like to be able to chose a smaller default zoom on smartphone, because the map div is smaller (so that it shows more or less the same part of the world).
Am I clearer?
It's clear now.
In current version you can't control map zoom depended on map div size.
I can think of it like
- create map override
- in additional section add some parameters, like zoom and width
- when map is loaded change zoom based on current size and parameters above
I do not promise that I implement it in nearest future, but can try to add this features when I have more free time