[Mapguide-trac] [mapguide-trac] #2512: Calling reloadMap fails when commercial layers are enabled

MapGuide Open Source trac_mapguide at osgeo.org
Wed Dec 3 05:04:17 PST 2014


#2512: Calling reloadMap fails when commercial layers are enabled
------------------------+---------------------------------------------------
   Reporter:  loureiro  |       Owner:       
       Type:  defect    |      Status:  new  
   Priority:  medium    |   Milestone:       
  Component:  Fusion    |     Version:  2.6.0
   Severity:  major     |    Keywords:       
External_id:            |  
------------------------+---------------------------------------------------
 We call reloadMap() in order to update the legends panel after a layer is
 dynamically added/remove. This fails when Google Maps in enabled in the
 background.

 Steps to reproduce:

 - Open Sheboygan SlateCommecial flexible layout.
 - Issue the call Fusion.getWidgetById('Map').reloadMap() in the browser
 console.
 - Verify that map panning stops working (freezes) and the Fusion error
 below is displayed.
 - You may recover from the error with a refresh operation.

 Error Details:
 Uncaught TypeError: Cannot read property 'y' of null

 Stack Trace:
  - ? at http://localhost:8008/mapguide/fusion/lib/fusionSF-compressed.js
 (line: 1303)

 Source:
 http://localhost:8008/mapguide/fusion/templates/mapguide/slate/index.html?ApplicationDefinition=Library://Samples/Sheboygan/FlexibleLayouts/SlateCommercial.ApplicationDefinition&locale=en

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


More information about the mapguide-trac mailing list