netzmacht/contao-leaflet-maps

Markers are not displayed in debug mode on Mac

Closed this issue · 3 comments

Markers are not displayed in debug mode on Mac

The <script> Tags should inside of this template...
https://github.com/netzmacht/contao-leaflet-maps/blob/master/src/Bundle/Resources/contao/templates/leaflet_map_js.html5

otherwise the information about the template path is entered into the Javascript, e.g.

<script>
<!-- START path to template -->
...
<!-- END path to template -->
<script>

The comments needs to be stripped here. Contao templates are not made for rendering anything different than html. For historical reasons the behaviour won't be changed.

Why is the <script> not in your template like in Contao?

Behoben in Version 3.2.2