This commit is contained in:
parent
5883ca1639
commit
b9d4b1ff80
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
const icon = leaflet.icon({
|
const icon = leaflet.icon({
|
||||||
iconUrl: mapMarkerIcon,
|
iconUrl: mapMarkerIcon,
|
||||||
iconSize: [100, 100], // size of the icon
|
iconSize: [75, 75], // size of the icon
|
||||||
});
|
});
|
||||||
userMarker = leaflet.marker([latitude, longitude], {icon}).addTo(map);
|
userMarker = leaflet.marker([latitude, longitude], {icon}).addTo(map);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue