]> git.street.me.uk Git - andy/viking.git/blob - src/vik-map-type.gob
Add Terraserver
[andy/viking.git] / src / vik-map-type.gob
1 %headertop{
2 #ifdef HAVE_CONFIG_H
3 #include "config.h"
4 #endif
5
6 #include "vikcoord.h"
7 #include "mapcoord.h"
8 %}
9
10  class Vik:Map:Type from G:Object(abstract) {
11   public guint8 uniq_id;
12   public guint16 tilesize_x;
13   public guint16 tilesize_y;
14   public guint drawmode;
15   virtual public gboolean coord_to_mapcoord ( self, const VikCoord *src, gdouble xzoom, gdouble yzoom, MapCoord *dest )
16   {
17     return FALSE;
18   }
19   virtual public void mapcoord_to_center_coord ( self, MapCoord *src, VikCoord *dest )
20   { }
21   virtual public int download ( self, MapCoord *src, const gchar *dest_fn )
22   {
23     return 0;
24   }
25
26   }
27