[fusion-commits] r2923 - sandbox/adsk/3.1n/lib/OpenLayers
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Mon Mar 7 17:31:54 PST 2016
Author: liuar
Date: 2016-03-07 17:31:53 -0800 (Mon, 07 Mar 2016)
New Revision: 2923
Modified:
sandbox/adsk/3.1n/lib/OpenLayers/OpenLayers.js
Log:
Fix the issue that Google street base layer cannot be loaded.
Modified: sandbox/adsk/3.1n/lib/OpenLayers/OpenLayers.js
===================================================================
--- sandbox/adsk/3.1n/lib/OpenLayers/OpenLayers.js 2016-02-29 01:26:10 UTC (rev 2922)
+++ sandbox/adsk/3.1n/lib/OpenLayers/OpenLayers.js 2016-03-08 01:31:53 UTC (rev 2923)
@@ -41139,10 +41139,10 @@
if (!cache.rendered) {
var me = this;
google.maps.event.addListenerOnce(this.mapObject, 'tilesloaded', function() {
- cache.rendered = true;
me.setGMapVisibility(me.getVisibility());
me.moveTo(me.map.getCenter());
});
+ cache.rendered = true;
} else {
map.div.appendChild(container);
cache.googleControl.appendChild(map.viewPortDiv);
More information about the fusion-commits
mailing list