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

Eric Lemoine eric.lemoine at camptocamp.com
Tue Mar 9 17:21:33 EST 2010


On Tue, Mar 9, 2010 at 3:53 PM, Frost89 <kristian_frost7 at hotmail.com> wrote:
>
> Is there no way to set it in the drawFeature control's constructor?

How about using a StyleMap in your layer?

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list