]> git.street.me.uk Git - andy/viking.git/blobdiff - src/datasource_osm.c
SF#356778: Download Map Tiles using F5
[andy/viking.git] / src / datasource_osm.c
index 36f0e975d59524e0afdd9c7e4d990f2d2dcb49ab..9315f5c8b84ef31f915035ce826cb76811413d39 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * viking -- GPS Data and Topo Analyzer, Explorer, and Manager
  *
- * Copyright (C) 2011, Guilhem Bonnefille <guilhe.bonnefillee@gmail.com>
+ * Copyright (C) 2011, Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -60,6 +60,7 @@ VikDataSourceInterface vik_datasource_osm_interface = {
   (VikDataSourceCheckExistenceFunc)    NULL,
   (VikDataSourceAddSetupWidgetsFunc)   datasource_osm_add_setup_widgets,
   (VikDataSourceGetCmdStringFunc)      datasource_osm_get_cmd_string,
+  (VikDataSourceProcessFunc)           NULL,
   (VikDataSourceProgressFunc)          NULL,
   (VikDataSourceAddProgressWidgetsFunc)        NULL,
   (VikDataSourceCleanupFunc)           datasource_osm_cleanup,
@@ -95,7 +96,7 @@ static void datasource_osm_get_cmd_string ( datasource_osm_widgets_t *widgets, g
   gchar sminlat[G_ASCII_DTOSTR_BUF_SIZE];
   gchar smaxlat[G_ASCII_DTOSTR_BUF_SIZE];
 
-  /* TODO get Viewport bounding box vik_viewport_get_min_max_lat_lon */
+  /* get Viewport bounding box */
   vik_viewport_get_min_max_lat_lon ( widgets->vvp, &min_lat, &max_lat, &min_lon, &max_lon );
 
   /* Convert as LANG=C double representation */