Coder Social home page Coder Social logo

Comments (5)

mistyn8 avatar mistyn8 commented on August 16, 2024 1

Had another look and got a better setup with levels: [1, 4.25, 6.75, 8.25, 11.5, 14.5, 16.0, 16.5, 20.0],
rather than the default levels: [1, 3.5, 5, 8.25, 11.5, 14.5, 16.0, 16.5, 20.0],

Also have a better understanding of levels.. which basically work alongside geohash and matching substring of chars.
(with overriding limits of google map zoom 1 -> 19 and only 12 levels available)

I think some of the issue here is that geohash inherently limits proximity due to 12chars when encoded...

km

1 ± 2500
2 ± 630
3 ± 78
4 ± 20
5 ± 2.4
6 ± 0.61
7 ± 0.076
8 ± 0.019
9 ± 0.0024
10 ± 0.00060
11 ± 0.000074

So a little arbitrary when trying to match to zoom levels?

from google_maps_cluster_manager.

bpillon avatar bpillon commented on August 16, 2024

Hello Mike. Indeed the values I use as default are completely arbitrary and based on few tests. Is the rendering OK now with your new values ? May be I could update the default ones with yours.

from google_maps_cluster_manager.

mistyn8 avatar mistyn8 commented on August 16, 2024

feel free, seems to work better for our needs.

FYI some user testing feedback for you
I am having to explain why the difference from the previous incarnation which was based on Fluster.
Geohash seems much more performant, but some users are a little unnerved by the clustering changing when panning viewport, as opposed to fluster where clusters remain constant when panning.

from google_maps_cluster_manager.

bpillon avatar bpillon commented on August 16, 2024

I have trouble understanding exactly what you mean by "panning" ? You have a use-case where your map view size is changing ?

from google_maps_cluster_manager.

mistyn8 avatar mistyn8 commented on August 16, 2024

panning the map around (dragging without zoom)

from google_maps_cluster_manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.