[OpenLayers-Users] Need advice regarding styling vector points

Zer zer_matt at hotmail.com
Sat Mar 7 15:12:24 EST 2009




Arnd Wippermann wrote:
> 
> Hi,
> 
> You can use addUniqueValueRules to style your features on an attribute
> value. To change the visibility, you can generate new rules.
> 
> I have used this approach
> http://gis.ibbeck.de/ginfo/apps/OLExamples/OL26/examples/styles_unique_with_
> group.html
> 
> But with 1000 features there could be a performance problem.
> 
> Arnd Wippermann
> 
> 
> 


Hi!

Thanks, for your reply. I don't have a 1000 unique features, I have around
20 features with a attribute (value) ranging from 0 to 1000. I want to show
the features with attribute value 0-99 in one colour and the ones with
attribute values 100-1000 in another colour. And be able to toggle between
showing  just one of the groups  on the map, or both groups together. So
there are no unique values.

-Z
-- 
View this message in context: http://n2.nabble.com/Need-advice-regarding-styling-vector-points-tp2441146p2441820.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list