]> git.street.me.uk Git - andy/viking.git/blobdiff - src/osm.c
Add copyright for files vikgoto.h & vikgotoxmltool.h
[andy/viking.git] / src / osm.c
index 6811b2d5a55812e9edce64b8899f49746287a69c..5503c00d942ae23bc965d0d465b86a9c2fb3d2ec 100644 (file)
--- 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);