You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling LMap.zoomToContent() while the map is empty causes JavaScript errors on the client side:
SEVERE: Error in resize listener
com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'invalidateSize' of undefined
SEVERE: (TypeError) : Cannot read property 'addControl' of undefined
com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'addControl' of undefined
SEVERE: (TypeError) : Cannot read property 'setZIndex' of undefined
com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'setZIndex' of undefined
SEVERE: (TypeError) : Cannot read property 'addLayer' of undefined
com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'addLayer' of undefined
The getContentBounds() method returns an empty GeometryCollection, which seems to lead to Bounds with an infinity southeast coordinate in the zoomToExtent method (and therefore probably fails on the client side?):
Calling LMap.zoomToContent() while the map is empty causes JavaScript errors on the client side:
The getContentBounds() method returns an empty GeometryCollection, which seems to lead to Bounds with an infinity southeast coordinate in the zoomToExtent method (and therefore probably fails on the client side?):
Possible solution might be to add an
!contentBounds.isEmpty()
check to the zoomToContent() method?The text was updated successfully, but these errors were encountered: