|  |  |  | libchamplain Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
struct 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); void champlain_file_tile_source_load_map_data (ChamplainFileTileSource *self,const gchar *map_path);
  GObject
   +----GInitiallyUnowned
         +----ChamplainMapSource
               +----ChamplainTileSource
                     +----ChamplainFileTileSource
struct ChamplainFileTileSource;
The ChamplainFileTileSource structure contains only private data and should be accessed using the provided API
Since 0.8
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.
| 
 | the map source's id | 
| 
 | the map source's name | 
| 
 | the map source's license | 
| 
 | the map source's license URI | 
| 
 | the map source's minimum zoom level | 
| 
 | the map source's maximum zoom level | 
| 
 | the map source's tile size (in pixels) | 
| 
 | the map source's projection | 
| 
 | the ChamplainRenderer used to render tiles | 
| Returns : | a constructed ChamplainFileTileSource object | 
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.
| 
 | a ChamplainFileTileSource | 
| 
 | a path to a map data file | 
Since 0.8