Map


Object Hierarchy:

Object hierarchy for Map

Description:

[ CCode ( type_id = "shumate_map_get_type ()" ) ]
public class Map : Widget, Accessible, Buildable, ConstraintTarget

The Map widget is a [class@Gtk.

Widget] that show and allows interaction with the user.

This is the base widget and doesn't have advanced features. You can check the [class@Shumate.SimpleMap] for a ready-to-use widget.

By default, a [class@Shumate.Viewport] is created and can be accessed with [method@Shumate.Map.get_viewport].

Unless created with [ctor@Shumate.Map.new_simple], the widget doesn't hold any layer and won't show anything. A [class@Shumate.Layer] can be added or removed using the [method@Shumate.Map.add_layer] or [method@Shumate.Map.remove_layer] methods.

CSS nodes

`ShumateMap` has a single CSS node with the name “map-view”.


Namespace: Shumate
Package: shumate-1.0

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class Gtk.Widget