SimpleMap
Superclasses: Widget
, InitiallyUnowned
, Object
Implemented Interfaces: Accessible
, Buildable
, ConstraintTarget
- Constructors:
SimpleMap(**properties)
new() -> Shumate.SimpleMap
Constructors
Methods
- class SimpleMap
- add_overlay_layer(layer: Layer) None
Adds a map layer as an overlay on top of the base map.
- Parameters:
layer – a
Layer
to add
- get_viewport() Viewport
Gets the map’s viewport, needed for constructing map layers that will be added to it.
- remove_overlay_layer(layer: Layer) None
Removes a layer from the map.
- Parameters:
layer – a
Layer
that was added to the map previously
Properties
Signals
- class SimpleMap.signals
- symbol_clicked(event: SymbolEvent) None
Emitted when a symbol in the base map layer (not in overlay layers) is clicked.
Added in version 1.1.
- Parameters:
event – a
SymbolEvent
with details about the clicked symbol.