| Top |
Object Hierarchy
GObject ╰── GInitiallyUnowned ╰── ChamplainMapSource ╰── ChamplainTileSource ╰── ChamplainFileTileSource
Functions
champlain_file_tile_source_new_full ()
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.
Parameters
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
champlain_file_tile_source_load_map_data ()
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
Types and Values
struct ChamplainFileTileSource
struct ChamplainFileTileSource;
The ChamplainFileTileSource structure contains only private data and should be accessed using the provided API
Since 0.8
