Dear OpenLayers Users, I'm creating a webMapping application where I'm using more than 85 layers...
my problem arises when I switch on the higher layers (86, 87, 88, an so
on...) and contemporary I click on the map to get a popup:
the popup appears under the layers!!!
It is a problem of z-index (as well explained in the openLayers FAQ) but
I can't figure which is the best way to solve this problem
Since I'm calling the popup by means of this call:
______________________
info_wms = new OpenLayers.Control.WMSGetFeatureInfo({
url: 'http://geoserver.irpi.cnr.it/geoserver/wms',
title: 'Identify features by clicking',
queryVisible: true,
eventListeners: {
getfeatureinfo: function(evento) {
mapPannello.map.addPopup(new
OpenLayers.Popup.FramedCloud(
"chicken",
mappa.getLonLatFromPixel(evento.xy),
null,
evento.text,
null,
true
));
}
}
});
mappa.addControl(info_wms);
info_wms.activate();
_____________________
is it possible to add to the eventListenerssomething something like
this :
viewport.getComponent('mapPannello').map.popups[0].div.style.setProperty("z-index","900")
?????
I have tried but without success.. :-(
can you suggest me some example or some old nabble discussion about this
problem?
many thanks
Ivan
--
Ti prego di cercare di non inviarmi files .dwg, .doc, .xls, .ppt.
Preferisco formati liberi.
Please try to avoid to send me .dwg, .doc, .xls, .ppt files.
I prefer free formats.
http://it.wikipedia.org/wiki/Formato_aperto
http://en.wikipedia.org/wiki/Open_format
Ivan Marchesini
Perugia (Italy)
Socio fondatore GFOSS "Geospatial Free and Open Source Software"
http://www.gfoss.it
e-mail: [email protected]
[email protected]
fax (home): +39(0)5782830887
jabber: [email protected]
skype: geoivan73
signature.asc
Description: Questa รจ una parte del messaggio firmata digitalmente
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
