Merge pull request #174 from ahocevar/feature-events

Turning @tschaub's FeatureAgent into an event extension. r=@bartvde
This commit is contained in:
ahocevar
2013-05-27 17:17:42 -07:00
committed by Bart van den Eijnden
parent 8778b746b3
commit fe0620dc7f
7 changed files with 532 additions and 0 deletions

View File

@@ -35,6 +35,11 @@ Corresponding issues/pull requests:
* http://github.com/openlayers/openlayers/pull/700
## New Map and Vector Layer Events for Feature Interaction
The featureclick events extension (`lib/Events/featureclick.js`) provides four new events ("featureclick", "nofeatureclick", "featureover", "featureout") that can be used as an alternative to the Feature handler or the
SelectFeature control. It works with multiple layers out of the box and can detect hits on multiple features (except when using the Canvas renderer). See `examples/feature-events.html` for an implementation example.
# Behavior Changes from Past Releases
## Control.DragPan: Kinetic by default