Differentiate Markers from React-Native-maps that have the same coordinates

Asked

Viewed 15 times

-1

I am mounting a map that will draw multiple markers( Marker). However, it is possible that some markers have the same coordinates.

Testing the application, I noticed that markers that have the same coordinates are being overwritten.

Ex: 
coord1 : latitute: 10 , longitude:20
coord2 : latitude: 10 , longintude:20
coord3 : latitude: 40 , longitude:50

Only coord2 and coord3 markers were visible on the map. Therefore, coord1 was overwritten by coord2. Does anyone know any alternative to treat this problem?

1 answer

0

I ended up giving a solution to adjust the Marker. I moved the superimposed Marker 0.001 of latitude and longitude.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.