[OpenLayers-Users] Styling a feature through drawFeature's constructor

Frost89 kristian_frost7 at hotmail.com
Wed Mar 10 03:49:26 EST 2010


An example of my use case could be that we have 5 different features in a
layer. Let's say it's:
powerlines (red lines),
sewerlines (blue lines),
telephone lines (dotted green),
trees (image/point)
and buildings (red polygons).

Then I thought that the easiest way would be to create 5 drawFeature
controls that controlled which feature is active.

Thanks for your answers both of you :)
- Kristian Frost
-- 
View this message in context: http://n2.nabble.com/Styling-a-feature-through-drawFeature-s-constructor-tp4674311p4707729.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list