X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/6693f5f9071c69d94e611f09b9cd67f277cfb7ef..bfecd26e5a400e54bfb705112e6eb1ebf6084920:/src/osm.c?ds=sidebyside diff --git a/src/osm.c b/src/osm.c index 295d1ed2..5503c00d 100644 --- a/src/osm.c +++ b/src/osm.c @@ -41,6 +41,7 @@ void osm_init () { "hostname", "tah.openstreetmap.org", "url", "/Tiles/tile/%d/%d/%d.png", "check-file-server-time", TRUE, + "use-etag", FALSE, NULL)); VikMapSource *mapnik_type = VIK_MAP_SOURCE(g_object_new(VIK_TYPE_SLIPPY_MAP_SOURCE, @@ -48,7 +49,8 @@ void osm_init () { "label", "OpenStreetMap (Mapnik)", "hostname", "tile.openstreetmap.org", "url", "/%d/%d/%d.png", - "check-file-server-time", TRUE, + "check-file-server-time", FALSE, + "use-etag", TRUE, NULL)); VikMapSource *maplint_type = VIK_MAP_SOURCE(g_object_new(VIK_TYPE_SLIPPY_MAP_SOURCE, @@ -57,14 +59,16 @@ void osm_init () { "hostname", "tah.openstreetmap.org", "url", "/Tiles/maplint.php/%d/%d/%d.png", "check-file-server-time", TRUE, + "use-etag", FALSE, NULL)); VikMapSource *cycle_type = VIK_MAP_SOURCE(g_object_new(VIK_TYPE_SLIPPY_MAP_SOURCE, "id", 17, "label", "OpenStreetMap (Cycle)", - "hostname", "thunderflames.org/tiles/cycle/", - "url", "%d/%d/%d.png", + "hostname", "b.tile.opencyclemap.org", + "url", "/cycle/%d/%d/%d.png", "check-file-server-time", TRUE, + "use-etag", FALSE, NULL)); maps_layer_register_map_source (osmarender_type);