MapSource
Object Hierarchy:
Description:
[ CCode ( type_id = "champlain_map_source_get_type ()" ) ]
[ Version ( since = "0.4" ) ]
public abstract class MapSource : InitiallyUnowned
The MapSource structure contains only private data and should be accessed using the provided API
Content:
Properties:
Creation methods:
Methods:
- public virtual void fill_tile (Tile tile)
Fills the tile with image data (either from cache, network or rendered
locally).
- public uint get_column_count (uint zoom_level)
Gets the number of tiles in a column at this zoom level for this map
source.
- public virtual unowned string get_id ()
Gets map source's id.
- public double get_latitude (uint zoom_level, double y)
Gets the latitude corresponding to this y position in the map source's
projection.
- public virtual unowned string get_license ()
Gets map source's license.
- public virtual unowned string get_license_uri ()
Gets map source's license URI.
- public double get_longitude (uint zoom_level, double x)
Gets the longitude corresponding to this x position in the map
source's projection.
- public virtual uint get_max_zoom_level ()
Gets map source's maximum zoom level.
- public double get_meters_per_pixel (uint zoom_level, double latitude, double longitude)
Gets meters per pixel at the position on the map using this map
source's projection.
- public virtual uint get_min_zoom_level ()
Gets map source's minimum zoom level.
- public virtual unowned string get_name ()
Gets map source's name.
- public unowned MapSource get_next_source ()
Get the next source in the chain.
- public virtual MapProjection get_projection ()
Gets map source's projection.
- public unowned Renderer get_renderer ()
Get the renderer used for tiles rendering.
- public uint get_row_count (uint zoom_level)
Gets the number of tiles in a row at this zoom level for this map
source.
- public virtual uint get_tile_size ()
Gets map source's tile size.
- public double get_x (uint zoom_level, double longitude)
Gets the x position on the map using this map source's projection.
- public double get_y (uint zoom_level, double latitude)
Gets the y position on the map using this map source's projection.
- public void set_next_source (MapSource next_source)
Sets the next map source in the chain.
- public void set_renderer (Renderer renderer)
Sets the renderer used for tiles rendering.
Inherited Members:
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