mirror of
https://github.com/netzmacht/contao-leaflet-libraries.git
synced 2025-11-28 11:04:07 +01:00
Use leaflet.js instead of leaflet-src.js
leaflet.js is more than twice lighter than leaflet-src.js
This commit is contained in:
@@ -21,7 +21,7 @@ $GLOBALS['LEAFLET_LIBRARIES']['leaflet'] = array
|
|||||||
'license' => '<a href="https://github.com/Leaflet/Leaflet/blob/master/LICENSE" target="_blank">BSD-2-Clause</a>',
|
'license' => '<a href="https://github.com/Leaflet/Leaflet/blob/master/LICENSE" target="_blank">BSD-2-Clause</a>',
|
||||||
'homepage' => 'http://leafletjs.com',
|
'homepage' => 'http://leafletjs.com',
|
||||||
'css' => 'assets/leaflet/libs/leaflet/leaflet.min.css',
|
'css' => 'assets/leaflet/libs/leaflet/leaflet.min.css',
|
||||||
'javascript' => 'assets/leaflet/libs/leaflet/leaflet-src.js',
|
'javascript' => 'assets/leaflet/libs/leaflet/leaflet.js',
|
||||||
);
|
);
|
||||||
|
|
||||||
$GLOBALS['LEAFLET_LIBRARIES']['leaflet-providers'] = array
|
$GLOBALS['LEAFLET_LIBRARIES']['leaflet-providers'] = array
|
||||||
|
|||||||
Reference in New Issue
Block a user