IndoorMap
Inherits QtQuick::Item.
Properties | |
alias | floorLevels |
alias | hasError |
alias | hoveredElement |
alias | mapData |
alias | mapLoader |
alias | overlaySources |
alias | region |
alias | styleSheet |
alias | timeZone |
alias | view |
Signals | |
void | elementLongPressed (var element) |
void | elementPicked (var element) |
Public Member Functions | |
void | elementAt (screenPosition) |
void | mapEventPointToScreen (eventPoint) |
Detailed Description
QML item for displaying a train station or airport map.
Definition at line 11 of file IndoorMap.qml.
Property Documentation
◆ floorLevels
|
read |
Floor level model.
Definition at line 18 of file IndoorMap.qml.
◆ hasError
|
read |
There is something preventing displaying a map.
Definition at line 22 of file IndoorMap.qml.
◆ hoveredElement
|
read |
Currently hovered element.
Definition at line 32 of file IndoorMap.qml.
◆ mapData
|
read |
Access to the map data, for feeding into content-specific models.
Definition at line 24 of file IndoorMap.qml.
◆ mapLoader
|
read |
Access to map loading status and progress.
Definition at line 14 of file IndoorMap.qml.
◆ overlaySources
|
read |
Access to overlay sources.
Definition at line 26 of file IndoorMap.qml.
◆ region
|
read |
ISO 3166-1/2 country or region code for opening hours interpretation.
Definition at line 28 of file IndoorMap.qml.
◆ styleSheet
|
read |
Path to a MapCSS style sheet used for rendering the map.
Definition at line 16 of file IndoorMap.qml.
◆ timeZone
|
read |
IANA timezone id for opening hours interpretation.
Definition at line 30 of file IndoorMap.qml.
◆ view
|
read |
Access to the view transformation and floor level selection.
Definition at line 20 of file IndoorMap.qml.
Member Function Documentation
◆ elementAt()
void IndoorMap::elementAt | ( | screenPosition | ) |
Returns the OSM element at the given screen position, if any.
◆ elementLongPressed
|
signal |
Emitted when a map element has been long-pressed.
◆ elementPicked
|
signal |
Emitted when a map element has been picked by clicking/tapping on it.
◆ mapEventPointToScreen()
void IndoorMap::mapEventPointToScreen | ( | eventPoint | ) |
Map an event handler EventPoint to map screen coordinates.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 3 2024 11:50:52 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.