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

scale points instruction..? #2

Open
ianwren opened this issue Oct 14, 2010 · 6 comments
Open

scale points instruction..? #2

ianwren opened this issue Oct 14, 2010 · 6 comments

Comments

@ianwren
Copy link

ianwren commented Oct 14, 2010

I am having a hard time implementing the scale points behavior with openlayers plus and was wondering if there are any instructions for doing so? I am trying to scale points of a taxonomy based on node count but can't get anything to show up. If anyone could point me in the right direction I'd really appreciate it.

thanks a lot

@ianwren
Copy link
Author

ianwren commented Oct 27, 2010

I figured this out, which was really obvious after the fact. You need to first set up a view for your map --> edit the "OpenLayers Data: Style options" and identify the 'attributes and styling'. Note the name of the field that you want to scale your points to. ---> Go to Open Layers behaviors at admin/build/openlayers/presets/your open layer/edit and enter the scalable field in the 'fields' field. For example, node_count, rather than ${node_count} - do not include the $ or brackets. That should do it, but post again if you have problems

@shortthefomo
Copy link

thanks fletch11 saved me a bunch of hrs there :)

@mbajur
Copy link

mbajur commented Nov 15, 2011

@FLETCH11: i know that this issue is quite old but i'm not able to figure out how to set OpenLayers+ scalepoints settings to make them work.

First of all, i've checked Cluster behavior and it works fine. When i'm turning OL+ Scalepoint behaviour ON, and setting it's preferences as you described (i'm not quite sure what does field you want to scale your points to mean but i'm using for example name field. It's listed in attributes and styling section.) but no matter how i'll fill those fields, markers are not visible on my map. I coul'd allways use OpenLayers++ module but i really need this Minimum weight point to label functionality.

Thanks in advance :)

@ianwren
Copy link
Author

ianwren commented Nov 15, 2011

Not really sure what you're trying to do but it sounds like you're trying to cluster and scale the points at the same time, which I doubt is possible without some views magic.

@mbajur
Copy link

mbajur commented Nov 15, 2011

oh... i thought that the Scalepoints module can be used to change the clustered points size (the more points are clustered, the bigger point is). Can't it be ?

@ianwren
Copy link
Author

ianwren commented Nov 15, 2011

I'm not sure. As far as I know, the scaling feature can only be used to reflect the data in a particular field or, for example, the number of nodes associated with a point, or the quantitative variable expressed in a field.

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

3 participants