Compare commits
2 Commits
dc4ddbb3e6
...
76dc12f2ac
Author | SHA1 | Date |
---|---|---|
jorge | 76dc12f2ac | |
jorge | 2d4aef04bd |
|
@ -18,6 +18,7 @@
|
||||||
/wp-*.php
|
/wp-*.php
|
||||||
/xmlrpc.php
|
/xmlrpc.php
|
||||||
/ignore-*
|
/ignore-*
|
||||||
|
*_gitignore-*
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
wp-config.php
|
wp-config.php
|
||||||
|
|
|
@ -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]');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue