Viewport
Object Hierarchy:
Description:
[
CCode ( type_id =
"shumate_viewport_get_type ()" ) ]
public class Viewport :
Object,
Location
The object holding the coordinate, zoom-level, and rotation state of the current view.
As the object implements [[email protected]], the latitude and longitude are accessible via the interface methods.
Content:
Properties:
- public uint max_zoom_level { get; set; }
The highest allowed level of zoom of the content.
- public uint min_zoom_level { get; set; }
The lowest allowed level of zoom of the content.
- public MapSource reference_map_source { get; set; }
- public double rotation { get; set; }
The rotation of the map view, in radians clockwise from up being due
north
- public double zoom_level { get; set; }
The level of zoom of the content.
Creation methods:
- public Viewport ()
Creates a new Viewport
Methods:
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
All known members inherited from interface Shumate.Location