KOSMIndoorMap::MapData

Search for usage in LXR

KOSMIndoorMap::MapData Class Reference

#include <mapdata.h>

Properties

QPointF center
 
float radius
 
QString regionCode
 
QString timeZone
 

Public Member Functions

 MapData (const MapData &)
 
 MapData (MapData &&)
 
OSM::BoundingBox boundingBox () const
 
QPointF center () const
 
OSM::DataSetdataSet ()
 
const OSM::DataSetdataSet () const
 
bool isEmpty () const
 
const std::map< MapLevel, std::vector< OSM::Element > > & levelMap () const
 
MapDataoperator= (const MapData &)
 
MapDataoperator= (MapData &&)
 
bool operator== (const MapData &other) const
 
float radius () const
 
QString regionCode () const
 
void setBoundingBox (OSM::BoundingBox bbox)
 
void setDataSet (OSM::DataSet &&dataSet)
 
void setRegionCode (const QString &regionCode)
 
void setTimeZone (const QTimeZone &tz)
 
QTimeZone timeZone () const
 

Detailed Description

Raw OSM map data, separated by levels.

Definition at line 59 of file mapdata.h.

Property Documentation

◆ center

QPointF KOSMIndoorMap::MapData::center
read

Center position of the bounding box for QML usage (longitude/latitude, in degree).

Definition at line 63 of file mapdata.h.

◆ radius

float KOSMIndoorMap::MapData::radius
read

Radius from the bounding box center encompassing the entire bounding box, in meters.

Useful for circular search queries.

Definition at line 67 of file mapdata.h.

◆ regionCode

QString KOSMIndoorMap::MapData::regionCode
read

Definition at line 69 of file mapdata.h.

◆ timeZone

QString KOSMIndoorMap::MapData::timeZone
read

Definition at line 70 of file mapdata.h.

Constructor & Destructor Documentation

◆ MapData()

MapData::MapData ( )
explicit

Definition at line 100 of file mapdata.cpp.

Member Function Documentation

◆ boundingBox()

OSM::BoundingBox MapData::boundingBox ( ) const

Definition at line 146 of file mapdata.cpp.

◆ center()

QPointF MapData::center ( ) const

Definition at line 320 of file mapdata.cpp.

◆ dataSet() [1/2]

OSM::DataSet & MapData::dataSet ( )

Definition at line 127 of file mapdata.cpp.

◆ dataSet() [2/2]

const OSM::DataSet & MapData::dataSet ( ) const

Definition at line 112 of file mapdata.cpp.

◆ isEmpty()

bool MapData::isEmpty ( ) const

Definition at line 117 of file mapdata.cpp.

◆ levelMap()

const std::map< MapLevel, std::vector< OSM::Element > > & MapData::levelMap ( ) const

Definition at line 156 of file mapdata.cpp.

◆ operator==()

bool MapData::operator== ( const MapData & other) const

Definition at line 122 of file mapdata.cpp.

◆ radius()

float MapData::radius ( ) const

Definition at line 325 of file mapdata.cpp.

◆ regionCode()

QString MapData::regionCode ( ) const

ISO 3166-1/2 region or country code of the area covered by this map data.

Definition at line 330 of file mapdata.cpp.

◆ setBoundingBox()

void MapData::setBoundingBox ( OSM::BoundingBox bbox)

Definition at line 151 of file mapdata.cpp.

◆ setDataSet()

void MapData::setDataSet ( OSM::DataSet && dataSet)

Definition at line 132 of file mapdata.cpp.

◆ setRegionCode()

void MapData::setRegionCode ( const QString & regionCode)

Definition at line 335 of file mapdata.cpp.

◆ setTimeZone()

void MapData::setTimeZone ( const QTimeZone & tz)

Definition at line 345 of file mapdata.cpp.

◆ timeZone()

QTimeZone MapData::timeZone ( ) const

Timezone the are covered by this map data is in.

Definition at line 340 of file mapdata.cpp.


The documentation for this class was generated from the following files:
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.