ChamplainNetworkMapSource

ChamplainNetworkMapSource

Synopsis

                    ChamplainNetworkMapSourcePrivate;
                    ChamplainNetworkMapSource;
ChamplainNetworkMapSource* champlain_network_map_source_new_full
                                                        (const gchar *name,
                                                         const gchar *license,
                                                         const gchar *license_uri,
                                                         guint min_zoom,
                                                         guint map_zoom,
                                                         guint tile_size,
                                                         ChamplainMapProjection projection,
                                                         const gchar *uri_format);
ChamplainMapSource* champlain_map_source_new_osm_mapnik (void);
ChamplainMapSource* champlain_map_source_new_osm_cyclemap
                                                        (void);
ChamplainMapSource* champlain_map_source_new_osm_osmarender
                                                        (void);
ChamplainMapSource* champlain_map_source_new_oam        (void);
ChamplainMapSource* champlain_map_source_new_mff_relief (void);
gchar*              champlain_network_map_source_get_tile_uri
                                                        (ChamplainNetworkMapSource *source,
                                                         gint x,
                                                         gint y,
                                                         gint z);
void                champlain_network_map_source_set_tile_uri
                                                        (ChamplainNetworkMapSource *network_map_source,
                                                         const gchar *uri_format);
void                champlain_network_map_source_get_tile
                                                        (ChamplainMapSource *map_source,
                                                         ChamplainView *view,
                                                         ChamplainZoomLevel *level,
                                                         ChamplainTile *tile);

Object Hierarchy

  GObject
   +----ChamplainMapSource
         +----ChamplainNetworkMapSource

Properties

  "offline"                  gboolean              : Read / Write
  "proxy-uri"                gchar*                : Read / Write
  "uri-format"               gchar*                : Read / Write / Construct

Description

Details

ChamplainNetworkMapSourcePrivate

typedef struct _ChamplainNetworkMapSourcePrivate ChamplainNetworkMapSourcePrivate;


ChamplainNetworkMapSource

typedef struct _ChamplainNetworkMapSource ChamplainNetworkMapSource;


champlain_network_map_source_new_full ()

ChamplainNetworkMapSource* champlain_network_map_source_new_full
                                                        (const gchar *name,
                                                         const gchar *license,
                                                         const gchar *license_uri,
                                                         guint min_zoom,
                                                         guint map_zoom,
                                                         guint tile_size,
                                                         ChamplainMapProjection projection,
                                                         const gchar *uri_format);

name :

license :

license_uri :

min_zoom :

map_zoom :

tile_size :

projection :

uri_format :

Returns :


champlain_map_source_new_osm_mapnik ()

ChamplainMapSource* champlain_map_source_new_osm_mapnik (void);

Returns :


champlain_map_source_new_osm_cyclemap ()

ChamplainMapSource* champlain_map_source_new_osm_cyclemap
                                                        (void);

Returns :


champlain_map_source_new_osm_osmarender ()

ChamplainMapSource* champlain_map_source_new_osm_osmarender
                                                        (void);

Returns :


champlain_map_source_new_oam ()

ChamplainMapSource* champlain_map_source_new_oam        (void);

Returns :


champlain_map_source_new_mff_relief ()

ChamplainMapSource* champlain_map_source_new_mff_relief (void);

Returns :


champlain_network_map_source_get_tile_uri ()

gchar*              champlain_network_map_source_get_tile_uri
                                                        (ChamplainNetworkMapSource *source,
                                                         gint x,
                                                         gint y,
                                                         gint z);

source :

x :

y :

z :

Returns :


champlain_network_map_source_set_tile_uri ()

void                champlain_network_map_source_set_tile_uri
                                                        (ChamplainNetworkMapSource *network_map_source,
                                                         const gchar *uri_format);

network_map_source :

uri_format :


champlain_network_map_source_get_tile ()

void                champlain_network_map_source_get_tile
                                                        (ChamplainMapSource *map_source,
                                                         ChamplainView *view,
                                                         ChamplainZoomLevel *level,
                                                         ChamplainTile *tile);

map_source :

view :

level :

tile :

Property Details

The "offline" property

  "offline"                  gboolean              : Read / Write

If the network map source can access network

Default value: FALSE

Since 0.4


The "proxy-uri" property

  "proxy-uri"                gchar*                : Read / Write

The proxy uri to use to access network

Default value: ""

Since 0.4


The "uri-format" property

  "uri-format"               gchar*                : Read / Write / Construct

The uri format for the map source

Default value: ""

Since 0.4