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

Andreas Hocevar ahocevar at opengeo.org
Thu Feb 25 08:40:17 EST 2010


David Alda Fernandez de Lezea wrote:
> Nobody knows why this could be happening?

I suspect that it is a css problem. Make sure that you have included 
theme/default/style.css as css resource in your web page, and try to 
temporarily disable all other css definitions on your page to find the 
offending one.

Regards,
Andreas.


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


-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Users mailing list