: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` A :obj:`~gi.repository.Shumate.Layer` implementation that fetches tiles from a :obj:`~gi.repository.Shumate.MapSource` and draws them as a grid. 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 The type of the None singleton. Signals ------- .. rst-class:: interim-class .. class:: MapLayer.signals :no-index: .. method:: symbol_clicked(event: ~gi.repository.Shumate.SymbolEvent) -> None The type of the None singleton. .. versionadded:: 1.1 :param event: a :obj:`~gi.repository.Shumate.SymbolEvent` with details about the clicked symbol.