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

Im APP-DEV Modus werden keine Pins auf der Karte angezeigt #114

Closed
marcuslelle opened this issue May 19, 2022 · 4 comments
Closed

Im APP-DEV Modus werden keine Pins auf der Karte angezeigt #114

marcuslelle opened this issue May 19, 2022 · 4 comments
Assignees
Labels

Comments

@marcuslelle
Copy link

marcuslelle commented May 19, 2022

Grund ist meiner Meinung nach, dass das Script-Tag von der Ausgabe des Template-Namens zerschossen wird.

<div class="block-max-width">
          
<!-- TEMPLATE START: vendor/netzmacht/contao-leaflet-maps/src/Bundle/Resources/contao/templates/ce_leaflet_map.html5 -->
<!-- indexer::stop -->
<div class="ce_leaflet distributor__map first last  block">

</div>
<!-- indexer::continue -->
<script>
<!-- TEMPLATE START: vendor/netzmacht/contao-leaflet-maps/src/Bundle/Resources/contao/templates/leaflet_map_js.html5 -->
L.contao.addMap('map_ce_7540', function() {
var map, layers = {}, controls = {}, icons = {};
map = L.map("map_ce_7540", {center: [47.6782206,11.0981091], zoom: 10, zoomControl: "", touchZoom: false, scrollWheelZoom: false, doubleClickZoom: false, boxZoom: false, tap: false, keyboard: false, dynamicLoad: false, adjustBounds: true});

layers.layer_1 = L.tileLayer.provider('OpenStreetMap.Mapnik', {});
layers.layer_1.addTo(map);
layers.mm_layer_nur_at_landingpage = L.geoJson({"type":"FeatureCollection","features":[]}, {boundsMode: "extend"});
L.contao.loadUrl("http://eggersmann.aikunde.de/leaflet/api/layer/6?context=page&contextId=449", "geojson", {}, layers.mm_layer_nur_at_landingpage, map);
layers.mm_layer_nur_at_landingpage.addTo(map);

map.calculateFeatureBounds();

return { map: map, layers: layers, controls: controls, icons: icons };
}());
</script>


<!-- TEMPLATE END: vendor/netzmacht/contao-leaflet-maps/src/Bundle/Resources/contao/templates/ce_leaflet_map.html5 -->
    
      </div>

Würde mich an den Kosten für die Behebung beteiligen, wenn eine Rechnung möglich ist.

@zonky2
Copy link

zonky2 commented May 19, 2022

MM 2.2 EAP könnte auch was in den Finanzhut werfen...

@zonky2
Copy link

zonky2 commented May 19, 2022

komischer Weise gibt es nur ein "öffenenden Kommentar"

<!-- TEMPLATE START: vendor/netzmacht/contao-leaflet-maps/src/Bundle/Resources/contao/templates/leaflet_map_js.html5 -->

ber keinen schließenden....

@dmolineus dmolineus added the bug label May 19, 2022
@dmolineus
Copy link
Member

@dmolineus dmolineus self-assigned this Feb 20, 2023
@dmolineus
Copy link
Member

Behoben in 3.2.4.

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

3 participants