[OpenLayers-Users] Outlinecolor for a vector line feature

David Fawcett david.fawcett at gmail.com
Wed Sep 24 10:14:25 EDT 2008


I am guessing that Chris is suggesting that you do something like draw
the features once with a width of 7 in black and then draw them again,
on top of the first ones using a width of 5 and a color of red.

David.

On Wed, Sep 24, 2008 at 9:07 AM, Matthew Atkins
<Matthew.Atkins at loyola.com> wrote:
> Like a glow effect? Or an actual stroke around the line feature?
>
> The only hack/workaround that comes to mind would be to actually create a polygon that basically traces back along or around the original line feature ... but I'm not sure if that is really feasible (or wise). Maybe some other folks on this list will have better ideas.
>
> -----Original Message-----
> From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] On Behalf Of Alexandre Dube
> Sent: Wednesday, September 24, 2008 10:00 AM
> To: OpenLayers users mailing list
> Subject: [OpenLayers-Users] Outlinecolor for a vector line feature
>
> 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 ?
>
> --
> Alexandre Dubé
> Mapgears
> www.mapgears.com
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list