mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-29 11:33:46 +01:00
Use L.Contao as reference to the Contao integration object.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
ContaoLeaflet.addMap('<?php echo $mapId; ?>', function() {
|
||||
L.Contao.addMap('<?php echo $mapId; ?>', function() {
|
||||
<?php echo $javascript; ?>
|
||||
|
||||
return { map: map, layers: layers, controls: controls, icons: icons };
|
||||
|
||||
Reference in New Issue
Block a user