[fusion-trac] #501: Extending selection after setSelection on MapGuide layer

Fusion trac_fusion at osgeo.org
Tue Dec 6 03:58:50 EST 2011


#501: Extending selection after setSelection on MapGuide layer
---------------------------+------------------------------------------------
   Reporter:  morkl        |       Owner:  madair
       Type:  enhancement  |      Status:  new   
   Priority:  P2           |   Milestone:  Future
  Component:  MapGuide     |     Version:  SVN   
   Severity:  Major        |    Keywords:        
External_id:               |       State:  New   
    Browser:  All          |          Os:  All   
---------------------------+------------------------------------------------
 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.

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/501>
Fusion <http://trac.osgeo.org/fusion>
Fusion is a web-mapping application development framework for MapServer and MapGuide OS.


More information about the fusion-trac mailing list