|
|
@ -48,7 +48,7 @@ export default function OpenStreetMap({ |
|
|
|
markersList && |
|
|
|
mapRef && |
|
|
|
notEmpy(markersList) && |
|
|
|
markersList.forEach((val, key) => { |
|
|
|
markersList.forEach((val, _) => { |
|
|
|
insertMarker(mapRef, val.ID, val.coordinate, val.image); |
|
|
|
}); |
|
|
|
|
|
|
@ -56,7 +56,7 @@ export default function OpenStreetMap({ |
|
|
|
markersList && |
|
|
|
mapRef && |
|
|
|
notEmpy(markersList) && |
|
|
|
markersList.forEach((val, key) => { |
|
|
|
markersList.forEach((val, _) => { |
|
|
|
insertMarker(mapRef, val.ID, val.coordinate, val.image); |
|
|
|
}); |
|
|
|
}, [markersList]) |
|
|
|