X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/218cdecd1e29383f5242fa050d2a6a3be1f20a90..bfecd26e5a400e54bfb705112e6eb1ebf6084920:/src/osm.c diff --git a/src/osm.c b/src/osm.c index 6811b2d5..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,6 +59,7 @@ 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, @@ -65,6 +68,7 @@ void osm_init () { "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);