Revision 72
trunk/org.gvsig.app.document.layout.app/org.gvsig.app.document.layout.app.mainplugin/src/main/java/org/gvsig/app/project/documents/layout/fframes/FFrameView.java | ||
---|---|---|
1163 | 1163 |
super.setBoundBox(r); |
1164 | 1164 |
refresh(); |
1165 | 1165 |
} |
1166 |
|
|
1167 |
/** |
|
1168 |
* getRotation returns rotation of the frame |
|
1169 |
* getMapRotation returns rotation of the map |
|
1170 |
* |
|
1171 |
* @return in degrees |
|
1172 |
*/ |
|
1173 |
public double getMapRotation() { |
|
1174 |
return 0; |
|
1175 |
} |
|
1166 | 1176 |
} |
trunk/org.gvsig.app.document.layout.app/org.gvsig.app.document.layout.app.mainplugin/src/main/java/org/gvsig/app/project/documents/layout/fframes/FFrameNorth.java | ||
---|---|---|
74 | 74 |
*/ |
75 | 75 |
public double getRotation() { |
76 | 76 |
if (fframeViewDependence != null) { |
77 |
return fframeViewDependence.getRotation(); |
|
77 |
|
|
78 |
return fframeViewDependence.getRotation() |
|
79 |
+ fframeViewDependence.getMapRotation(); |
|
78 | 80 |
} |
79 | 81 |
|
80 | 82 |
return super.getRotation(); |
Also available in: Unified diff