[OpenLayers-Users] Question about positioning a div over map

David Alda Fernandez de Lezea dalda at ikt.es
Thu Mar 4 08:40:50 EST 2010


Hello, thanks for your response.

> Is it possible for us to see a demo of your site?

Unfortunately, we don't have our site accesible from the internet, not yet.

> have you tried all the css style sheet of the PNG loaded on click?

* City Shortcut popup
--------------------------------------------------------------*/
#cityShortcut {
    width: 300px;
    height: 200px;
    background-image: url("images/popup_300x200.png");
    position:absolute;
    top:85px;
    left:70px;
    border-width:3px;
    z-index:2000;
    text-align: center;
}

I don't understand what you say here. Do you mean applying the sytle to the div dynamically, when the button is active?

-----Mensaje original-----
De: Ramón Boza [mailto:rboza at sitep.com] 
Enviado el: jueves, 04 de marzo de 2010 13:14
Para: David Alda Fernandez de Lezea; 'openlayers users'
Asunto: RE: [OpenLayers-Users] Question about positioning a div over map

Hello,

Is it possible for us to see a demo of your site?

I think so but, have you tried all the css style sheet of the PNG loaded on click?

* City Shortcut popup
--------------------------------------------------------------*/
#cityShortcut {
    width: 300px;
    height: 200px;
    background-image: url("images/popup_300x200.png");
    position:absolute;
    top:85px;
    left:70px;
    border-width:3px;
    z-index:2000;
    text-align: center;
}

I hope it helps you,
Best Regards.

-----Mensaje original-----
De: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] En nombre de David Alda Fernandez de Lezea Enviado el: jueves, 04 de marzo de 2010 12:56
Para: openlayers users
Asunto: [OpenLayers-Users] Question about positioning a div over map

Hello,

I'm trying to add a div over the map that is going to act as a search form, but when I add it, if I drag over the div the map keeps moving, and I want to avoid that, even though I set a z-index value of 2000 or 3000, etc. I want to accomplish something like the search button in this link:

http://dev4.mapgears.com/bdga/bdgaWFS-T.html

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
············································································
······
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users

Se certificó que el correo entrante no contiene virus.
Comprobada por AVG - www.avg.es
Versión: 9.0.733 / Base de datos de virus: 271.1.1/2710 - Fecha de la
versión: 03/03/10 20:34:00





More information about the Users mailing list