+ VikMapSource *mapnik_type =
+ VIK_MAP_SOURCE(g_object_new(VIK_TYPE_SLIPPY_MAP_SOURCE,
+ "id", 13,
+ "label", "OpenStreetMap (Mapnik)",
+ "name", "OSM-Mapnik",
+ "hostname", "tile.openstreetmap.org",
+ "url", "/%d/%d/%d.png",
+ "check-file-server-time", FALSE,
+ "use-etag", TRUE,
+ "zoom-min", 0,
+ "zoom-max", 19,
+ "copyright", "© OpenStreetMap contributors",
+ "license", "CC-BY-SA",
+ "license-url", "http://www.openstreetmap.org/copyright",
+ NULL));
+ VikMapSource *cycle_type =
+ VIK_MAP_SOURCE(g_object_new(VIK_TYPE_SLIPPY_MAP_SOURCE,
+ "id", 17,
+ "label", "OpenStreetMap (Cycle)",
+ "name", "OSM-Cycle",
+ "hostname", "tile.opencyclemap.org",
+ "url", "/cycle/%d/%d/%d.png",
+ "check-file-server-time", TRUE,
+ "use-etag", FALSE,
+ "zoom-min", 0,
+ "zoom-max", 18,
+ "copyright", "Tiles courtesy of Andy Allan © OpenStreetMap contributors",
+ "license", "CC-BY-SA",
+ "license-url", "http://www.openstreetmap.org/copyright",
+ NULL));
+ VikMapSource *transport_type =
+ VIK_MAP_SOURCE(g_object_new(VIK_TYPE_SLIPPY_MAP_SOURCE,
+ "id", 20,
+ "label", "OpenStreetMap (Transport)",
+ "name", "OSM-Transport",
+ "hostname", "tile2.opencyclemap.org",
+ "url", "/transport/%d/%d/%d.png",
+ "check-file-server-time", TRUE,
+ "use-etag", FALSE,
+ "zoom-min", 0,
+ "zoom-max", 18,
+ "copyright", "Tiles courtesy of Andy Allan © OpenStreetMap contributors",
+ "license", "CC-BY-SA",
+ "license-url", "http://www.openstreetmap.org/copyright",
+ NULL));
+ VikMapSource *mapquest_type =
+ VIK_MAP_SOURCE(g_object_new(VIK_TYPE_SLIPPY_MAP_SOURCE,
+ "id", 19,
+ "name", "OSM-MapQuest",
+ "label", "OpenStreetMap (MapQuest)",
+ "hostname", "otile1.mqcdn.com",
+ "url", "/tiles/1.0.0/osm/%d/%d/%d.png",
+ "check-file-server-time", TRUE,
+ "use-etag", FALSE,
+ "zoom-min", 0,
+ "zoom-max", 19,
+ "copyright", "Tiles Courtesy of MapQuest © OpenStreetMap contributors",
+ "license", "MapQuest Specific",
+ "license-url", "http://developer.mapquest.com/web/info/terms-of-use",
+ NULL));
+ VikMapSource *hot_type =
+ VIK_MAP_SOURCE(g_object_new(VIK_TYPE_SLIPPY_MAP_SOURCE,
+ "id", 22,
+ "name", "OSM-Humanitarian",
+ "label", "OpenStreetMap (Humanitarian)",
+ "hostname", "c.tile.openstreetmap.fr",
+ "url", "/hot/%d/%d/%d.png",
+ "check-file-server-time", TRUE,
+ "use-etag", FALSE,
+ "zoom-min", 0,
+ "zoom-max", 20, // Super detail!!
+ "copyright", "© OpenStreetMap contributors. Tiles courtesy of Humanitarian OpenStreetMap Team",
+ "license", "CC-BY-SA",
+ "license-url", "http://www.openstreetmap.org/copyright",
+ NULL));