[OpenLayers-Users] vector points with variable sizes

Arnd Wippermann arnd.wippermann at web.de
Fri Feb 13 10:05:35 EST 2009


Hi Brad, 
 
Look at the OpenLayers example for styles-context.html.
 
Arnd Wippermann

  _____  

Von: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] Im
Auftrag von Brad Spencer
Gesendet: Freitag, 13. Februar 2009 00:46
An: 'openlayers users'
Betreff: [OpenLayers-Users] vector points with variable sizes



List,

 

I am loading up vector points (OL 2.6) from an external file just fine. As I
load them I vary the pointRadius of the default style by an attribute
factor. When I load these with an alert in the loop it gives me exactly what
I want. However, when you zoom in or out it reverts back to the default
size. I want to keep the variable sized vector circles once loaded.

 

Is there something that I need to do to fix these once they are drawn on the
map?

 

Cheers,

 

Brad..

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090213/67af8281/attachment.html


More information about the Users mailing list