summaryrefslogtreecommitdiff
path: root/src/GipfelWidget.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/GipfelWidget.cxx')
-rw-r--r--src/GipfelWidget.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx
index 8af751b..318d387 100644
--- a/src/GipfelWidget.cxx
+++ b/src/GipfelWidget.cxx
@@ -474,6 +474,18 @@ GipfelWidget::set_scale(double s) {
redraw();
}
+void
+GipfelWidget::set_projection(Projection_t p) {
+ pan->set_projection(p);
+ set_labels(pan->get_visible_mountains());
+ redraw();
+}
+
+Projection_t
+GipfelWidget::get_projection() {
+ return pan->get_projection();
+}
+
double
GipfelWidget::get_center_angle() {
return pan->get_center_angle();