From 76dc12f2ac64704a4bfd264e572aadc49e30e8b7 Mon Sep 17 00:00:00 2001 From: "Jorge vitrubio.net" Date: Thu, 11 Apr 2024 11:24:26 +0200 Subject: [PATCH] stablished new zoom max --- includes/xarxaprod-leafletmap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/xarxaprod-leafletmap.php b/includes/xarxaprod-leafletmap.php index 839d106..09745ba 100644 --- a/includes/xarxaprod-leafletmap.php +++ b/includes/xarxaprod-leafletmap.php @@ -22,7 +22,7 @@ if ( ! is_plugin_active( 'leaflet-map/leaflet-map.php' ) ) { if (! function_exists( 'xarxaprod_show_leaflet_map' )) { function xarxaprod_show_leaflet_map() { // show the map - echo do_shortcode( '[leaflet-map fitbounds max_zoom="18" lat="41.3922" lng="2.1755" height="100%" width="100%" tileurl=https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png scrollwheel detect-retina]'); + echo do_shortcode( '[leaflet-map fitbounds max_zoom="16" lat="41.3922" lng="2.1755" height="100%" width="100%" tileurl=https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png scrollwheel detect-retina]'); } };