Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: UDIG 1.2.M2
-
Fix Version/s: UDIG 1.2.M2
-
Component/s: application, visualization using map layer and style
-
Labels:None
-
Environment:Windows XP; Java 1.6; Eclipse Version 3.4.0
Description
If I use the eclipse persepective extension point to add a mappart (in my case a view) to the default perspective of the application the visiblemaps list and activeMaps are not correctly updated. So when I go to set the viewport on this mappart nothing happens because the following if statement evaluates to false.
if (ApplicationGIS.getActiveMap() != null && ApplicationGIS.getVisibleMaps().contains(ApplicationGIS.getActiveMap())){
Attached is a patch that I think will fix the issue.