Re: [OpenLayers-Users] Implementing a layer for a proprietary WMS-like service

2010-08-04 Thread christopher.schmidt
On Aug 4, 2010, at 5:17 PM, ext Franz Buchinger wrote: > caching is difficult, because its a single-tile, dynamically generated map > image with a random url *ggrrr*. And the image isn't served directly, the > mapimage url is embedded into an xml response with some other data. > > Furthermore

Re: [OpenLayers-Users] Implementing a layer for a proprietary WMS-like service

2010-08-04 Thread Franz Buchinger
caching is difficult, because its a single-tile, dynamically generated map image with a random url *ggrrr*. And the image isn't served directly, the mapimage url is embedded into an xml response with some other data. Furthermore we desire a "dynamic" image layer behaviour (=transition effects of t

Re: [OpenLayers-Users] Implementing a layer for a proprietary WMS-like service

2010-08-04 Thread Bart van den Eijnden (OSGIS)
It does not seem an ideal design to me. Is there no way to provide caching (maybe by setting the correct http headers) so that the backbuffer tile will come from the browser's cache? Or are your async requests using POST and not GET? Best regards, Bart > I dropped my plans of extending ImageLaye

Re: [OpenLayers-Users] Implementing a layer for a proprietary WMS-like service

2010-08-04 Thread Franz Buchinger
I dropped my plans of extending ImageLayer...the getUrlAsync approach leads to the same problem than with GridLayer (multiple image requests during zoom/pan animation). However I have a new idea: what if I manage the layer through a control? It could perform the map request, parse out the map imag

Re: [OpenLayers-Users] Implementing a layer for a proprietary WMS-like service

2010-08-03 Thread Franz Buchinger
In my case, creating the single-tiled map is rather expensive - because the map image is generated "on-the-fly". Therefore, I want my layer to "anticipate" the map action (zoom, pan), just like the ImageLayer does. I actually had a well working implementation of my map viewer based on ImageLayers

Re: [OpenLayers-Users] Implementing a layer for a proprietary WMS-like service

2010-08-03 Thread christopher.schmidt
On Aug 3, 2010, at 9:42 AM, ext Franz Buchinger wrote: > Hi Bart, > > yes, I've set these options. I noticed that these multiple requests only > happen when I set transitionEffect: 'resize'. This is basically expected. The transition effect creates multiple tiles, and since creating images i

Re: [OpenLayers-Users] Implementing a layer for a proprietary WMS-like service

2010-08-03 Thread Franz Buchinger
Hi Bart, yes, I've set these options. I noticed that these multiple requests only happen when I set transitionEffect: 'resize'. I'm using OpenLayers 2.9.1. Franz 2010/8/3 Bart van den Eijnden (OSGIS) > Hi Franz, > > and have you verified you only have a single tile? > > Do you have singleTi

Re: [OpenLayers-Users] Implementing a layer for a proprietary WMS-like service

2010-08-03 Thread Bart van den Eijnden (OSGIS)
Hi Franz, and have you verified you only have a single tile? Do you have singleTile: true, ratio: 1 and buffer: 0 in your layer options? Best regards, Bart > Hi Bart, > > I'm almost done with my layer implementation. The only problem: my > getURLasync() Method gets triggered far too often (abo

Re: [OpenLayers-Users] Implementing a layer for a proprietary WMS-like service

2010-08-03 Thread Franz Buchinger
Hi Bart, I'm almost done with my layer implementation. The only problem: my getURLasync() Method gets triggered far too often (about 3x per pan/zoom action). How can I make sure that getURLasync is only triggered once per map action? Franz 2010/8/3 Bart van den Eijnden (OSGIS) > Hi Franz, >

Re: [OpenLayers-Users] Implementing a layer for a proprietary WMS-like service

2010-08-03 Thread Bart van den Eijnden (OSGIS)
Hi Franz, check out OpenLayers.Tile.Image. Best regards, Bart > Hi Bart, > > thanks for the fast and helpful response! > > One question though: which class actually invokes the methods > OpenLayers.Layer.ArcIMS.getUrl and OpenLayers.Layer.getUrlAsync? > > They seem to be overriden methods, but i

Re: [OpenLayers-Users] Implementing a layer for a proprietary WMS-like service

2010-08-03 Thread Franz Buchinger
Hi Bart, thanks for the fast and helpful response! One question though: which class actually invokes the methods OpenLayers.Layer.ArcIMS.getUrl and OpenLayers.Layer.getUrlAsync? They seem to be overriden methods, but i couldn't find them in OpenLayers.Layer.Grid or OpenLayers.Layer.HTTPRequest.

Re: [OpenLayers-Users] Implementing a layer for a proprietary WMS-like service

2010-08-03 Thread Bart van den Eijnden (OSGIS)
Hi, I would advise you to look at OpenLayers.Layer.ArcIMS which uses a similar approach. Best regards, Bart > Hi, > > I'm a frontend developer and was programming a web viewer for a > proprietary, > WMS-like map service. > I discovered Openlayers one month ago and I'm really fascinated by its >

[OpenLayers-Users] Implementing a layer for a proprietary WMS-like service

2010-08-03 Thread Franz Buchinger
Hi, I'm a frontend developer and was programming a web viewer for a proprietary, WMS-like map service. I discovered Openlayers one month ago and I'm really fascinated by its awesome capabilities, so I decided to integrate our map service in OpenLayers. Here is a short description how the map serv