Compare commits

..

2 Commits

Author SHA1 Message Date
jorge 76dc12f2ac stablished new zoom max 2024-04-11 11:24:26 +02:00
jorge 2d4aef04bd added cases to gitignore 2024-04-11 11:24:07 +02:00
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -18,6 +18,7 @@
/wp-*.php /wp-*.php
/xmlrpc.php /xmlrpc.php
/ignore-* /ignore-*
*_gitignore-*
# Configuration # Configuration
wp-config.php wp-config.php

View File

@ -22,7 +22,7 @@ if ( ! is_plugin_active( 'leaflet-map/leaflet-map.php' ) ) {
if (! function_exists( 'xarxaprod_show_leaflet_map' )) { if (! function_exists( 'xarxaprod_show_leaflet_map' )) {
function xarxaprod_show_leaflet_map() { function xarxaprod_show_leaflet_map() {
// show the 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]');
} }
}; };