Skip to content
Snippets Groups Projects
Commit d626533e authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #59612 add padding to OSM fitbounds

parent ac2aeb43
Branches
Tags
3 merge requests!2334Master,!2301Master,!2273hotline #59612 add padding to OSM fitbounds
Pipeline #2185 passed with stage
in 16 minutes and 10 seconds
- ticket #59612 : Module bibliothèque : amélioration de l'affichage des bibliothèques sur la carte OpenStreetMap.
\ No newline at end of file
......@@ -68,7 +68,7 @@
var bounds = new L.featureGroup(all_markers);
bounds.addTo(map);
map.fitBounds(bounds.getBounds());
map.fitBounds(bounds.getBounds(), {padding: [50, 50]});
}
loadMap();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment