fix: remove cooperativeGestures, increase fitBounds padding, add popups to embedded maps
This commit is contained in:
@@ -114,7 +114,7 @@ map.on('load', function () {
|
||||
if (ENTRIES.length === 1) {
|
||||
map.jumpTo({ center: coords[0], zoom: 10 });
|
||||
} else {
|
||||
map.fitBounds(bounds, { padding: 60, maxZoom: 11 });
|
||||
map.fitBounds(bounds, { padding: 100, maxZoom: 11 });
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user