Ticket #3497 (new feature)
Once a feature is unselected no features can ever be selected again
| Reported by: | hlbrewing | Owned by: | tschaub |
|---|---|---|---|
| Priority: | major | Milestone: | 2.13 Release |
| Component: | Control.SelectFeature | Version: | 2.10 |
| Keywords: | Cc: | ||
| State: |
Description
If you select a feature, then click on an empty map area, you can't ever select a feature again.
I found a fix by changing OpenLayers.Handler.Feature.mouseup from mouseup: function (evt) {
this.up = evt.xy; return this.handle(evt);
},
to mouseup: function (evt) {
this.up = evt.xy; var result = this.handle(evt) ? !this.stopUp : true; this.down = this.up = null; return result;
},
Change History
Note: See
TracTickets for help on using
tickets.
