18,
CHAMPLAIN_MAP_PROJECTION_MERCATOR,
champlain_map_source_new_generic,
- "http://tile.openstreetmap.org/#Z#/#X#/#Y#.png"
+ "http://tile.openstreetmap.org/#Z#/#X#/#Y#.png",
+ NULL
};
static
18,
CHAMPLAIN_MAP_PROJECTION_MERCATOR,
champlain_map_source_new_generic,
- "http://tah.openstreetmap.org/Tiles/tile/#Z#/#X#/#Y#.png"
+ "http://tah.openstreetmap.org/Tiles/tile/#Z#/#X#/#Y#.png",
+ NULL
};
static
18,
CHAMPLAIN_MAP_PROJECTION_MERCATOR,
champlain_map_source_new_generic,
- "http://andy.sandbox.cloudmade.com/tiles/cycle/#Z#/#X#/#Y#.png"
+ "http://andy.sandbox.cloudmade.com/tiles/cycle/#Z#/#X#/#Y#.png",
+ NULL
};
static
17,
CHAMPLAIN_MAP_PROJECTION_MERCATOR,
champlain_map_source_new_generic,
- "http://tile.openaerialmap.org/tiles/1.0.0/openaerialmap-900913/#Z#/#X#/#Y#.jpg"
+ "http://tile.openaerialmap.org/tiles/1.0.0/openaerialmap-900913/#Z#/#X#/#Y#.jpg",
+ NULL
};
static
11,
CHAMPLAIN_MAP_PROJECTION_MERCATOR,
champlain_map_source_new_generic,
- "http://maps-for-free.com/layer/relief/z#Z#/row#Y#/#Z#_#X#-#Y#.jpg"
+ "http://maps-for-free.com/layer/relief/z#Z#/row#Y#/#Z#_#X#-#Y#.jpg",
+ NULL
};
static void
static ChamplainMapSource *
champlain_map_source_new_generic (
- ChamplainMapSourceDesc *desc, gpointer data)
+ ChamplainMapSourceDesc *desc, gpointer user_data)
{
return CHAMPLAIN_MAP_SOURCE (champlain_network_map_source_new_full (
desc->id,
desc->max_zoom_level,
256,
desc->projection,
- (const gchar *)desc->data));
+ desc->uri_format));
}