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:

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

Change History (1)

comment:1 by jng, 10 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.