Fix TypeScript error in ol/control/OverviewMap

This commit is contained in:
Kevin Schmidt committed 2018-10-16 09:24:00 -06:00
1 parent 1e90ffacec
commit 49a4bf4248
1 file changed
+2 -1
+2 -1
View File
@@ -204,7 +204,8 @@ class OverviewMap extends Control {
};
const move = function(event) {
const coordinates = ovmap.getEventCoordinate(computeDesiredMousePosition(event));
const position = /** @type {?} */ (computeDesiredMousePosition(event));
const coordinates = ovmap.getEventCoordinate(/** @type {Event} */ (position));
overlay.setPosition(coordinates);
};