Re: [OpenLayers-Users] Setting the color of a single vector

2008-08-05 Thread Arnd Wippermann
I use this code to change the style for selected features. //selected features get the new style function bunt() { var vlyr= opener.map.layers[opener.map.aktLayer]; //output=vlayer.name + ', isVector=' + vlayer.isVector; if(vlyr.isVector==true); { var objFs = vlyr.selected

Re: [OpenLayers-Users] Setting the color of a single vector

2008-08-05 Thread Eric Lemoine
On Tue, Aug 5, 2008 at 11:04 AM, Jani Patokallio <[EMAIL PROTECTED]> wrote: > Greetings, > > A very simple question, probably with a very simple answer, but I'm > having a devil of a time figuring it out... > > I have a PointTrack layer with a StyleMap attached to it. The StyleMap > says strokeCol