Opened 10 years ago

Closed 10 years ago

#2538 closed defect (fixed)

MgMap fails to initialize properly from linked tile set if both coordinate systems match

Reported by: jng Owned by: jng
Priority: low Milestone: 3.0
Component: General Version:
Severity: trivial Keywords:
Cc: External ID:

Description (last modified by jng)

When attempting to view a Map Definition that is linked to a tile set in the AJAX Viewer, the viewer will fail to load due to a null map extent.

The reason we have a null map extent is because when we initialize an MgMap from a Map Definition that links to a tile set, if both coordinate systems are the same, we are forgetting to set the map/data extents and center members, which results in a null map extent when retrieved.

The AJAX viewers tries to set up the initial view based on the extent of the map, which given it is null in this case causes the viewer loading to fail.

Attachments (1)

2538.patch (9.9 KB ) - added by jng 10 years ago.

Download all attachments as: .zip

Change History (4)

by jng, 10 years ago

Attachment: 2538.patch added

comment:1 by jng, 10 years ago

Description: modified (diff)

comment:2 by jng, 10 years ago

Description: modified (diff)

comment:3 by jng, 10 years ago

Resolution: fixed
Status: newclosed

Fixed r8548

Note: See TracTickets for help on using tickets.