Nadeflore / game-center-locator

1 stars 0 forks source link

New clustering #8

Open Nadeflore opened 4 years ago

Nadeflore commented 4 years ago

Instead of basic clustering, detect when several shop are on top of each other (depends on zoom level) and for each group, only display the shop with most games with a "+ n" next to it (n is the number of other shops located at the same location)

clicking on the plus (or the marker itself ?) zoom in so that the shop are displayed next to each other

No shop should have the exact same coordinates. If two shops are actually located at the exact same location (and are not duplicates) a pre processing on data should move the coordinates slightly so that at maximum zoom there are not displayed at the same location

Nadeflore commented 3 years ago

There is another issue with the lack of clustering :

when zooming out, the map becomes a mess of markers on top of each other, to sovle this, change style at lower zoom levels to display markers as simple points.