[OpenLayers-Users] Custom cotrol design problem

David Alda Fernandez de Lezea dalda at ikt.es
Tue Apr 27 04:08:59 EDT 2010


Hi list,

I've developed a simple control for my GIS viewer. It's a status bar in which I set some messages and the mouse position, with some options to change the display projection. It works OK, but the thing is that I want to avoid some controls to work when I'm over the status bar, for example the draggind event is working over the status bar or over the projection change form even though I set a z-index value higher than the rest elements. This happens also with the controls of the control panel. How can I do this?? See attached file.

Another thing I wanted to ask is that I've made this control using my coding style not using OpenLayers coding style, so what would be some guidelines or a 'how to' for developing a control in OpenLayers.

Thanks.

 
 
Un saludo,
 
··················································································

David Alda Fernández de Lezea
Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad
 
IKT
Granja Modelo s/n · 01192 · Arkaute (Araba)

··················································································
Tlfnos.: 945-00-32-95                         Fax: 945-00.32.90
··················································································
email: dalda at ikt.es                                web: www.ikt.es
··················································································
-------------- next part --------------
A non-text attachment was scrubbed...
Name: control.GIF
Type: image/gif
Size: 22507 bytes
Desc: control.GIF
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100427/6d017c57/control.gif


More information about the Users mailing list