Re: [OpenLayers-Users] SphericalMercator and SRS aliases epsg:900913, epsg:3857, epsg:3785, epsg:102113

2010-07-26 Thread Andreas Hocevar
Hi, what would people think about the following: layer.projection - the SRS to use in OpenLayers internally layer.params.SRS (or layer.params.CRS etc.) - the SRS to send to the server Currently, we overwrite params.SRS/CRS/... with layer.projection. Nobody says we have to. Opinions? Regards,

[OpenLayers-Users] Remove feature control needed

2010-07-26 Thread Vidal, Antoni
Hi list, I need a remove feature control to delete and remove a point, line or polygon drawn by user. Anybody has some code with this goal? Thank's in advance. Antoni Vidal Unitat d'Aplicacions SIG-WEB Institut Cartogràfic de Catalunya

Re: [OpenLayers-Users] Remove feature control needed

2010-07-26 Thread Bart van den Eijnden (OSGIS)
Hi, check out: http://trac.openlayers.org/ticket/1882 Best regards, Bart Hi list, I need a remove feature control to delete and remove a point, line or polygon drawn by user. Anybody has some code with this goal? Thank's in advance. Antoni Vidal Unitat d'Aplicacions SIG-WEB

Re: [OpenLayers-Users] Adding radiobuttons to LayerSwitcher

2010-07-26 Thread Mehmet Sirin
hi, that's exactly what I need! But I want use it with the layer-group function . So now I have layer-grouping via : http://www.cnblogs.com/iswszheng/archive/2009/12/15/1625069.html and additional radiobuttons via

[OpenLayers-Users] VirtualEarth pan problem

2010-07-26 Thread TAMER GUR
Hi all, I have problem in VirtualEarth , I have some markers and circle layers on my VirtualEarth ,in zoom level 0,1,2 when I pan the map my markers and circles are sliding independent from map when I increase the zoom level markers and circles relocate successfully. I think problem is

Re: [OpenLayers-Users] SphericalMercator and SRS aliases epsg:900913, epsg:3857, epsg:3785, epsg:102113

2010-07-26 Thread Arnd Wippermann
Hi Anne, I agree, something like 'projectionAlias' is better to understand than projection. Arnd -Ursprüngliche Nachricht- Von: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] Im Auftrag von Anne Blankert Gesendet: Montag, 26. Juli 2010 00:02 An:

Re: [OpenLayers-Users] Adding radiobuttons to LayerSwitcher

2010-07-26 Thread Arnd Wippermann
Hi, I wouldn't take code from that example. It's a terrible hack by me to get the functionality of set the active layer. I have only replaced the code of the OpenLayers.LayerSwitcher without the right understanding what's going on. Arnd _ Von: users-boun...@openlayers.org

[OpenLayers-Users] features jump around

2010-07-26 Thread ulao
I have a few features on my map and they tend to jump around after I move the map and let go of the mouse button. They stay glued well when dragging, its button up that makes it jump. The X is not bad, but the Y seems to jump about 100 px or so. what could I have wrong? -- View this message in

Re: [OpenLayers-Users] features jump around

2010-07-26 Thread christopher.schmidt
On Jul 26, 2010, at 11:00 AM, ext ulao wrote: I have a few features on my map and they tend to jump around after I move the map and let go of the mouse button. They stay glued well when dragging, its button up that makes it jump. The X is not bad, but the Y seems to jump about 100 px or

Re: [OpenLayers-Users] features jump around

2010-07-26 Thread ulao
ah then that explains it I had to remove that as it made the map still. Any idea why using sphericalMercator would cause the map to stay stationary and not allow moment? Zoom seems to load the right detail zoom layer but its always set to 0,0 and I can not move outside of that. here is what I

Re: [OpenLayers-Users] features jump around

2010-07-26 Thread christopher.schmidt
On Jul 26, 2010, at 11:55 AM, ext ulao wrote: ah then that explains it I had to remove that as it made the map still. Any idea why using sphericalMercator would cause the map to stay stationary and not allow moment? Zoom seems to load the right detail zoom layer but its always set to 0,0

Re: [OpenLayers-Users] features jump around

2010-07-26 Thread ulao
indeed that helped. now I set a point something like var proj = new OpenLayers.Projection(EPSG:4326); var point = new OpenLayers.LonLat(-71, 42); point.transform(proj, map.getProjectionObject()); how can I use getCenter so that it runs lot and lan. It seems now to return the transformed? --

Re: [OpenLayers-Users] Delete title in layerswitcher

2010-07-26 Thread sasamil
I am doing that this way: //Inheriting of OpenLayers.Control.LayerSwitcher MyLayerSwitcher.prototype = new OpenLayers.Control.LayerSwitcher; // Define sub-class MyLayerSwitcher.prototype.constructor = MyLayerSwitcher; function

[OpenLayers-Users] map with position:absolute not displayed in ie = 7

2010-07-26 Thread arno
Hi, I want to have displayed on the whole page except a 2em height footer. So, I've tried to set my css to : #map { position: absolute; top: 0; left: 0; right: 0; bottom: 2em; } It works fine in every browser I tested except in ie6 and ie7. For those browsers, I absolutely need to

Re: [OpenLayers-Users] map with position:absolute not displayed in ie = 7

2010-07-26 Thread christopher.schmidt
On Jul 26, 2010, at 5:35 PM, ext arno wrote: Hi, I want to have displayed on the whole page except a 2em height footer. So, I've tried to set my css to : #map { position: absolute; top: 0; left: 0; right: 0; bottom: 2em; } It works fine in every browser I tested except in

Re: [OpenLayers-Users] map with position:absolute not displayed in ie = 7

2010-07-26 Thread Nathan Gerber
Arno, I have also encountered this issue. The solution I came up with was to switch the div to position:fixed and to have a helper JavaScript function to resize the div every time the window changed size. If you plan on having items on the page other than just the map you may need to adjust your

[OpenLayers-Users] How to implement online spatial analysis

2010-07-26 Thread George Matt
Thank you so much Cédric for an elaborative reply. I want to perform online spatial analysis and show it on the map. (1) Suppose I enter a buffer zone in a textbox now I want to see how many parks are inside that buffer zone near my house. The parks inside the buffer zone should be