Re: [OpenLayers-Users] Single Tile for the entire Map bounds

2010-08-04 Thread Armin Burger
> Subject: [OpenLayers-Users] Single Tile for the entire Map bounds > Hello Group, > > Is it possible to have a single map tile ( WMS and/or other map services ) > in OpenLayers ?? I want to have a single tile for the whole bounds I set > for > the map. Also, when I zoom in , out or pan the map

[OpenLayers-Users] Problem with Google layers positioning after map resize

2010-07-15 Thread Armin Burger
Hello I stumbled over a problem with Google layers and a map resize that looks similar to the one described here: http://trac.openlayers.org/ticket/1797 The problem appears if I have a Google layer activated, then switch to another non-Google base layer, change the map size via a GUI functiona

Re: [OpenLayers-Users] jquey & open layers

2010-04-03 Thread Armin Burger
Beppe I would try to first load the jquery files and then OL and see if it works fine then with both libraries. armin On 03/04/2010 01:55, beppe wrote: > Hi all, > I'm using ol with jquery and I've seen that if I include jquery library > in my page, controls disappear (panzoom, mouseposition ..

Re: [OpenLayers-Users] Control TYPE_TOOL and trigger event

2010-03-16 Thread Armin Burger
Just in case someone might be interested in the sort of solution I got for this issue: The only way I found was to modify the OL source code for the Control.Panel object. Under the method 'activateControl' I added the lines if (control.type == OpenLayers.Control.TYPE_TOOL) { if (control.tr

Re: [OpenLayers-Users] Control TYPE_TOOL and trigger event

2010-03-15 Thread Armin Burger
It is defined as OpenLayers.Control.RectangleBox = OpenLayers.Class(OpenLayers.Control, { type: OpenLayers.Control.TYPE_TOOL, armin On 15/03/2010 21:05, Frost89 wrote: > > You should check if the control has an actual type (using your favorite > debugger). If it is null then it might be ne

Re: [OpenLayers-Users] Control TYPE_TOOL and trigger event

2010-03-15 Thread Armin Burger
Kristian thanks for the reply. I already tried adding an activate() method. This method was called after click, but then the button was not activated as tool. The previously activated button in the panel was visually deactivated, but it's state remained active. armin On 15/03/2010 20:33, Fros

[OpenLayers-Users] Control TYPE_TOOL and trigger event

2010-03-15 Thread Armin Burger
Hi all I would like to define a control that draws a box. I used as template the ZoomBox control. In addition to the zoombox tool I would need to launch a function when the tool is activated. Controls TYPE_BUTTON have a trigger method for this. For controls TYPE_TOOL a defined trigger metho

[OpenLayers-Users] Layer.Grid.destroy() and Google Chrome

2010-03-08 Thread Armin Burger
Hi all I'm currently trying to test OpenLayers for an application with a catalogue search interface. The layer which is queried is based on PostGIS and retrieved from OL as WMS layer based on Mapserver/MapScript. The search parameters chosen by the user are defining dynamically the filter for

[OpenLayers-Users] Drawing "Area of Interest" rectangle

2010-03-07 Thread Armin Burger
Hi all I'm looking for a possibility for a tool that allows a user to draw a rectangle on the map that is used as area of interest for a spatial query. The rectangle should persist on the map so the user still sees for which region he was searching. I tried a Control.DrawFeature with a Handler

Re: [OpenLayers-Users] Limit tiles retrieved from a WMS to viewport extent

2010-01-28 Thread Armin Burger
Thanks, works perfect. I had not noticed that WMS inherits from Grid class instead of Layer. armin On 28/01/2010 22:14, Christopher Schmidt wrote: > On Thu, Jan 28, 2010 at 09:47:17PM +0100, Armin Burger wrote: >> Hi everybody >> >> I noticed that after zooming in/out

[OpenLayers-Users] Limit tiles retrieved from a WMS to viewport extent

2010-01-28 Thread Armin Burger
Hi everybody I noticed that after zooming in/out OL requests much more tiles from eg. a WMS server than are needed to show in the map container/viewport. That means also tiles really far away from the geographical area currently visible on the map are downloaded. I understand that in most cases