Opened 10 years ago
Closed 10 years ago
#2512 closed defect (duplicate)
Calling reloadMap fails when commercial layers are enabled
Reported by: | loureiro | Owned by: | |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | Fusion | Version: | 2.6.0 |
Severity: | major | Keywords: | |
Cc: | External ID: |
Description
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)
Note:
See TracTickets
for help on using tickets.
Moved to here: http://trac.osgeo.org/fusion/ticket/630