stablished new zoom max
This commit is contained in:
parent
2d4aef04bd
commit
76dc12f2ac
|
@ -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]');
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue