stablished new zoom max

This commit is contained in:
Jorge vitrubio.net 2024-04-11 11:24:26 +02:00
parent 2d4aef04bd
commit 76dc12f2ac
1 changed files with 1 additions and 1 deletions

View File

@ -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]');
}
};