PageSourceSearch

https://www.neidenbach.de/media/com_dpcalendar/js/modules/map/marker.min.js?65028927

js neidenbach.de collected 2026-10-02 23:26:54 UTC 1,966 bytes, 6 lines download raw bytes

1/**
2 * @package   DPCalendar
3 * @copyright Digital Peak GmbH. <https://www.digital-peak.com>
4 * @license   https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
5 */
6function p(p,d,a){const e=d.latitude,n=d.longitude;if(null==e||""==e)return;if(null==p.dpmap)return null==p.dpCachedMarkers&&(p.dpCachedMarkers=[]),void p.dpCachedMarkers.push({data:d,dragCallback:a});d.color||(d.color="000000");const t={draggable:null!=a};t.icon=L.divIcon({className:"dp-location-marker"+(d.id?" dp-location-marker-"+d.id:""),html:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="#'+String(d.color).replace("#","")+'" d="M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z"/></svg>',iconSize:[25,30],iconAnchor:[10,35]});const r=L.marker([e,n],t),o=d.description?d.description:d.title;if(o){const p=r.bindPopup(o);r.on("click",()=>p.openPopup())}return a&&r.on("dragend",p=>a(p.target.getLatLng().lat,p.target.getLatLng().lng)),p.dpmap.dpMarkersCluster.addLayer(r),p.dpmap.dpMarkers.push(r),p.dpmap.dpBounds.extend(r.getLatLng()),p.dpmap.setView(p.dpmap.dpBounds.getCenter(),Math.min(p.dpmap.getBoundsZoom(p.dpmap.dpBounds),p.dpmap.getZoom())),r}function d(p){if(null==p||null==p.dpmap||null==p.dpmap.dpMarkers)return;p.dpmap.dpMarkers.forEach(d=>{p.dpmap.removeLayer(d),p.dpmap.dpMarkersCluster.removeLayer(d)}),p.dpmap.dpMarkers=[],p.dpmap.dpCachedMarkers=[],p.dpmap.dpBounds=new L.latLngBounds;const d=p.dpmap.dpElement.dataset;p.dpmap.panTo([d.latitude?d.latitude:47,d.longitude?d.longitude:4])}function a(p,d,a,e){d&&null!=p.dpmap&&(d.setLatLng([a,e]),p.dpmap.dpBounds=new L.latLngBounds,p.dpmap.dpMarkers.forEach(d=>p.dpmap.dpBounds.extend(d.getLatLng())),p.dpmap.panTo(p.dpmap.dpBounds.getCenter()))}export{d as clearMarkers,p as createMarker,a as moveMarker};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.