[libchamplain] Fix computation of y from latitude



commit 91eed6ae5fc233e61b6a5df93112a48537a47526
Author: JiÅ?í Techet <techet gmail com>
Date:   Sat Jan 22 14:12:39 2011 +0100

    Fix computation of y from latitude

 champlain/champlain-view.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c
index 872beaf..6979e8e 100644
--- a/champlain/champlain-view.c
+++ b/champlain/champlain-view.c
@@ -72,7 +72,7 @@
 #include <tidy-scrollable.h>
 #include <tidy-viewport.h>
 
-#define VIEW_LOG 
+//#define VIEW_LOG 
 #ifdef VIEW_LOG
 #define DEBUG_LOG() g_print ("%s\n", __FUNCTION__);
 #else
@@ -2264,7 +2264,7 @@ champlain_view_layer_y_to_latitude (ChamplainView *view,
   
   gdouble latitude;
 
-  latitude = champlain_map_source_get_longitude (priv->map_source,
+  latitude = champlain_map_source_get_latitude (priv->map_source,
       priv->zoom_level, 
       y + priv->anchor.y);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]