Hi,
I'm having some troubles with overviewMap control and chrome, when I click (+)
to expand the control, it appears on the left top corner of the control, on the
right bottom corner of the map, and I can´t see what's in it. I've read
something about this problem related with chrome and using layer.clone() but
the example of the openlayers webpage works perfect with chrome, and also the
layer I'm using with the overview map is a totally different layer. In fact
it's not added to the map. My code:
var wms = new
OpenLayers.Layer.WMS("mapOverView","http://192.168.1.65/cgi-bin/mapserv.exe?map=../htdocs/MFD/ejemplo_wms.map",
{layers: 'mapOverView',format: 'image/png; mode=24bit',alpha :
'true',transparent: 'true'},{isBaseLayer: true,projection: 'EPSG:23030',units:
'm'});
var opt = {mapOptions: {projection: new
OpenLayers.Projection("EPSG:23030"),units: 'm',numZoomLevels: [1],maxExtent:
new OpenLayers.Bounds(460000, 4710000, 610000, 4820000), maxResolution:
'auto'}, layers: [wms]};
var ovmCtrl = new OpenLayers.Control.OverviewMap(opt);
What could be happening??
TIA.
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: [email protected] web: www.ikt.es
··················································································
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users