]> git.street.me.uk Git - andy/viking.git/blobdiff - src/bluemarble.c
Add compatibility facilities
[andy/viking.git] / src / bluemarble.c
index 5028a681df3eaba48e464c84de0aa1e727df444b..bfc710a0ccdbbcd1cac6a032c2eb16f4d4fc2546 100644 (file)
@@ -28,6 +28,6 @@
 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" ));
 
 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" ));
 
-  maps_layer_register_type("BlueMarble", 15, bluemarble_type);
+  maps_layer_register_map_type("BlueMarble", bluemarble_type);
 }
 
 }