Remove unneeded type cast from examples

This commit is contained in:
Frederic Junod
2017-11-22 10:44:37 +01:00
parent 5d71dde8dd
commit 8aa591c04d
31 changed files with 63 additions and 64 deletions

View File

@@ -18,13 +18,13 @@ var closer = document.getElementById('popup-closer');
/**
* Create an overlay to anchor the popup to the map.
*/
var overlay = new ol.Overlay(/** @type {olx.OverlayOptions} */ ({
var overlay = new ol.Overlay({
element: container,
autoPan: true,
autoPanAnimation: {
duration: 250
}
}));
});
/**