* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <gtk/gtk.h>
+#ifdef HAVE_MATH_H
#include <math.h>
+#endif
+
#include "viking.h"
#include "coords.h"
#include "vikcoord.h"
static void terraserver_mapcoord_to_center_coord ( MapCoord *src, VikCoord *dest );
-static DownloadOptions terraserver_options = { 0 };
+static DownloadOptions terraserver_options = { NULL, 0, a_check_map_file };
void terraserver_init () {
VikMapsLayer_MapType map_type_1 = { 2, 200, 200, VIK_VIEWPORT_DRAWMODE_UTM, terraserver_topo_coord_to_mapcoord, terraserver_mapcoord_to_center_coord, terraserver_topo_download };