---
 src/bluemarble.c |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/bluemarble.c b/src/bluemarble.c
index 2c03fba..0812e7f 100644
--- a/src/bluemarble.c
+++ b/src/bluemarble.c
@@ -27,7 +27,17 @@
 /* initialisation */
 void bluemarble_init ()
 {
-  VikMapSource *bluemarble_type = 
VIK_MAP_SOURCE(vik_slippy_map_source_new_with_id( 15, "BlueMarble", 
"s3.amazonaws.com", "/com.modestmaps.bluemarble/%d-r%3$d-c%2$d.jpg" ));
+  VikMapSource *bluemarble_type = 
VIK_MAP_SOURCE(g_object_new(VIK_TYPE_SLIPPY_MAP_SOURCE,
+                                                             "id", 15,
+                                                             "label", 
"BlueMarble",
+                                                             "hostname", 
"s3.amazonaws.com",
+                                                             "url", 
"/com.modestmaps.bluemarble/%d-r%3$d-c%2$d.jpg",
+                                                             "copyright", "© 
NASA's Earth Observatory",
+                                                             "license", "NASA 
Terms of Use",
+                                                             "license-url", 
"http://visibleearth.nasa.gov/useterms.php";,
+                                                             NULL));
+  /* Credit/Copyright from: 
http://earthobservatory.nasa.gov/Features/BlueMarble/ */
+  /* BlueMarble image hosting is courtesy of the Modest Maps project: 
http://modestmaps.com/ */
 
   maps_layer_register_map_source (bluemarble_type);
 }
-- 
1.7.2.3


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Reply via email to