[OpenLayers-Users] attribute based styles

Roald de Wit list at rdewit.net
Sat Sep 24 17:34:11 EDT 2011


Hi,

Isn't it explained clearly enough further down?

"Once you have created a style object, it needs to be passed to a layer 
in order for it to be used. The StyleMap object should be passed as the 
layer’s ‘styleMap’ option"
http://docs.openlayers.org/library/feature_styling.html#using-style-objects

Regards, Roald

On 24/09/11 22:31, Mr. Puneet Kishor wrote:
> Thanks, that works. Perhaps the following should be corrected at [http://docs.openlayers.org/library/feature_styling.html]


More information about the Users mailing list