OSMController
#include <osmcontroller.h>
Inherits from QObject
Public Types
|
Name |
enum class |
Status { Null, Loading, Ready} |
Public Slots
Public Signals
Public Functions
Public Properties
Public Types Documentation
enum Status
Enumerator |
Value |
Description |
Null |
|
|
Loading |
|
|
Ready |
|
|
Public Slots Documentation
slot setMapSource
| void setMapSource(
const QString & mapSource
)
|
Public Signals Documentation
signal statusChanged
signal centerPointChanged
| void centerPointChanged()
|
signal mapSourceChanged
signal scaleChanged
Public Functions Documentation
function OSMController
| explicit OSMController(
QObject * parent =nullptr
)
|
function ~OSMController
| ~OSMController() override
|
function status
function centerPoint
| QVector2D centerPoint() const
|
function locationForNode
| QVector2D locationForNode(
osmium::object_id_type nodeRef
) const
|
function mapSource
| QString mapSource() const
|
function areaModel
| OSMAreaModel * areaModel() const
|
function scale
function nodes
| const std::unordered_map< osmium::object_id_type, std::unique_ptr< OSMNode > > & nodes() const
|
function ways
| const std::vector< std::unique_ptr< OSMWay > > & ways() const
|
function areas
| const std::vector< std::unique_ptr< OSMArea > > & areas() const
|
Public Property Documentation
property centerPoint
property mapSource
property scale
property areaModel
| OSMAreaModel * areaModel;
|
property status
Updated on 2022-10-18 at 11:12:51 +0200