diff --git a/src/os/ogc/spatial.js b/src/os/ogc/spatial.js index 6c1b524e3..85aa76eb8 100644 --- a/src/os/ogc/spatial.js +++ b/src/os/ogc/spatial.js @@ -22,7 +22,7 @@ os.ogc.spatial.Format = { /** * Convert an element containing a KML geometry to an ol.Feature. * - * @param {Element} element The element containing a KML geometry + * @param {Document|Element} element The element containing a KML geometry * @return {ol.geom.Geometry} The geometry * * @suppress {accessControls} Because OL3 decided not to let us use their code... diff --git a/src/os/ui/window.js b/src/os/ui/window.js index e5f600858..1f5bb9325 100644 --- a/src/os/ui/window.js +++ b/src/os/ui/window.js @@ -1227,6 +1227,8 @@ os.ui.WindowCtrl.prototype.onWindowResize_ = function() { this.element.removeClass('u-parent-resizer-xl'); } this.element.addClass(addClass); + + goog.dom.ViewportSizeMonitor.getInstanceForWindow().dispatchEvent(goog.events.EventType.RESIZE); } }; diff --git a/views/main.html b/views/main.html index 2e48a3b14..4153b0999 100644 --- a/views/main.html +++ b/views/main.html @@ -1,4 +1,4 @@ -
+