diff --git a/Server/app/svelte/public/js/communities.js b/Server/app/svelte/public/js/communities.js index 50256d4..ff5f3fa 100644 --- a/Server/app/svelte/public/js/communities.js +++ b/Server/app/svelte/public/js/communities.js @@ -34,7 +34,7 @@ export function addMarkersCommunities(map,content) { text += fieldText + g[field] + "
" } } - var greenIcon = new L.Icon({ + var markerIcon = new L.Icon({ iconUrl: 'https://raw.githubusercontent.com/pointhi/leaflet-color-markers/master/img/marker-icon-2x-red.png', shadowUrl: 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/images/marker-shadow.png', iconSize: [25, 41], @@ -42,7 +42,7 @@ export function addMarkersCommunities(map,content) { popupAnchor: [1, -34], shadowSize: [41, 41] }); - let marker = L.marker(coordinates, {icon: greenIcon}) + let marker = L.marker(coordinates, {icon: markerIcon}) marker.addTo(map).bindPopup(text) } } \ No newline at end of file diff --git a/Server/app/svelte/public/js/groups.js b/Server/app/svelte/public/js/groups.js index e78d9ec..b077811 100644 --- a/Server/app/svelte/public/js/groups.js +++ b/Server/app/svelte/public/js/groups.js @@ -48,7 +48,7 @@ export function addMarkersGroups(map,content) { text += fieldText + g[field] + "
" } } - var greenIcon = new L.Icon({ + var markerIcon = new L.Icon({ iconUrl: 'https://raw.githubusercontent.com/pointhi/leaflet-color-markers/master/img/marker-icon-2x-green.png', shadowUrl: 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/images/marker-shadow.png', iconSize: [25, 41], @@ -56,7 +56,7 @@ export function addMarkersGroups(map,content) { popupAnchor: [1, -34], shadowSize: [41, 41] }); - let marker = L.marker(coordinates, {icon: greenIcon}) + let marker = L.marker(coordinates, {icon: markerIcon}) marker.addTo(map).bindPopup(text) } } \ No newline at end of file diff --git a/Server/public/img/common/markers/marker-blue.png b/Server/public/img/common/markers/marker-blue.png new file mode 100644 index 0000000..0015b64 Binary files /dev/null and b/Server/public/img/common/markers/marker-blue.png differ diff --git a/Server/public/img/common/markers/marker-blue.webp b/Server/public/img/common/markers/marker-blue.webp new file mode 100644 index 0000000..e2adc1f Binary files /dev/null and b/Server/public/img/common/markers/marker-blue.webp differ diff --git a/Server/public/img/common/markers/marker-green.png b/Server/public/img/common/markers/marker-green.png new file mode 100644 index 0000000..c359abb Binary files /dev/null and b/Server/public/img/common/markers/marker-green.png differ diff --git a/Server/public/img/common/markers/marker-green.webp b/Server/public/img/common/markers/marker-green.webp new file mode 100644 index 0000000..be6df7e Binary files /dev/null and b/Server/public/img/common/markers/marker-green.webp differ diff --git a/Server/public/img/common/markers/marker-red.png b/Server/public/img/common/markers/marker-red.png new file mode 100644 index 0000000..1c26e9f Binary files /dev/null and b/Server/public/img/common/markers/marker-red.png differ diff --git a/Server/public/img/common/markers/marker-red.webp b/Server/public/img/common/markers/marker-red.webp new file mode 100644 index 0000000..e1ab8d6 Binary files /dev/null and b/Server/public/img/common/markers/marker-red.webp differ