Opened 13 years ago
Closed 12 years ago
#501 closed enhancement (fixed)
Extending selection after setSelection on MapGuide layer
Reported by: | morkl | Owned by: | madair |
---|---|---|---|
Priority: | P2 | Milestone: | 2.3 |
Component: | MapGuide | Version: | SVN |
Severity: | Major | Keywords: | |
Cc: | Browser: | All | |
External ID: | Operating System: | All | |
state: | New |
Description
When calling setSelection on a MapGuide layer, previousSelection is not updated. Therefore, one cannot extend the selection by shift-clicking.
From layers/MapGuide/MapGuide.js, [2479], setSelection:
//TODO Update this.previousSelection when the selection is set using //this API to allow the selection to be extended with a shift-click.
I have made a patch that updates previousSelection on setSelection and uses a separate method, setSelectionInternal, for the call from within processSelectedFeatureInfo, to avoid updating previousSelection when it has already been updated.
Attachments (1)
Change History (3)
by , 13 years ago
Attachment: | MapGuide.js.patch added |
---|
comment:1 by , 13 years ago
Milestone: | Future → 2.3 |
---|
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.