[OpenLayers-Users] Outlinecolor for a vector line feature

Alexandre Dube adube at mapgears.com
Wed Sep 24 10:24:37 EDT 2008


At first, those lines are displayed in png with WMS.  At a scale of 
50000, they become WFS to be able to edit them with a modifyFeature 
control.  If I draw those features twice, will the first one follow the 
modifications made on the second one ?  Does both features share the 
same ID or are completely different ?

Alexandre

David Fawcett wrote:
> 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
>>
>>     
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>   


-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Users mailing list