[fusion-trac] #569: MapGuideViewerApi.js variable scope is not global

Fusion trac_fusion at osgeo.org
Mon May 27 23:40:35 PDT 2013


#569: MapGuideViewerApi.js variable scope is not global
-----------------------+----------------------------------------------------
   Reporter:  jng      |       Owner:  madair
       Type:  defect   |      Status:  new   
   Priority:  P2       |   Milestone:  Future
  Component:  Widgets  |     Version:  2.0   
   Severity:  Major    |    Keywords:        
External_id:           |       State:  New   
    Browser:  All      |          Os:  All   
-----------------------+----------------------------------------------------
 The "global" variables defined in MapGuideViewerApi.js are not truly
 unique. You can see this when you try to use the Redline widget, which
 calls into the digitizing functions provided by this module.

 Every time the widget digitizes a geometry, the MapGuideViewerApi module
 will repeatedly add new OpenLayers.Layer.Vector and
 OpenLayers.Control.DrawFeature objects to the map despite there being a
 "global" boolean guard that is supposed to protect against this.

-- 
Ticket URL: <http://trac.osgeo.org/fusion/ticket/569>
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