Closed (duplicate)
Project:
Openlayers
Version:
6.x-2.0-alpha10
Component:
OL API
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
13 Jan 2011 at 16:19 UTC
Updated:
6 Nov 2011 at 10:13 UTC
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
Comment #1
ArielCamino commentedComment #2
tmcw commentedThis 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.
Comment #3
ArielCamino commentedthanks for your quick response, here is an example:
http://dev.filo.uba.ar/filodrupal/trunk/mapaprueba
Comment #4
light9 commentedsubscribe
Comment #5
zzolo commentedStill not fixed. Moving to newer ticket for 7.x. #1025708: Open Layers and Quicktabs (with ajax): TypeError: this.center is null