This commit is contained in:
a-ill
2023-07-10 17:37:04 +03:00
parent 2ef247304d
commit 07a266ff2a
6 changed files with 40 additions and 10 deletions

View File

@@ -35,7 +35,7 @@ export function addMarkersCommunities(map,content) {
}
}
var markerIcon = new L.Icon({
iconUrl: 'https://raw.githubusercontent.com/pointhi/leaflet-color-markers/master/img/marker-icon-2x-red.png',
iconUrl: 'https://www.libsoc.org/img/common/markers/marker-red.png',
shadowUrl: 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/images/marker-shadow.png',
iconSize: [25, 41],
iconAnchor: [12, 41],

View File

@@ -49,7 +49,7 @@ export function addMarkersGroups(map,content) {
}
}
var markerIcon = new L.Icon({
iconUrl: 'https://raw.githubusercontent.com/pointhi/leaflet-color-markers/master/img/marker-icon-2x-green.png',
iconUrl: 'https://www.libsoc.org/img/common/markers/marker-green.png',
shadowUrl: 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/images/marker-shadow.png',
iconSize: [25, 41],
iconAnchor: [12, 41],