MapLayer#

class MapLayer(**properties: Any)#

Superclasses: Layer, Widget, InitiallyUnowned, Object

Implemented Interfaces: Accessible, Buildable, ConstraintTarget

A Layer implementation that fetches tiles from a MapSource and draws them as a grid.

Constructors#

class MapLayer
classmethod new(map_source: MapSource, viewport: Viewport) MapLayer#
Parameters:
  • map_source

  • viewport

Properties#

class MapLayer
props.map_source: MapSource#

The type of the None singleton.

Signals#

class MapLayer.signals
symbol_clicked(event: SymbolEvent) None#

The type of the None singleton.

Added in version 1.1.

Parameters:

event – a SymbolEvent with details about the clicked symbol.