]> git.street.me.uk Git - andy/viking.git/blobdiff - src/bluemarble.c
Remove dependencies to gob2
[andy/viking.git] / src / bluemarble.c
index 5028a681df3eaba48e464c84de0aa1e727df444b..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_type("BlueMarble", 15, bluemarble_type);
+  maps_layer_register_map_source ("BlueMarble", bluemarble_type);
 }