[OpenLayers-Users] Outlinecolor for a vector line feature
Andreas Hocevar
ahocevar at opengeo.org
Wed Sep 24 16:57:12 EDT 2008
Christopher Schmidt wrote:
> On Wed, Sep 24, 2008 at 10:00:24AM -0400, Alexandre Dube wrote:
>
>> 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...)
>
Yes, that's true. The plan is to allow for multiple symbolizers for one
feature, so you could draw e.g. a thin black line on top of a thick
yellow one. This would also be a step towards better SLD support.
Unfortunately, there was neither enough time nor interest from others
until now to start working on it.
Regards,
Andreas.
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list