Closed (won't fix)
Project:
Openlayers
Version:
7.x-2.x-dev
Component:
OL API
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2010 at 15:41 UTC
Updated:
9 Jul 2012 at 06:07 UTC
There is a great feature in the 6.x-2.x version called: Clusters. (http://drupal.org/node/805264) I would propose to make it even better and add numbers to the clusters. Example: http://chicago.everyblock.com/. That way a user can see how many dots are hiding behind a cluster.
Comments
Comment #1
strk commentedA similar visual feedback of "how many points in cluster" I'm obtaining trough dynamic style plugin (I have each cluster size be somewhat proportional to number of features in cluster). Unfortunately dynamic styles are still not officially in the repository.
See http://drupal.org/node/710908
Chances are numbers can also be done that way, but it'd need some more research to tell (ie: OL and labels ?)
Comment #2
tmcw commentedThe OpenLayers Plus module provides numbers in clusters for views-side grouping rather than clustering, but if you're using views-side grouping, it's decent and handles a few of the gotchas, like not putting numbers in too-small points.
Comment #3
ckreutz commented@strk and @tmcw thanks a lot! I saw Openlayer plus module in action on a managing news website. Looks terrific. Could not get it running yet, but alone the Blocktoggle Behaviour is very helpful. So far when I activate Scalepoints all markers disappear. Thanks once again. Openlayers rocks!
Comment #4
zzolo commentedHi @ckreutz, please feel free to comment more if needed. But overall, this is an interface request that is probably outside the scope of this module (though a cool feature), and will be achievable when variable styles get committed, so closing for now.
Comment #5
davidhk commented@strk, is the 'dynamic style plugin' you describe available to download please? I think it will solve our similar problem, or at least provide a good foundation for learning how to build our own dynamic style plugin.
The STYLE_PLUGINS.txt already looks detailed, but starting from a working example is even better.
Thanks & regards, David
Comment #6
strk commented@gwulo: it's in the dolpp (Drupal Openlayers Plus Plus) module on github:
https://github.com/strk/dolpp
I'd think would be worth to port the cluster-related style plugins to core, btw.
But have no time for search&replace strings.
Comment #7
davidhk commented@strk, Thanks very much. I've installed it and it does just what I was looking for.
Comment #8
ano1 commentedCan anyone tell me how to enable the cluster_radius_plugin on my map, I have checked every OpenLayers setting page I can think of but fail to see any new clustering options. I can see in cluster_radius_plugin.inc, what fields I should look for in the UI, but can't locate them. Thanks in advance for the help.
Update: Question moved to githut issue queue at https://github.com/strk/dolpp/issues#issue/1
Comment #9
zzolo commentedHi @ano1. Your question is for the DOLPP module which is on Github: https://github.com/strk/dolpp
Can you please move your questions there. Many thanks.
Comment #10
Mujtaba Ahmed commentedI want to add cluster with number like this site. http://www.flyfishmap.com/
so that the map does not get messy.