TileSource
Object Hierarchy:
Description:
[
CCode ( type_id =
"champlain_tile_source_get_type ()" ) ]
[
Version ( since =
"0.6" ) ]
public abstract class TileSource :
MapSource
The TileSource structure contains only private data and should be accessed using the provided API
Content:
Properties:
- public TileCache cache { get; set; }
The cache used for tile storage
- public string id { owned get; set construct; }
The id of the tile source
- public string license { owned get; set construct; }
The usage license of the tile source
- public string license_uri { owned get; set construct; }
The usage license's uri for more information
- public uint max_zoom_level { get; set construct; }
The maximum zoom level
- public uint min_zoom_level { get; set construct; }
The minimum zoom level
- public string name { owned get; set construct; }
The name of the tile source
- public MapProjection projection { get; set construct; }
The map projection of the tile source
- public uint tile_size { get; set construct; }
The tile size of the tile source
Creation methods:
Methods:
- public unowned TileCache get_cache ()
Gets the cache used for storing tiles by this tile source.
- public void set_cache (TileCache cache)
Sets the map source's cache used for storing tiles.
- public void set_id (string id)
Sets the tile source's id.
- public void set_license (string license)
Sets the tile source's license.
- public void set_license_uri (string license_uri)
Sets the tile source's license URI.
- public void set_max_zoom_level (uint zoom_level)
Sets the tile source's maximum zoom level.
- public void set_min_zoom_level (uint zoom_level)
Sets the tile source's minimal zoom level.
- public void set_name (string name)
Sets the tile source's name.
- public void set_projection (MapProjection projection)
Sets the tile source's projection.
- public void set_tile_size (uint tile_size)
Sets the tile source's tile size.
Inherited Members:
All known members inherited from class Champlain.MapSource
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref