humphd / bridge-troll

Collect all the trolls living under Ontario's bridges
Other
3 stars 27 forks source link

Overlapping Markers #1

Open buttersnipps opened 6 years ago

buttersnipps commented 6 years ago

image Multiple markers get placed on top of each other.

Best solution would be to use Marker Clustering

humphd commented 6 years ago

Good point. I've been reworking the UI a bit today, and master looks like this at the moment:

screen shot 2018-03-13 at 9 28 02 pm

A few thoughts:

Someone do a PR!

humphd commented 6 years ago

Filed #3 to build on this with a mini-map view

buttersnipps commented 6 years ago

We can load marker based on the users current location and limit unnecessary api calls to Leaflet. Locking down the markers based on users location by setting a fix radius will be beneficial don't you think?

Taking into account the bigger picture , we can use a "discover" or "unlock markers" feature only if the user visited the location. eg . I cant sit at york and see the trolls in downtown Toronto .

I can start working on a something like this if you feel this would be a good idea.