Marker


Object Hierarchy:

Shumate.Marker Shumate.Marker Shumate.Marker Gtk.Widget Gtk.Widget Gtk.Widget->Shumate.Marker GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Shumate.Marker Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Shumate.Marker Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Shumate.Marker Gtk.ConstraintTarget->Gtk.Widget Shumate.Location Shumate.Location Shumate.Location->Shumate.Marker

Description:

[ CCode ( type_id = "shumate_marker_get_type ()" ) ]
public class Marker : Widget, Accessible, Buildable, ConstraintTarget, Location

Markers represent points of interest on a map.

Markers need to be placed on a layer (a [class@MarkerLayer]). Layers have to be added to a [class@Map] for the markers to show on the map.

A marker is nothing more than a regular [[email protected]]. You can draw on it what ever you want. Set the marker's position on the map using [[email protected]_location].

This is a base class of all markers. A typical usage of a marker is for instance to add a [[email protected]] with a pin image and add the [[email protected]] controller to listen to click events and show a [[email protected]] with the description of the marker.

All known sub-classes:

Namespace: Shumate
Package: shumate-1.0

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Accessible
All known members inherited from interface Gtk.Buildable
All known members inherited from interface Shumate.Location



2022 vala-language.org