IndoorMap

Search for usage in LXR

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)
 
void longPressed (mapPointerEvent event)
 
void tapped (mapPointerEvent event)
 

Public Member Functions

void elementAt (screenPosition)
 
void mapEventPointToGeo (eventPoint)
 
void mapEventPointToScreen (eventPoint)
 

Detailed Description

QML item for displaying a train station or airport map.

Definition at line 10 of file IndoorMap.qml.

Property Documentation

◆ floorLevels

alias IndoorMap::floorLevels
read

Floor level model.

Definition at line 17 of file IndoorMap.qml.

◆ hasError

alias IndoorMap::hasError
read

There is something preventing displaying a map.

Definition at line 21 of file IndoorMap.qml.

◆ hoveredElement

alias IndoorMap::hoveredElement
read

Currently hovered element.

Definition at line 31 of file IndoorMap.qml.

◆ mapData

alias IndoorMap::mapData
read

Access to the map data, for feeding into content-specific models.

Definition at line 23 of file IndoorMap.qml.

◆ mapLoader

alias IndoorMap::mapLoader
read

Access to map loading status and progress.

Definition at line 13 of file IndoorMap.qml.

◆ overlaySources

alias IndoorMap::overlaySources
read

Access to overlay sources.

Definition at line 25 of file IndoorMap.qml.

◆ region

alias IndoorMap::region
read

ISO 3166-1/2 country or region code for opening hours interpretation.

Definition at line 27 of file IndoorMap.qml.

◆ styleSheet

alias IndoorMap::styleSheet
read

Path to a MapCSS style sheet used for rendering the map.

Definition at line 15 of file IndoorMap.qml.

◆ timeZone

alias IndoorMap::timeZone
read

IANA timezone id for opening hours interpretation.

Definition at line 29 of file IndoorMap.qml.

◆ view

alias IndoorMap::view
read

Access to the view transformation and floor level selection.

Definition at line 19 of file IndoorMap.qml.

Member Function Documentation

◆ elementAt()

void IndoorMap::elementAt ( screenPosition )

Returns the OSM element at the given screen position, if any.

◆ elementLongPressed

void IndoorMap::elementLongPressed ( var element)
signal

Emitted when a map element has been long-pressed.

Deprecated
Use longPressed() instead.

◆ elementPicked

void IndoorMap::elementPicked ( var element)
signal

Emitted when a map element has been picked by clicking/tapping on it.

Deprecated
Use tapped() instead.

◆ longPressed

void IndoorMap::longPressed ( mapPointerEvent event)
signal

Emitted on a long press event on the map.

◆ mapEventPointToGeo()

void IndoorMap::mapEventPointToGeo ( eventPoint )

Map an event handler EventPoint to geo coordinates.

◆ mapEventPointToScreen()

void IndoorMap::mapEventPointToScreen ( eventPoint )

Map an event handler EventPoint to map screen coordinates.

◆ tapped

void IndoorMap::tapped ( mapPointerEvent event)
signal

Emitted on a tap or click event on the map.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:06:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.