Merge pull request #3033 from ahocevar/select-return
Allow custom mousemove conditions for Select interaction
This commit is contained in:
@@ -179,7 +179,7 @@ ol.interaction.Select.prototype.handleMapBrowserEvent =
|
||||
}
|
||||
features.extend(selected);
|
||||
}
|
||||
return this.condition_ == ol.events.condition.mouseMove;
|
||||
return ol.events.condition.mouseMove(mapBrowserEvent);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user