[OpenLayers-Users] RV: RV: Problems with overview map and Chrome

David Alda Fernandez de Lezea dalda at ikt.es
Thu Feb 25 04:38:51 EST 2010


Nobody knows why this could be happening?

-----Mensaje original-----
De: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] En nombre de David Alda Fernandez de Lezea
Enviado el: miércoles, 24 de febrero de 2010 10:00
Para: openlayers users
Asunto: [OpenLayers-Users] RV: Problems with overview map and Chrome

I forgot to note that this works in FireFox 3.6 and IE8.

-----Mensaje original-----
De: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] En nombre de David Alda Fernandez de Lezea Enviado el: martes, 23 de febrero de 2010 17:34
Para: openlayers users
Asunto: [OpenLayers-Users] Problems with overview map and Chrome

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



More information about the Users mailing list