Interactive interface for browsing global, full-resolution satellite imagery
Now forcing a manual "zoom end" call upon startup for proper zoom in/out button initialization
Ryan Boller09d8291b283a
diff --git a/js/mapSote.js b/js/mapSote.jsindex e8adc78e7..a88b4fb5d 100644--- a/js/mapSote.js+++ b/js/mapSote.js@@ -38,6 +38,9 @@ SOTE.widget.MapSote = function(containerId, config)this.map.events.register("movestart", this, this.handleMapMoveStart);this.map.events.register("zoomend", this, this.handleMapZoomEnd);+ // Force "zoom end" for widget init+ this.handleMapZoomEnd(null);+};