Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This isn't really the correct forum for this request but I was wondering if anyone was familiar with the scale points behavior in openlayers plus? I am trying to scale points of a taxonomy based on node count but can't get anything to show up. Has anyone successfully implemented this?
thanks a lot
Comments
Comment #1
zzolo CreditAttribution: zzolo commentedHi @fletch11. Though @tmcw is the main developer on that project and one of the main developers here, it is more appropriate to keep those issues on the appropriate project:
http://github.com/developmentseed/openlayers_plus/issues (may have to create an account to post an issue, not sure)
Comment #2
fletch11 CreditAttribution: fletch11 commentedThanks. I hadn't seen any issues posted there so I thought I'd try there but I'll be sure to head over to github
Comment #3
vhwouter CreditAttribution: vhwouter commented@fletch11
Did you have any luck with that?
When I look at the options, I just have to define a field..
but I can't seem to find how I create this attribute. My goal is to make the radius of the point ,which presents a cluster, to grow with every extra added point to this cluster.
So you define in the map cluster -> Distance 15 Threshold 2
And when it finds clusters, the point grows.
Thx in Advance.
Comment #4
tmcw CreditAttribution: tmcw commentedvhwouter: it sounds like you're talking about cluster, not scalepoints, and the two are not compatible.
Comment #5
vhwouter CreditAttribution: vhwouter commentedtmcw,
Thank you for the quick response:
So this example is not possible without some coding? => http://openlayers.org/dev/examples/strategy-cluster.html
I've also noticed that you and strk recently added some dynamic styles functionality => is it possible with that?
grtz
Comment #6
zzolo CreditAttribution: zzolo commentedHi @vhwouter. Yes, with the new style plugins, you will be able to do something like this. It is currently in the dev version, and there should be an example in the openlayers_test module. You will have to write code for this.
Comment #7
vhwouter CreditAttribution: vhwouter commented@ zzolo
Thx for the reply, I'm going to look into it.
Comment #8
strk CreditAttribution: strk commentedThe OpenLayers Plus Plus module contains a style plugin for scaling cluster points: https://github.com/strk/dolpp