Re: A lot of new API added
- From: Colin Clark <cclark mcb net>
- To: libchamplain-list gnome org
- Subject: Re: A lot of new API added
- Date: Mon, 04 May 2009 19:12:37 +0100
Hi
On Mon, 2009-05-04 at 17:19 +0100, Colin Clark wrote:
at about line 74 in the demo launcher-gtk.c, when changing the map the
terminal output shows the map_id, not the map_name.
Could you past the Map ID you get? A map id is something like
"osm::mapnik" while a map name is "OpenStreetMap Mapnik".
If you are getting the map id, it is a mistake in the code :)
Pierre-Luc
Yes, it is definitely the id not the name.
In this section of champlain_map_source_factory.c, about lines 335:
static ChamplainMapSource *
champlain_map_source_new_oam (void)
{
return CHAMPLAIN_MAP_SOURCE (champlain_network_map_source_new_full
(CHAMPLAIN_MAP_SOURCE_OAM,
"(CC) BY 3.0 OpenAerialMap contributors",
"http://creativecommons.org/licenses/by/3.0/", 0, 17, 256,
CHAMPLAIN_MAP_PROJECTION_MERCATOR,
"http://tile.openaerialmap.org/tiles/1.0.0/openaerialmap-900913/#Z#/#X#/#Y#.jpg"));
}
CHAMPLAIN_MAP_SOURCE_OAM is the id not the name which get passed to
champlain_network_map_source_new_full().
Is this correct?
Colin Clark..
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]