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

David Alda Fernandez de Lezea dalda at ikt.es
Thu Feb 25 10:01:21 EST 2010


 
Thanks for your response. I've tried what you told me but without success. I've made my own style to specify some different things, but I've got a demo app that I did some time ago with same style and it works on Chrome. It's something strange. In theory the style of the overview map is created dynamically, isn't it? I don't really know what to do. I'll give it a try in some days, and if it doesn't work I'll give up using it in chrome. Thanks anyway.

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/mapser
> v.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