Re: [OpenLayers-Users] Visibility of features in vector layer

2009-05-05 Thread Stefan Lischke
Hi Dave, That was also exactly my problem. Maybe there is another solution (i also would like to hear it) But i used Layer.setVisibility(boolean) to show/hide features. So you have to put the features on different layers. Hopefully someone will come up with a better solution Hth Stefan > Hi >

Re: [OpenLayers-Users] mousedown

2009-05-04 Thread Stefan Lischke
> Hi, > > I need to capture mousedown events on a Map. I'm using a > custom OpenLayers.Control.Click for click and dblclick. But, > Click does not appear to handle mousedown events. Any suggestions? Crazy, just as i wanted to answer you, my code handling mouse events also did not work. Are

Re: [OpenLayers-Users] Changing style of feature parsed by GeoJSON

2009-05-04 Thread Stefan Lischke
> On Mon, May 04, 2009 at 12:39:59PM +0200, Stefan Lischke wrote: > > > On Wed, Apr 29, 2009 at 05:16:50PM +0200, Stefan Lischke wrote: > > > > Hi, > > > > > > > > I desperatly try to change the style of a > > > > OpenLayers.Feature.

Re: [OpenLayers-Users] Changing style of feature parsed by GeoJSON

2009-05-04 Thread Stefan Lischke
> On Wed, Apr 29, 2009 at 05:16:50PM +0200, Stefan Lischke wrote: > > Hi, > > > > I desperatly try to change the style of a OpenLayers.Feature.Vector > > that i parsed with OpenLayers.Format.GeoJSON. Since i > cannot not give > > the style in the F

Re: [OpenLayers-Users] Quickly hiding and showing features

2009-04-29 Thread Stefan Lischke
Hi Nicholas, I had the same problem some minutes ago and i put my features on different layers and for every "slider step" i hide/show a corresponding layer. I did this whith calling layer.setVisibility() Hth Stefan -Ursprüngliche Nachricht- Von: users-boun...@openlayers.org [mailto:use

[OpenLayers-Users] Changing style of feature parsed by GeoJSON

2009-04-29 Thread Stefan Lischke
Hi, I desperatly try to change the style of a OpenLayers.Feature.Vector that i parsed with OpenLayers.Format.GeoJSON. Since i cannot not give the style in the Feature Constructor i'm searching for another way to do it. Is it possible to include the style atrributes within the GeoJSON? I tried to