:right-sidebar: True MapLayer =================================================================== .. currentmodule:: gi.repository.Shumate .. class:: MapLayer(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Shumate.Layer`, :class:`~gi.repository.Gtk.Widget`, :class:`~gi.repository.GObject.InitiallyUnowned`, :class:`~gi.repository.GObject.Object` Implemented Interfaces: :class:`~gi.repository.Gtk.Accessible`, :class:`~gi.repository.Gtk.Buildable`, :class:`~gi.repository.Gtk.ConstraintTarget` :Constructors: :: MapLayer(**properties) new(map_source:Shumate.MapSource, viewport:Shumate.Viewport) -> Shumate.MapLayer Constructors ------------ .. rst-class:: interim-class .. class:: MapLayer :no-index: .. classmethod:: new(map_source: ~gi.repository.Shumate.MapSource, viewport: ~gi.repository.Shumate.Viewport) -> ~gi.repository.Shumate.MapLayer :param map_source: :param viewport: Properties ---------- .. rst-class:: interim-class .. class:: MapLayer :no-index: .. attribute:: props.map_source :type: ~gi.repository.Shumate.MapSource Signals ------- .. rst-class:: interim-class .. class:: MapLayer.signals :no-index: .. method:: symbol_clicked(event: ~gi.repository.Shumate.SymbolEvent) -> None Emitted when a symbol in the map layer is clicked. .. versionadded:: 1.1 :param event: a :obj:`~gi.repository.Shumate.SymbolEvent` with details about the clicked symbol.