Re: [OpenLayers-Users] Changing Resolution in Spherical Mercator

2007-11-16 Thread Arnd Wippermann
Hi, if you want to use SphericalMercator with Google Maps, then you can only use the resolutions of Google Maps. They deliver their maps only in this resolutions. Mit freundlichen Grüssen Arnd Wippermann http://gis.ibbeck.de/ginfo/ _ Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [OpenLayers-Users] searching a feature with open layers

2007-11-16 Thread Arnd Wippermann
You can apply a filter to the WFS layer. WFSlayer.mergeNewParams({'filter' : yourFilter }); But this works only, if the filtered feature is visible in the current extent of the map. If you know the centerpoint of the features, you can set a new center for the map after applying the filter. Exam

Re: [OpenLayers-Users] How do I unselect a feature?

2007-11-16 Thread Jeff Dege
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Tim Schaub > Sent: Friday, November 16, 2007 11:37 AM > Cc: users@openlayers.org > Subject: Re: [OpenLayers-Users] How do I unselect a feature? > > Hey- > > Jeff Dege wrote: > > Clicking again on the

Re: [OpenLayers-Users] How do I unselect a feature?

2007-11-16 Thread Tim Schaub
Hey- Jeff Dege wrote: > Clicking again on the selected feature only appears to work on the > polygon and line feature types. Clicking on a selected point has no > effect. > > This can be demonstrated by trying it in examples/modify-feature.html. I just updated the select-feature.html demo to sho

[OpenLayers-Users] Custom control isn't working properly - how to unregister?

2007-11-16 Thread Pascal Ehlert
Hi mailing list! I'm trying to build my own control to enable the user to query some information depending on where he clicked. Now I'd like to add this control to my panel and change between normal navigation and query mode. Unfortunately there are two problems with it: The first is that the

[OpenLayers-Users] Changing Resolution in Spherical Mercator

2007-11-16 Thread Linda Rawson
I am using the following to define my map: options = { projection: "EPSG:900913", units: "m", maxResolution: 156543.0339, numZoomLevels: 18, maxExtent: new OpenLayers.Bounds(-20037508, -20037508, 20037508, 20037508.34) }; map = new OpenLaye

Re: [OpenLayers-Users] geo referenced image layer

2007-11-16 Thread Mike Adair
Try this? (-111.7, 40.3, -111.6, 40.4) swapping your min/max x values. Mike miles wrote: > Tim Schaub wrote: > >> Hey- >> >> miles wrote: >> >> >>> How can a simple jpeg image map be added as a layer(assuming the lat >>> long corner pts are known) so that clicking on the layer can

Re: [OpenLayers-Users] strange localisation of google layer when i move the map

2007-11-16 Thread Christopher Schmidt
On Fri, Nov 16, 2007 at 01:43:19PM +0100, S?bastien Geindre wrote: > > Hi all, > > > I have OL2.5 with google layer. > I draw my gml polygon on it. > > When i move the map, google layer is at the wrong place. > So the gml polygons seems to have moved, but they did not; they are at the > right

[OpenLayers-Users] strange localisation of google layer when i move the map

2007-11-16 Thread Sébastien Geindre
Hi all, I have OL2.5 with google layer. I draw my gml polygon on it. When i move the map, google layer is at the wrong place. So the gml polygons seems to have moved, but they did not; they are at the right position. Any idea ? -- Sébastien Geindre DPREVI/AERO/DEV sebastien.geindre __at__ m