hotfix: Marker key

This commit is contained in:
Johannes Lötzsch 2022-03-14 21:23:38 +01:00
parent 0870fd1b85
commit 3e18b45cd8
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ const LeafletMap = ({onBoundsChange}: LeafletMapProps) => {
/** TODO: Maybe a clustered marker would be helpfull, but we loose the possibility of showing the radius (display accuracy of the coordinate).
* Probably the best solution is showing Circle and clustered marker.
**/
<Circle key={m.id}
<Circle key={m.id + Math.random() /* Till we have unique ids from the db */}
center={[m.lat, m.lng]}
radius={m.radius}
pathOptions={{color: 'grey'}}>