Fix non-view-related typecasts in interactions

This commit is contained in:
Tom Payne
2013-01-07 13:08:30 +01:00
parent 0653546e44
commit e52ec0f7a2
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ ol.interaction.Drag.prototype.handleMapBrowserEvent =
this.deltaY = 0;
this.startCenter = /** @type {!ol.Coordinate} */ map.getCenter();
this.startCoordinate = /** @type {ol.Coordinate} */
mapBrowserEvent.getCoordinate();
(mapBrowserEvent.getCoordinate());
var handled = this.handleDragStart(mapBrowserEvent);
if (handled) {
this.dragging_ = true;