Skip to content

map clustering #12

@caseyg

Description

@caseyg

from aaron:

I love how the little map icons look now with images but i was thinking ahead and do you think it would look cluttered if we had a bunch of shows in manhattan for example and they might start to pile on top of each other and make it hard to navigate? Is that just something that we will have to deal with or would it make sense to make the icons smaller? I kinda like how big they are now. What do you think?

a little complex map stuff but should be fixable. Maps do get complicated when you have a lot off points, so there are ways of clustering points. I will look into what good solutions are out there. But no matter what kinds of markers you run into, you're going to end up having overlapping markers, and will probably have to figure out some kind of clustering solution. Especially if you want to plot points on the same spots over and over again.

clustering usually looks something like this

pastedgraphic-1

instead of individual points, you see a marker that shows you there are 16 points close to eachother, and clicking the cluster zooms you in enough so that the markers don't overlap.

for reference: https://github.com/Leaflet/Leaflet.markercluster

Here's a live example of clustering using the map script that I'm current using for Rodi http://leaflet.github.io/Leaflet.markercluster/example/marker-clustering-realworld.10000.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions