mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-29 19:43:50 +01:00
Fix map id.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<div id="<?php echo $mapId; ?>" style="<?php echo $style; ?>"></div>
|
<div id="<?php echo $mapId; ?>" style="<?php echo $style; ?>"></div>
|
||||||
<script>
|
<script>
|
||||||
L.contao.addMap('{$mapId}', function() {
|
L.contao.addMap('<?php echo $mapId; ?>', function() {
|
||||||
<?php echo $javascript; ?>
|
<?php echo $javascript; ?>
|
||||||
return { map: map, layers: layers, controls: controls, icons: icons };
|
return { map: map, layers: layers, controls: controls, icons: icons };
|
||||||
}());</script>
|
}());</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user