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]
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
