]> git.street.me.uk Git - andy/viking.git/blobdiff - src/bluemarble.c
Remove dependencies to gob2
[andy/viking.git] / src / bluemarble.c
index bfc710a0ccdbbcd1cac6a032c2eb16f4d4fc2546..faa399f9c6fd290d58a3419265ed37bb29b8a0ef 100644 (file)
 
 #include "bluemarble.h"
 #include "vikmapslayer.h"
-#include "slippy-map-type.h"
+#include "vikslippymapsource.h"
 
 /* initialisation */
 void bluemarble_init () {
-  VikMapType *bluemarble_type = VIK_MAP_TYPE(slippy_map_type_new_with_id( 15, "s3.amazonaws.com", "/com.modestmaps.bluemarble/%d-r%3$d-c%2$d.jpg" ));
+  VikMapSource *bluemarble_type = VIK_MAP_SOURCE(vik_slippy_map_source_new_with_id( 15, "s3.amazonaws.com", "/com.modestmaps.bluemarble/%d-r%3$d-c%2$d.jpg" ));
 
-  maps_layer_register_map_type("BlueMarble", bluemarble_type);
+  maps_layer_register_map_source ("BlueMarble", bluemarble_type);
 }