Tage in Zeitraum
Karte anzeigen Liste anzeigen
<div id="fewo-liste" class="col-lg-12 float-left"> <div id="fewo-listmap"> <div id="map" class="fewo-listmap" style="height:600px;"></div> <script> jQuery(document).ready(function() { let tiles = L.tileLayer('roadmap', { maxZoom: 18, scrollWheelZoom: false, attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>, Service <a href="https://www.fewo-verwalter.de" target=_blank">Fewo-Verwalter</a>' }); let latlng = L.latLng(39.83071, 3.113583) let map = L.map('map', { center: latlng, zoom: 14, layers: [tiles], }); let markers = L.markerClusterGroup({ chunkedLoading: true }); let markerList = []; markers.addLayers(markerList); map.addLayer(markers); try { var bounds = markers.getBounds(); if (bounds) { map.fitBounds(bounds); } } catch(err) { // pass } map.on('mouseout',function() { map.scrollWheelZoom.disable(); }); function clickZoom(e) { map.setView(e.target.getLatLng()); } }); </script> </div> </div>