[mapguide-trac] #1983: MapTip command uses hard-coded button position

MapGuide Open Source trac_mapguide at osgeo.org
Thu Apr 12 08:43:04 EDT 2012


#1983: MapTip command uses hard-coded button position
---------------------------+------------------------------------------------
   Reporter:  jng          |       Owner:     
       Type:  defect       |      Status:  new
   Priority:  low          |   Milestone:  2.4
  Component:  AJAX Viewer  |     Version:     
   Severity:  trivial      |    Keywords:     
External_id:               |  
---------------------------+------------------------------------------------
 The maptip command uses a hard-coded toolbar button position of 14 (to set
 the enabled/disabled state).

 This is obviously bad as adding any toolbar command that displaces the
 maptip command from its position will cause the maptip command to "toggle"
 the wrong button.

 The fix is to record the indices of the maptip toolbar buttons during
 initialization and use these indices to locate the toolbar buttons to
 enable/disable

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1983>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list