Champlain.FileTileSource¶
- Subclasses:
None
Methods¶
- Inherited:
Champlain.TileSource (10), Champlain.MapSource (20), GObject.Object (37)
- Structs:
class |
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Champlain.FileTileSource(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Champlain.FileTileSource
structure contains only private data and should be accessed using the provided APINew in version 0.8.
- classmethod new_full(id, name, license, license_uri, min_zoom, max_zoom, tile_size, projection, renderer)¶
- Parameters:
id (
str
) – the map source’s idname (
str
) – the map source’s namelicense (
str
) – the map source’s licenselicense_uri (
str
) – the map source’s license URImin_zoom (
int
) – the map source’s minimum zoom levelmax_zoom (
int
) – the map source’s maximum zoom leveltile_size (
int
) – the map source’s tile size (in pixels)projection (
Champlain.MapProjection
) – the map source’s projectionrenderer (
Champlain.Renderer
) – theChamplain.Renderer
used to render tiles
- Returns:
a constructed
Champlain.FileTileSource
object- Return type:
Constructor of
Champlain.FileTileSource
.New in version 0.8.