Update: LeafletJS library to 1.9.3
This commit is contained in:
parent
eeefc257bf
commit
0d18486fc7
@ -180,8 +180,8 @@ if (!class_exists('Soundmap')){
|
||||
}// admin_menu
|
||||
|
||||
function enqueue_map_scripts(){
|
||||
wp_enqueue_script('leafletjs','https://unpkg.com/leaflet@1.6.0/dist/leaflet.js',array(),'1.6.0',TRUE); // add Leaflet.js
|
||||
wp_enqueue_style('leafletcss',"https://unpkg.com/leaflet@1.6.0/dist/leaflet.css",array(),'1.6.0','all'); // add CSS Leaflet
|
||||
wp_enqueue_script('leafletjs','https://unpkg.com/leaflet@1.9.3/dist/leaflet.js',array(),'1.9.3',TRUE); // add Leaflet.js
|
||||
wp_enqueue_style('leafletcss',"https://unpkg.com/leaflet@1.9.3/dist/leaflet.css",array(),'1.9.3','all'); // add CSS Leaflet
|
||||
}
|
||||
|
||||
function wp_enqueue_scripts(){
|
||||
|
Loading…
Reference in New Issue
Block a user