Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When spidering markers at edge of screen, move the map to show them #22

Open
danzel opened this issue Jul 29, 2012 · 5 comments
Open

When spidering markers at edge of screen, move the map to show them #22

danzel opened this issue Jul 29, 2012 · 5 comments

Comments

@danzel
Copy link
Member

danzel commented Jul 29, 2012

No description provided.

@ghoffa
Copy link

ghoffa commented Dec 13, 2012

My two cents for what its worth,

Interesting feature but I'm not sure I would use in my app because ever time the map moves a lot happens. Many times the map extents are used as input parameters to a new database call which populates the map. In a worse case scenario a map move could change the way we render our markers so that the cluster in question wouldn't even be available.

@stevevance
Copy link

@ghoffa Consider this: When you tap a marker to open its popup info window, the map pans if necessary to show the info window. Are the "movestart" and "moveend" events fired with this? If that happens, then it's possible to pan the map without firing the event that I presume causes your map to run some functions.

@ghoffa
Copy link

ghoffa commented Dec 14, 2012

errr.... yes. @stevevance That is true. So ... I'm taking it back. The aforementioned popup behavior works nicely on my application, so I suspect this feature would too.

@j-r-t
Copy link

j-r-t commented Jun 26, 2015

@danzel Basically autopan isn't it? Has this been implemented? I saw this behaviour in PruneCluster and I'm wondering if this functionality is available in markercluster? http://sintef-9012.github.io/PruneCluster/examples/realworld.50000.html

ETA: It's quite an awesome feature.

@anatel
Copy link

anatel commented Sep 23, 2020

Would also like this feature, is it possible to achieve this behavior in some other way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants