[OpenLayers-Users] Outlinecolor for a vector line feature

Christopher Schmidt crschmidt at metacarta.com
Wed Sep 24 10:05:22 EDT 2008


On Wed, Sep 24, 2008 at 10:00:24AM -0400, Alexandre Dube wrote:
> Hi list,
> 
>   Can a vector line feature has an outline color of some kind ?  
> Polygons use strokeColor for their outline color and fillColor for their 
> color, is there a way to do something similar with a line feature ?

Nope. You can duplicate all your features though, and do two different
styles. (This type of functionality being built in is one of the things
I've heard TOPP people mention as one of those things they wish they
had, I think...)

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list