digging more into it I found out that the problem is in setBaseLayer function in the line that specifies map.setCenter(extent,zoom,false,true). In fact the problem is the true option in forceZoomchange which causes an infinate loop for me. The reason is that I have put the command setBaseLayer, inside a "zoomend" trigger. so The zoomend triggers the setBaseLayer command and vice versa. And I want forceZoomchange set to true (the 2 layers i use as baselayers have different zoomlevels there is no easy way out of this. Pretty complex problem. -- View this message in context: http://www.nabble.com/Google-endlessly-loading-with-LoadingPanel-addin-tp15944152p15949334.html Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
