Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markers are not displayed in debug mode on Mac #93

Closed
zonky2 opened this issue Oct 6, 2020 · 3 comments
Closed

Markers are not displayed in debug mode on Mac #93

zonky2 opened this issue Oct 6, 2020 · 3 comments
Assignees
Labels
Milestone

Comments

@zonky2
Copy link

zonky2 commented Oct 6, 2020

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>
@zonky2 zonky2 changed the title Doesnt Markers are not displayed in debug mode on Mac Oct 6, 2020
@dmolineus dmolineus self-assigned this Oct 7, 2020
@dmolineus dmolineus added the bug label Oct 7, 2020
@dmolineus
Copy link
Member

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.

@dmolineus dmolineus added this to the 3.2.2 milestone Oct 7, 2020
@zonky2
Copy link
Author

zonky2 commented Oct 7, 2020

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

@dmolineus
Copy link
Member

Behoben in Version 3.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants