Re: [OpenLayers-Users] How to change the style of the cursor when dragging/resizing/reshaping/rotating?

2009-09-14 Thread Eric Lemoine
On Thursday, September 10, 2009, cgp carina_pala...@forcorp.com wrote: I don't know what it's called, but you know when you click on a polygon (for example) there is a point that appears in the middle of it for you to click and drag? And then for resize/rotate, there is that same point that

[OpenLayers-Users] Secure WMS with OL

2009-09-14 Thread Vidal, Antoni
Hello list, In our organisation, We have interest to add a layer in our OL client with new information. We wolud like not allow WMS public access to this new layer, only for request from our client users. In OL + FF with firebug is possible to see the request to WMS services and then, user

Re: [OpenLayers-Users] How to Improve speed in IE when dealing with a lot of elements? Clusters?

2009-09-14 Thread Eric Lemoine
On Tuesday, September 8, 2009, Philip Bruvoll pbruv...@hotmail.com wrote: Hi, we have built an application with OpenLayers, and it seems we have too many elements in the map for IE to handle properly (works ok in FF and Chrome). Amongst other tings, we need to mark about 300 locations

Re: [OpenLayers-Users] How to Improve speed in IE when dealing with a lot of elements? Clusters?

2009-09-14 Thread François Van Der Biest
On Tue, Sep 8, 2009 at 9:34 AM, Philip Bruvoll pbruv...@hotmail.com wrote: Hi, we have built an application with OpenLayers, and it seems we have too many elements in the map for IE to handle properly (works ok in FF and Chrome). Amongst other tings, we need to mark about 300 locations (and

Re: [OpenLayers-Users] OpenLayer and the Spanish chara cters Ñ

2009-09-14 Thread Michael Shishcu
Hi, Paco Can you check if you have set correctly NLS_LANG environment variable for mapserver for example, if you use mapserver with apache in cgi mode, add to your conf file : Set NLS_LANG ... Regards, Michael 2009/9/2 Paco fgi...@hotmail.com Hello list, I`ve problemas with

Re: [OpenLayers-Users] Secure WMS with OL

2009-09-14 Thread Pavel Iacovlev
Yes, as a workground you can serve your WMS data through phpmapscript (or any other mapscript) and have a authentication page somewhere on your website that after successful authentication will create a session that will be use to decide to serve data or not. This solution works great for us, and

Re: [OpenLayers-Users] showing tooltip over a mapserver map

2009-09-14 Thread sunny74
Hi Christopher, A lack of preperation on your part does not constitute an emergency on my part. You are right.There is no emergency as such. I thought you had some idea about the libraries u mentioned, so u could pass on the same to me. Warm Regards, Sunny74 Christopher Schmidt-2 wrote: On

Re: [OpenLayers-Users] Secure WMS with OL

2009-09-14 Thread Christopher Schmidt
On Mon, Sep 14, 2009 at 12:51:26PM +0300, Pavel Iacovlev wrote: Yes, as a workground you can serve your WMS data through phpmapscript (or any other mapscript) and have a authentication page somewhere on your website that after successful authentication will create a session that will be use to

[OpenLayers-Users] Firefox 3.5.3 not displaying controls

2009-09-14 Thread Mike Quentel
On my laptop running Firefox 3.5.3 on Windows Vista Home edition, there is no problem viewing OpenLayers map viewer (for example, the one on the home page for OpenLayers.org). But on my Windows XP workstation, running Firefox 3.5.3, the map controls do not appear. Firebug says Error in

Re: [OpenLayers-Users] Dynamically refreshing a map built from a single image

2009-09-14 Thread ABB
Got my answer. In order to auto-refresh a single image, OpenLayers.Layer.WMS must be used with the singleTile option set to true. Thanks to Kenneth Skovhede (k...@geograf.dk) ABB wrote: Hello, I have a web service that returns a single PNG image from a given size/position. I'm

Re: [OpenLayers-Users] Secure WMS with OL

2009-09-14 Thread Ziegler Stefan
Hi there is a secure wms implementation from camptocamp: http://secureows.org/securewms/documentation/v1.1/whitepaper_documentati on_v1.1.pdf But it needs some additional stuff on the client side. regards Stefan -Ursprüngliche Nachricht- Von: Christopher Schmidt

Re: [OpenLayers-Users] using openlayers as map interfacefordownloading pdf maps

2009-09-14 Thread Arnd Wippermann
Hi, You can do it by using context und template for your style: var styleMapLabelZoom; function set_styleMapLabelZoom() { var context = { getFontSize : function(){ var diffZ = map.getZoom() - 14; return diffZ 0 ? 7 + 3*diffZ +px : 0px; },

Re: [OpenLayers-Users] Firefox 3.5.3 not displaying controls

2009-09-14 Thread Andreas Hocevar
Mike Quentel wrote: On my laptop running Firefox 3.5.3 on Windows Vista Home edition, there is no problem viewing OpenLayers map viewer (for example, the one on the home page for OpenLayers.org). But on my Windows XP workstation, running Firefox 3.5.3, the map controls do not appear.

Re: [OpenLayers-Users] HELP!!! How implement Filter in WMS Layer

2009-09-14 Thread fsalas
thank you Andeas for your help, but I continue with some problems and maybe you can be help me again. I do it this and nothing var bounds = new OpenLayers.Bounds( -85.49711392680179, 19.65266328193469, -73.59119430594814, 23.44530772150158

Re: [OpenLayers-Users] HELP!!! How implement Filter in WMS Layer

2009-09-14 Thread Andreas Hocevar
Hi, see my suggestions inline. fsalas wrote: thank you Andeas for your help, but I continue with some problems and maybe you can be help me again. I do it this and nothing var bounds = new OpenLayers.Bounds( -85.49711392680179, 19.65266328193469,

[OpenLayers-Users] GetFeatureInfo map.events.register for *many* WMS layers

2009-09-14 Thread cgp
I have about 10 or more WMS layers that I'm adding to the map. I'm using GetFeatureInfo to get values for each layer. So I have 10 of these: -- map.events.register('click', map, function (e) { if

Re: [OpenLayers-Users] GetFeatureInfo map.events.register for *many* WMS layers

2009-09-14 Thread Andreas Hocevar
Hi, Just remove the line OpenLayers.Event.stop(e); for all but the 1st layer. Regards, Andreas. cgp wrote: I have about 10 or more WMS layers that I'm adding to the map. I'm using GetFeatureInfo to get values for each layer. So I have 10 of these:

Re: [OpenLayers-Users] GetFeatureInfo map.events.register for *many* WMS layers

2009-09-14 Thread Ian Turton
You should probably use the same variable for the layers and query_layers parameters - there is some debate over whether they must match or not (GeoServer atleast requires all the query layers to be listed in the layers param). I'm also not quite clear as to why you can't roll all the layers in

Re: [OpenLayers-Users] GetFeatureInfo map.events.register for *many* WMS layers

2009-09-14 Thread cgp
How do you roll all the layers in to one request? All the examples that I've seen only have one layer at a time. Ian Turton wrote: You should probably use the same variable for the layers and query_layers parameters - there is some debate over whether they must match or not (GeoServer

Re: [OpenLayers-Users] GetFeatureInfo map.events.register for *many* WMS layers

2009-09-14 Thread Ian Turton
On Mon, Sep 14, 2009 at 3:47 PM, cgp carina_pala...@forcorp.com wrote: How do you roll all the layers in to one request? All the examples that I've seen only have one layer at a time. You can put as many layers in to each of the layers parameters as you want separated by commas. Ian --

Re: [OpenLayers-Users] GetFeatureInfo map.events.register for *many* WMS layers

2009-09-14 Thread cgp
Ah ok. That works well for making the code compact, but the click event grabs feature info for all the layers at the same time. I want it to only get the feature info if the layer is currently selected. That's why I have the condition if (map.layers[curr_layer_index].visibility==true) for each of

[OpenLayers-Users] .MapServer v. .WMS

2009-09-14 Thread P Kishor
Two questions -- 1. Given that I can query OpenLayers.Layer.WMS() just as easily as OpenLayers.Layer.MapServer(), is one preferred over the other? I feel I am getting a better response from OpenLayers.Layer.MapServer() over OpenLayers.Layer.WMS()... am I hallucinating, or should I do some

Re: [OpenLayers-Users] .MapServer v. .WMS

2009-09-14 Thread P Kishor
crap... went too soon. Please read on... On Mon, Sep 14, 2009 at 6:22 PM, P Kishor punk.k...@gmail.com wrote: Two questions -- 1. Given that I can query OpenLayers.Layer.WMS() just as easily as OpenLayers.Layer.MapServer(), is one preferred over the other? I feel I am getting a better