Update
This commit is contained in:
@@ -34,7 +34,7 @@ export function addMarkersCommunities(map,content) {
|
|||||||
text += fieldText + g[field] + "<br>"
|
text += fieldText + g[field] + "<br>"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
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',
|
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',
|
shadowUrl: 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/images/marker-shadow.png',
|
||||||
iconSize: [25, 41],
|
iconSize: [25, 41],
|
||||||
@@ -42,7 +42,7 @@ export function addMarkersCommunities(map,content) {
|
|||||||
popupAnchor: [1, -34],
|
popupAnchor: [1, -34],
|
||||||
shadowSize: [41, 41]
|
shadowSize: [41, 41]
|
||||||
});
|
});
|
||||||
let marker = L.marker(coordinates, {icon: greenIcon})
|
let marker = L.marker(coordinates, {icon: markerIcon})
|
||||||
marker.addTo(map).bindPopup(text)
|
marker.addTo(map).bindPopup(text)
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -48,7 +48,7 @@ export function addMarkersGroups(map,content) {
|
|||||||
text += fieldText + g[field] + "<br>"
|
text += fieldText + g[field] + "<br>"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
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',
|
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',
|
shadowUrl: 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/images/marker-shadow.png',
|
||||||
iconSize: [25, 41],
|
iconSize: [25, 41],
|
||||||
@@ -56,7 +56,7 @@ export function addMarkersGroups(map,content) {
|
|||||||
popupAnchor: [1, -34],
|
popupAnchor: [1, -34],
|
||||||
shadowSize: [41, 41]
|
shadowSize: [41, 41]
|
||||||
});
|
});
|
||||||
let marker = L.marker(coordinates, {icon: greenIcon})
|
let marker = L.marker(coordinates, {icon: markerIcon})
|
||||||
marker.addTo(map).bindPopup(text)
|
marker.addTo(map).bindPopup(text)
|
||||||
}
|
}
|
||||||
}
|
}
|
BIN
Server/public/img/common/markers/marker-blue.png
Normal file
BIN
Server/public/img/common/markers/marker-blue.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
BIN
Server/public/img/common/markers/marker-blue.webp
Normal file
BIN
Server/public/img/common/markers/marker-blue.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
BIN
Server/public/img/common/markers/marker-green.png
Normal file
BIN
Server/public/img/common/markers/marker-green.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
BIN
Server/public/img/common/markers/marker-green.webp
Normal file
BIN
Server/public/img/common/markers/marker-green.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
BIN
Server/public/img/common/markers/marker-red.png
Normal file
BIN
Server/public/img/common/markers/marker-red.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
BIN
Server/public/img/common/markers/marker-red.webp
Normal file
BIN
Server/public/img/common/markers/marker-red.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
Reference in New Issue
Block a user