[OpenLayers-Users] WMSGetFeatureInfo - page not found-message

2009-07-09 Thread Per S
When I use WMSGetFeatureInfo I get a page not found message (HTTP 404) from IIS, but when I paste the Url params below in the address field of a browser (Firefox or IE) a get a correct response. Part of the code (coming from Open Layers Feature Info Example): var infoControls = { click: new

Re: [OpenLayers-Users] Visibility of features in vector layer

2009-07-09 Thread Andreas Hocevar
hi, the reason why it does not work is that you are using Layer.WFS, which will load features for the visible extent after a pan/zoom. This means that your modified features get removed, and replaced by fresh ones from the server. I see that you set the visibility based on a feature attribute.

Re: [OpenLayers-Users] left click handler at OpenLayers.Handler.Drag

2009-07-09 Thread Andre Pereira de Matos
Hi, Yes, I put that property false in OpenLayers code, and I notice that when you open the box to zoom (shift + left mouse down + mouse move) the map moves too. Looking at the code, when that property is true it stops the chain event propagation (returns false, at event handler), and the map

[OpenLayers-Users] mr. OL, don't create the hidden layer tiles, please!

2009-07-09 Thread Pere Roca Ristol
hi all, I want to emulate LayerSwitcher actions of hide/show Base layers. I want to do it from another radio form. When user clicks Background layer A, layer B is hidden, and if user zooms, B tiles should NOT be created (I see them in Firebug) to increase performance. My problem is that these

Re: [OpenLayers-Users] mr. OL, don't create the hidden layer tiles, please!

2009-07-09 Thread bartvde
Hi, you should not use setVisibility on baselayers. Always use setBaseLayer on the map. Best regards, Bart hi all, I want to emulate LayerSwitcher actions of hide/show Base layers. I want to do it from another radio form. When user clicks Background layer A, layer B is hidden, and if

Re: [OpenLayers-Users] left click handler at OpenLayers.Handler.Drag

2009-07-09 Thread Eric Lemoine
On Thursday, July 9, 2009, Andre Pereira de Matos andre.ma...@co.sapo.pt wrote: Hi, Yes, I put that property false in OpenLayers code, and I notice that when you open the box to zoom (shift + left mouse down + mouse move) the map moves too. This is expected. Looking at the code, when

Re: [OpenLayers-Users] left click handler at OpenLayers.Handler.Drag

2009-07-09 Thread Andre Pereira de Matos
Thanks :) Now it works! Yes, I need to be notified when a mouse down occurres, because I have implemented a context menu control, and I need to close it when a left mouse down occurres over the map. Thanks again, Best Regards, André Matos -Original Message- From: Eric Lemoine

Re: [OpenLayers-Users] mr. OL, don't create the hidden layer tiles, please!

2009-07-09 Thread Pere Roca Ristol
yes, that is! thanks, Pere Pere Roca Ristol wrote: hi all, I want to emulate LayerSwitcher actions of hide/show Base layers. I want to do it from another radio form. When user clicks Background layer A, layer B is hidden, and if user zooms, B tiles should NOT be created

Re: [OpenLayers-Users] WMSGetFeatureInfo - page not found-message

2009-07-09 Thread Brent Pedersen
from: http://docs.openlayers.org/library/request.html In general, all communication initiated by OpenLayers.Request methods is restricted to the same origin policy: requests may only be issued with the same protocol, to the same domain, and through the same port as the document the code is running

[OpenLayers-Users] Question on the TYPE_BUTTON Control

2009-07-09 Thread Bill Thoen
I'm using a couple of buttons on a control panel to open and display dialog forms. I just need a pushbutton control to do this as it's a one-time action event --push the button and display the form to Create, Review, Update or Delete data i.e. I need a classic CRUD interface for a couple of

[OpenLayers-Users] Call function before control activate

2009-07-09 Thread soatley
I can't seem to find a way to call a function before a control is activated. What I am trying to do is record the currently active control before activating the new control. That way, when the control is done executing, the previous control can be re-activated. This would be useful for tools

[OpenLayers-Users] Different geometry type in same kml

2009-07-09 Thread Sajeer...
Hi, Is it possible to create a GML layer by using kml file which containing different geometry in same kml. I had tried it but it is not working for me. -- Regards Sajeer T.K. Mobile: +966-560362982 Email: sajeert...@gmail.com ___ Users mailing

Re: [OpenLayers-Users] Different geometry type in same kml

2009-07-09 Thread Nicholas Efremov-Kendall
Hi, I think you need to clarify what you're trying to do, because I'm not sure I understand the question. If you're using the GDAL tools, I don't see why you shouldn't be able to use one over the other. On Thu, Jul 9, 2009 at 4:26 PM, Sajeer... sajeert...@gmail.com wrote: Hi, Is it possible