[OpenLayers-Users] ZoomBox Pan in two Mapdivs at the same time

2009-07-30 Thread Rahn Hanno (rahn)
Hello list, I have a problem with the zoomBox. In my Project I have two different map windows. The maps show the same but in different times. The Geometries are polygons. Now I try to realise a rectangle zoom with a button. For this I use the NavToolbar Control. This works fine for the

Re: [OpenLayers-Users] ZoomBox Pan in two Mapdivs at the same time

2009-07-30 Thread Kris Geusebroek
Hi Hanno, I think the easiest way is to let the button control only the first map and listen to all map events (or some specific events like panned or zoomed or even at a higher level bbox changed) of map1 and do that same event to map2 Cheers Kris From: users-boun...@openlayers.org

Re: [OpenLayers-Users] ZoomBox Pan in two Mapdivs at the same time

2009-07-30 Thread Alexandre Dube
Hi, Assuming your 'main' map is oMap and your 'second' map (that follows the main) is oMap2, the below code should do what you seek : oMap.events.register(moveend, null, function(e) {oMap2.panTo(e.object.getCenter())}); oMap.events.register(zoomend, null, function(e)

[OpenLayers-Users] other images for zoom buttons

2009-07-30 Thread Rahn Hanno (rahn)
Hello list, Just another short question. I use some Navigation Buttons. If I use the NavToolbar Control, I don't like the Images of the buttons. Is there a possiblility to use my own pictures for this buttons? A lot of thanks for your help again. Greetings Hanno Rahn

Re: [OpenLayers-Users] Restore feature's geometry

2009-07-30 Thread Alexandre Dube
Alexandre Dube wrote: Hi Eric, Eric Lemoine wrote: I tried to clone the feature + fid before modifications, then on cancel destroy the original feature and add the clone but it's obviously wrong to do so since it becomes unbound to its source. What do you mean by becomes

[OpenLayers-Users] Styling a point that is made up of multiple points

2009-07-30 Thread Dave Winfield
Essentially, on my maps, there are multiple things happening at the same exact location. Unfortunately right I can't tell that by looking at it (there's only one dot being shown) and I can only tell there's more than one thing happening when I click on it and do the getFeatureInfo request. Does

[OpenLayers-Users] Links from GPX tracks

2009-07-30 Thread James Davis
I'm a new user of OpenLayers, I'm using it to overlay GPX tracks onto OpenStreetMap tiles. One of the maps (http://www.littledog.org.uk/osm/all.html) presents several tracks and I'd like the reader to be able to follow links from those tracks to individual pages describing them. Perhaps using

[OpenLayers-Users] GetFeatureInfo in OpenLayers with no proxy?

2009-07-30 Thread Alexandre Leroux
Hi list, A simple question. In OL, can we do a GetFeatureInfo without setting up a Proxy? The http://trac.openlayers.org/wiki/GetFeatureInfo page doesn't mention the need of a proxy. Before you ask, everything is hosted on the same server (the data, the WMS server, OpenLayers and MapFish)

Re: [OpenLayers-Users] Links from GPX tracks

2009-07-30 Thread Christopher Schmidt
On Thu, Jul 30, 2009 at 03:24:26PM +0100, James Davis wrote: I'm a new user of OpenLayers, I'm using it to overlay GPX tracks onto OpenStreetMap tiles. One of the maps (http://www.littledog.org.uk/osm/all.html) presents several tracks and I'd like the reader to be able to follow links from

Re: [OpenLayers-Users] Styling a point that is made up of multiple points

2009-07-30 Thread Dave Winfield
I apologize I was not giving all the information. It IS a WMS layer and I'm using GeoServer. Can I use a Vector layer, and still smartly query the database to only show documents that would be seen on screen. I have a lot of points that come from the layer, and wouldn't want to always be

Re: [OpenLayers-Users] Styling a point that is made up of multiple points

2009-07-30 Thread Alexandre Dube
Dave Winfield wrote: I apologize I was not giving all the information. It IS a WMS layer and I'm using GeoServer. Can I use a Vector layer, and still smartly query the database to only show documents that would be seen on screen. I have a lot of points that come from the layer, and

[OpenLayers-Users] OL on Blackerry?

2009-07-30 Thread soatley
Has anyone had any experience working on developing an OL site that works with Blackberry devices? Shawn -- View this message in context: http://n2.nabble.com/OL-on-Blackerry--tp3357079p3357079.html Sent from the OpenLayers Users mailing list archive at Nabble.com.

Re: [OpenLayers-Users] GetFeatureInfo in OpenLayers with no proxy?

2009-07-30 Thread Eric Lemoine
On Thursday, July 30, 2009, Alexandre Leroux alexandre.ler...@ec.gc.ca wrote: Hi list, A simple question. In OL, can we do a GetFeatureInfo without setting up a Proxy? The http://trac.openlayers.org/wiki/GetFeatureInfo page doesn't mention the need of a proxy. Before you ask, everything

[OpenLayers-Users] boundedBy undefined with GML with defined boundedBy

2009-07-30 Thread Spirifer
Hello, I'm trying to get the boundedBy of a whole feature collection (in this example there is only on feature). I follow this exemple http://trac.openlayers.org/ticket/1613 var g = new OpenLayers.Format.GML.v2(options); var features = g.read(response.responseXML ||