forked from Snck3rs/contao-leaflet-maps
Use template engine to render the map.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
L.contao.addMap('<?php echo $mapId; ?>', function() {
|
||||
<?php echo $javascript; ?>
|
||||
L.contao.addMap('<?= $this->mapId ?>', function() {
|
||||
<?= $this->javascript ?>
|
||||
|
||||
return { map: map, layers: layers, controls: controls, icons: icons };
|
||||
}());
|
||||
|
||||
Reference in New Issue
Block a user