added settings for map on post

This commit is contained in:
lenovo
2022-11-13 19:26:11 +01:00
parent ada87da370
commit 5596c5e954
7 changed files with 66 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ function create_map(map_div) {
disableDefaultUI: true,
zoomControl: true,
scaleControl: true,
zoom: 2,
zoom: map_zoom,
gestureHandling: "cooperative",
//gestureHandling: "greedy",
//gestureHandling: "none",

View File

@@ -41,6 +41,7 @@ function mp_init_map() {
* - let icon_color_back = ""
* - let icon_size = [x, y]
* - let cluster_size_factor = Number
* - let map_zoom = x
* - let max_zoom = x
*/