I'm using Open Layers to render map views as blocks, when i use quicktabs to make ajax requests, get the error below:

GET http://site.com/views/ajax?view_name=mapa_sedes
200 OK 374ms

http://openlayers.org/api/2.10/OpenLayers.js
OpenLayers.js (line 885) -> TypeError: this.center is null
if((zoomChanged)||(this.layerContainer...s.layerContainerDiv.style.top="0px";}

any idea?

Comments

ArielCamino’s picture

Component: Behaviors » OpenLayers Views
tmcw’s picture

Category: bug » support

This is most likely related to the upstream bug of OpenLayers not being able to properly initialize itself after pageloads, and maps in hidden elements not being able to judge their size. Is there a live example of this? It is a bit difficult to debug without any prior knowledge of quicktabs.

ArielCamino’s picture

thanks for your quick response, here is an example:

http://dev.filo.uba.ar/filodrupal/trunk/mapaprueba

light9’s picture

subscribe

zzolo’s picture

Component: OpenLayers Views » OL API
Status: Active » Closed (duplicate)