Files
contao-leaflet-maps/src/Bundle/Resources/contao/templates/leaflet_map_html.html5
2017-10-18 17:01:03 +02:00

8 lines
261 B
Plaintext

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