Files
contao-leaflet-maps/module/templates/leaflet_map_html.html5
David Molineus 381d330cab Fix map id.
2016-01-11 18:37:50 +01:00

7 lines
245 B
Plaintext

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