[OpenLayers-Users] Layer style

Denis Rykov rykovd at gmail.com
Wed Oct 12 05:03:50 EDT 2011


As described in http://docs.openlayers.org/library/feature_styling.html -
style information can come from one of three sources:

   - A symbolizer hash set directly on the feature.
   - A symbolizer hash attached to a layer as layer.style.
   - A Style or StyleMap object attached to the layer as layer.styleMap.

Styling with styleMap works fine for me, but the secod exampe no - features
is not. Could anyone provide example of using "style" property of vector
layer.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111012/2622966b/attachment.html


More information about the Users mailing list