mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-29 19:43:50 +01:00
8 lines
261 B
Plaintext
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>
|