Files
contao-leaflet-maps/src/Bundle/Resources/contao/templates/leaflet_map_html.html5

7 lines
245 B
Plaintext
Raw Normal View History

2015-01-14 18:51:52 +01:00
<div id="<?php echo $mapId; ?>" style="<?php echo $style; ?>"></div>
2015-01-14 18:01:10 +01:00
<script>
2016-01-11 18:37:50 +01:00
L.contao.addMap('<?php echo $mapId; ?>', function() {
2015-01-28 16:41:21 +01:00
<?php echo $javascript; ?>
2015-01-15 13:01:58 +01:00
return { map: map, layers: layers, controls: controls, icons: icons };
2015-01-14 18:51:52 +01:00
}());</script>