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 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 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.

Member Function Documentation

◆ regionCode()

QString KOSMIndoorMap::MapData::regionCode ( ) const

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

◆ timeZone()

QTimeZone KOSMIndoorMap::MapData::timeZone ( ) const

Timezone the are covered by this map data is in.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 19 2022 04:06:44 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.