|
@ -78,7 +78,7 @@ async function insertMarker(mapRef, ID, coordinate, icon) { |
|
|
var customIcon = L.divIcon({ |
|
|
var customIcon = L.divIcon({ |
|
|
className: 'marker-class', |
|
|
className: 'marker-class', |
|
|
html: \`<body>${icon}</body>\`,
|
|
|
html: \`<body>${icon}</body>\`,
|
|
|
iconSize: 70 |
|
|
|
|
|
|
|
|
iconAnchor: [30, 78], |
|
|
}); |
|
|
}); |
|
|
// Check if there is no other marker with same ID already in map
|
|
|
// Check if there is no other marker with same ID already in map
|
|
|
if (!(${ID} in markers)) { |
|
|
if (!(${ID} in markers)) { |
|
|