Champlain.MapSourceDesc¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Map source constructor |
||
r/w/co |
User data |
||
r/w/co |
Map source id |
||
r/w/co |
Map source license |
||
r/w/co |
Map source license URI |
||
r/w/co |
The highest allowed level of zoom |
||
r/w/co |
The lowest allowed level of zoom |
||
r/w/co |
Map source name |
||
r/w/co |
Map source projection |
||
r/w/co |
The size of the map source tile |
||
r/w/co |
Network map source URI format |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Champlain.MapSourceDesc(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Champlain.MapSourceDesc
structure contains only private data and should be accessed using the provided APINew in version 0.10.
- get_data()¶
-
Gets user data.
New in version 0.10.
- get_license()¶
- Returns:
the map source’s license.
- Return type:
Gets map source’s license.
New in version 0.10.
- get_license_uri()¶
- Returns:
the map source’s license URI.
- Return type:
Gets map source’s license URI.
New in version 0.10.
- get_max_zoom_level()¶
- Returns:
the maximum zoom level this map source supports
- Return type:
Gets map source’s maximum zoom level.
New in version 0.10.
- get_min_zoom_level()¶
- Returns:
the miminum zoom level this map source supports
- Return type:
Gets map source’s minimum zoom level.
New in version 0.10.
- get_name()¶
- Returns:
the map source’s name.
- Return type:
Gets map source’s name.
New in version 0.10.
- get_projection()¶
- Returns:
the map source’s projection.
- Return type:
Gets map source’s projection.
New in version 0.10.
- get_tile_size()¶
- Returns:
the tile’s size (width and height) in pixels for this map source
- Return type:
Gets map source’s tile size.
New in version 0.10.
Property Details¶
- Champlain.MapSourceDesc.props.constructor¶
- Name:
constructor
- Type:
- Default Value:
- Flags:
The map source constructor
New in version 0.10.
- Champlain.MapSourceDesc.props.data¶
- Name:
data
- Type:
- Default Value:
- Flags:
User data passed to the constructor
New in version 0.10.
- Champlain.MapSourceDesc.props.id¶
- Name:
id
- Type:
- Default Value:
''
- Flags:
The id of the map source
New in version 0.10.
- Champlain.MapSourceDesc.props.license¶
- Name:
license
- Type:
- Default Value:
''
- Flags:
The license of the map source
New in version 0.10.
- Champlain.MapSourceDesc.props.license_uri¶
- Name:
license-uri
- Type:
- Default Value:
''
- Flags:
The license’s uri for more information
New in version 0.10.
- Champlain.MapSourceDesc.props.max_zoom_level¶
- Name:
max-zoom-level
- Type:
- Default Value:
20
- Flags:
The maximum zoom level
New in version 0.10.
- Champlain.MapSourceDesc.props.min_zoom_level¶
- Name:
min-zoom-level
- Type:
- Default Value:
0
- Flags:
The minimum zoom level
New in version 0.10.
- Champlain.MapSourceDesc.props.name¶
- Name:
name
- Type:
- Default Value:
''
- Flags:
The name of the map source
New in version 0.10.
- Champlain.MapSourceDesc.props.projection¶
- Name:
projection
- Type:
- Default Value:
- Flags:
The map projection of the map source
New in version 0.10.
- Champlain.MapSourceDesc.props.tile_size¶
- Name:
tile-size
- Type:
- Default Value:
256
- Flags:
The tile size of the map source
New in version 0.10.
- Champlain.MapSourceDesc.props.uri_format¶
- Name:
uri-format
- Type:
- Default Value:
''
- Flags:
The URI format of a network map source
New in version 0.10.