Fix map id.

This commit is contained in:
David Molineus
2016-01-11 18:37:50 +01:00
parent 2f8ddf3a30
commit 381d330cab

View File

@@ -1,6 +1,6 @@
<div id="<?php echo $mapId; ?>" style="<?php echo $style; ?>"></div>
<script>
L.contao.addMap('{$mapId}', function() {
L.contao.addMap('<?php echo $mapId; ?>', function() {
<?php echo $javascript; ?>
return { map: map, layers: layers, controls: controls, icons: icons };
}());</script>