Opened 15 years ago

Closed 14 years ago

#373 closed defect (worksforme)

Overview-Wrong Coord Sys

Reported by: markpendergraft Owned by: madair
Priority: P2 Milestone: 2.0
Component: Widgets Version: SVN
Severity: Minor Keywords: overview, projection
Cc: Browser: All
External ID: Operating System: All
state: New

Description

When a map's projection is defined using ProjectionDef and ProjectionCode in the ApplicationDefiniition, the Overview Map does not display/work properly. The overview retains the default projection of LL84 and does not use the maps defined projection.

The current workaround involves editing the loadOverview() function in the Overview.js widget to include the following lines:

this.mapObject.projection = this.getMap().oMapOL.getProjection(); this.mapObject.oLayerOL.projection = this.getMap().oMapOL.getProjection();

Change History (3)

comment:1 by madair, 15 years ago

Resolution: fixed
Status: newclosed

testing this with the current trunk of Fusion and it appears this may have been fixed with rev 2098 (with a different solution - trying to make sure that layers always have a reasonable default and overridden by the LoadMap response if appropriate). So I am closing this as fixed, but if your test case still results in the error, please re-open.

comment:2 by madair, 15 years ago

Resolution: fixed
Status: closedreopened

comment:3 by madair, 14 years ago

Resolution: worksforme
Status: reopenedclosed

I'm not seeing this behaviour, testing with both Fusion 2.0 and trunk, so closing this again. Re-open with a test case if the error still occurs.

Note: See TracTickets for help on using tickets.