From f938711b0bf13e52cb8e93344d6114a5d161d4a6 Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Sat, 2 Jul 2011 04:17:45 +0000 Subject: [PATCH] Update map URL and layers Server moved to vmap0.tiles.osgeo.org Added new layers for labels, roads, and a few other things --- src/plugins/map.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/plugins/map.c b/src/plugins/map.c index f9d1b67..7505d45 100644 --- a/src/plugins/map.c +++ b/src/plugins/map.c @@ -31,7 +31,7 @@ #include "map.h" -#define MAX_RESOLUTION 500 +#define MAX_RESOLUTION 100 #define TILE_WIDTH 1024 #define TILE_HEIGHT 512 @@ -220,8 +220,9 @@ static void grits_plugin_map_init(GritsPluginMap *map) map->threads = g_thread_pool_new(_update_tiles, map, 1, FALSE, NULL); map->tiles = grits_tile_new(NULL, NORTH, SOUTH, EAST, WEST); map->wms = grits_wms_new( - "http://labs.metacarta.com/wms/vmap0", "basic", "image/png", - "osm/", "png", TILE_WIDTH, TILE_HEIGHT); + "http://vmap0.tiles.osgeo.org/wms/vmap0", + "basic,priroad,secroad,depthcontour,clabel,statelabel", + "image/png", "osm/", "png", TILE_WIDTH, TILE_HEIGHT); g_object_ref(map->tiles); } static void grits_plugin_map_dispose(GObject *gobject) -- 2.41.0