Re: [OpenLayers-Users] dynamic SLD for WMS layer

2009-05-04 Thread Brad Spencer
Saj, I just build the SLD in a server-side PHP script, save the file and apply it. Probably not the best way to do it but it works a treat for me. Cheers, Brad... -Original Message- From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] On Behalf Of saj Sent: Monday, M

[OpenLayers-Users] LonLat capture from click problem with IE zoom

2009-05-04 Thread Tara Athan
I am reposting this because it somehow got linked with an existing thread, rather than starting a new one. Sometime ago, about a year I think, I built an OpenLayers page to capture a mouse

Re: [OpenLayers-Users] mousedown

2009-05-04 Thread Greg Ederer
Hmm. Nope, mine's local 2.7. Thanks! Greg On May 4, 2009, at 11:17 AM, Stefan Lischke wrote: >> 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 suggest

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] mousedown

2009-05-04 Thread Greg Ederer
For reference, here's my code so far: OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, { defaultHandlerOptions: { 'single': true, 'double': false, 'mousedown' : false, 'pixelTolerance': 0, 'stopSingle': false,

[OpenLayers-Users] mousedown

2009-05-04 Thread Greg Ederer
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? Thanks! Greg ___ Users mailing list Users@openlayers.org

Re: [OpenLayers-Users] dynamic SLD for WMS layer

2009-05-04 Thread saj
Hi , Hope you got a solution for adding filters to the active SLD on fly, even I got stuck with the same problem, it would be very helpful for me if you can suggest a solution with the code segment for the same. Thanks floflo wrote: > > hi, > > I use a WMS polygon layer and want to appl

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

2009-05-04 Thread Christopher Schmidt
On Mon, May 04, 2009 at 01:00:59PM +0200, Stefan Lischke wrote: > > 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 > > > > > OpenLay

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.Vector that i parsed with > > > > OpenLayers.Format.GeoJSON. Si

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

2009-05-04 Thread Christopher Schmidt
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.Vector > > > that i parsed with OpenLayers.Format.GeoJSON. Since i > > cannot not

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 Feature Constructor i'm searching for > another

Re: [OpenLayers-Users] Performance and Memoryusage measuring: How To

2009-05-04 Thread Peter Peterse
Hello, I've used sIEve to check memory leaks. Goodluck with it. Peter > Hi all, > > > > I've written an app with openLayers and Geoserver and created a lot of > functions in javascript. > > I want to measure performance and see if no memoryleaks are introduced

[OpenLayers-Users] Performance and Memoryusage measuring: How To

2009-05-04 Thread Kris Geusebroek
Hi all, I've written an app with openLayers and Geoserver and created a lot of functions in javascript. I want to measure performance and see if no memoryleaks are introduced by me ;-) What is the best/easiest way to measure these things (in IE at least since client depends on IE) Chee

[OpenLayers-Users] KML refresh

2009-05-04 Thread Peter Peterse
Hello, I'm trying to refresh my KML file in OL. There are two issues: * blinking when the new KML is loaded. * memory leak in IE. With blinking i mean. When I load the new KML the old KML is unloaded and will disapear, then the new KML is loaded and viewed. This look like the view is blinked. I'v