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

8 lines
261 B
Plaintext
Raw Normal View History

2017-10-18 17:01:03 +02:00
<div id="<?= $this->mapId ?>" style="<?= $this->style ?>"></div>
2015-01-14 18:01:10 +01:00
<script>
2017-10-18 17:01:03 +02:00
L.contao.addMap('<?= $this->mapId ?>', function () {
<?= $this->javascript ?>
return {map: map, layers: layers, controls: controls, icons: icons};
2017-10-18 17:01:03 +02:00
}());
</script>