react-native-webview-leaflet icon indicating copy to clipboard operation
react-native-webview-leaflet copied to clipboard

when component refresh ownPositionMarker will create another copy of itself

Open Jheruz opened this issue 5 years ago • 3 comments
trafficstars

so what happen is, a bunch of ownPositionMaker being display and clustered to one position

Jheruz avatar Nov 09 '20 10:11 Jheruz

im also getting this behavior, did you find a solution?

jtalz avatar Aug 11 '21 15:08 jtalz

Too bad I did not, I just set the user location to normal marker

Jheruz avatar Aug 19 '21 08:08 Jheruz

The ownPositionMarker is a simple marker with a special id. When not provided explicitly, this id seems to be generated randomly, which results in ownPositionMarker being duplicated every time we update it. I suggested a fix in the child project.

0x13b avatar Mar 11 '22 16:03 0x13b