pavel-corsaghin / react-native-leaflet

A LeafletView component using WebView and Leaflet map for React Native applications
MIT License
114 stars 46 forks source link

fix: own position marker should always have the same id #17

Closed 0x13b closed 2 years ago

0x13b commented 2 years ago

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. Please, also see old issue in the parent repository that had remained unaddressed until recently.