Top |
GObject ╰── GInitiallyUnowned ╰── ChamplainMapSource ╰── ChamplainTileSource ╰── ChamplainFileTileSource
ChamplainFileTileSource * champlain_file_tile_source_new_full (const gchar *id
,const gchar *name
,const gchar *license
,const gchar *license_uri
,guint min_zoom
,guint max_zoom
,guint tile_size
,ChamplainMapProjection projection
,ChamplainRenderer *renderer
);
Constructor of ChamplainFileTileSource.
id |
the map source's id |
|
name |
the map source's name |
|
license |
the map source's license |
|
license_uri |
the map source's license URI |
|
min_zoom |
the map source's minimum zoom level |
|
max_zoom |
the map source's maximum zoom level |
|
tile_size |
the map source's tile size (in pixels) |
|
projection |
the map source's projection |
|
renderer |
the ChamplainRenderer used to render tiles |
Since: 0.8
void champlain_file_tile_source_load_map_data (ChamplainFileTileSource *self
,const gchar *map_path
);
Loads the OpenStreetMap XML file at the given path.
Since: 0.8
struct ChamplainFileTileSource;
The ChamplainFileTileSource structure contains only private data and should be accessed using the provided API
Since: 0.8