![]() |
Qt 6.x
The Qt SDK
|
#include <qgeomaptype_p.h>
Inheritance diagram for QGeoMapType:
Collaboration diagram for QGeoMapType:Public Types | |
| enum | MapStyle { NoMap = 0 , StreetMap , SatelliteMapDay , SatelliteMapNight , TerrainMap , HybridMap , TransitMap , GrayStreetMap , PedestrianMap , CarNavigationMap , CycleMap , CustomMap = 100 } |
Public Member Functions | |
| QGeoMapType () | |
| \qmltype mapType \inqmlmodule QtLocation | |
| QGeoMapType (const QGeoMapType &other) noexcept | |
| QGeoMapType (QGeoMapType &&other) noexcept=default | |
| QGeoMapType (MapStyle style, const QString &name, const QString &description, bool mobile, bool night, int mapId, const QByteArray &pluginName, const QGeoCameraCapabilities &cameraCapabilities, const QVariantMap &metadata=QVariantMap()) | |
| ~QGeoMapType () | |
| QGeoMapType & | operator= (const QGeoMapType &other) noexcept |
| void | swap (QGeoMapType &other) noexcept |
| MapStyle | style () const |
| \qmlproperty enumeration mapType::style | |
| QString | name () const |
| \qmlproperty string mapType::name | |
| QString | description () const |
| \qmlproperty string mapType::description | |
| bool | mobile () const |
| \qmlproperty bool mapType::mobile | |
| bool | night () const |
| \qmlproperty bool mapType::night | |
| int | mapId () const |
| QByteArray | pluginName () const |
| QGeoCameraCapabilities | cameraCapabilities () const |
| \qmlproperty CameraCapabilities mapType::cameraCapabilities | |
| QVariantMap | metadata () const |
| \qmlproperty VariantMap mapType::metadata | |
Properties | |
| QML_STRUCTURED_VALUEMapStyle | style |
| QString | name |
| QString | description |
| bool | mobile |
| bool | night |
| QGeoCameraCapabilities | cameraCapabilities |
| QVariantMap | metadata |
Friends | |
| bool | operator== (const QGeoMapType &lhs, const QGeoMapType &rhs) noexcept |
| bool | operator!= (const QGeoMapType &lhs, const QGeoMapType &rhs) noexcept |
Definition at line 31 of file qgeomaptype_p.h.
| Enumerator | |
|---|---|
| NoMap | |
| StreetMap | |
| SatelliteMapDay | |
| SatelliteMapNight | |
| TerrainMap | |
| HybridMap | |
| TransitMap | |
| GrayStreetMap | |
| PedestrianMap | |
| CarNavigationMap | |
| CycleMap | |
| CustomMap | |
Definition at line 48 of file qgeomaptype_p.h.
| QT_BEGIN_NAMESPACE QGeoMapType::QGeoMapType | ( | ) |
\qmltype mapType \inqmlmodule QtLocation
The mapType type holds information about a map type.
This includes the map type's \l name and \l description, the \l style and a flag to indicate if the map type is optimized for mobile devices (\l mobile).
Definition at line 23 of file qgeomaptype.cpp.
|
defaultnoexcept |
|
defaultnoexcept |
| QGeoMapType::QGeoMapType | ( | QGeoMapType::MapStyle | style, |
| const QString & | name, | ||
| const QString & | description, | ||
| bool | mobile, | ||
| bool | night, | ||
| int | mapId, | ||
| const QByteArray & | pluginName, | ||
| const QGeoCameraCapabilities & | cameraCapabilities, | ||
| const QVariantMap & | metadata = QVariantMap() |
||
| ) |
Definition at line 28 of file qgeomaptype.cpp.
|
default |
| QGeoCameraCapabilities QGeoMapType::cameraCapabilities | ( | ) | const |
\qmlproperty CameraCapabilities mapType::cameraCapabilities
This property holds the camera capabilities for this map type.
Definition at line 143 of file qgeomaptype.cpp.
References QGeoMapTypePrivate::cameraCapabilities_.
| QString QGeoMapType::description | ( | ) | const |
\qmlproperty string mapType::description
This read-only property holds the description of the map type as a single formatted string.
Definition at line 95 of file qgeomaptype.cpp.
References QGeoMapTypePrivate::description_.
| int QGeoMapType::mapId | ( | ) | const |
Definition at line 126 of file qgeomaptype.cpp.
References QGeoMapTypePrivate::mapId_.
Referenced by GeoTiledMappingManagerEngineEsri::GeoTiledMappingManagerEngineEsri(), QGeoMapPrivate::QGeoMapPrivate(), QGeoTiledMappingManagerEngineNokia::evaluateCopyrightsText(), GeoTiledMappingManagerEngineEsri::mapSource(), QGeoTiledMapOsm::onProviderDataUpdated(), setSSL(), QGeoCameraTilesPrivate::tilesFromPolygon(), QGeoTileProviderOsm::updateCameraCapabilities(), and QGeoCameraTilesPrivate::updateMetadata().
Here is the caller graph for this function:| QVariantMap QGeoMapType::metadata | ( | ) | const |
\qmlproperty VariantMap mapType::metadata
This property holds optional, extra metadata related to a specific map type. The content of this property is entirely plugin-specific.
Definition at line 155 of file qgeomaptype.cpp.
References QGeoMapTypePrivate::metadata_.
| bool QGeoMapType::mobile | ( | ) | const |
\qmlproperty bool mapType::mobile
Whether the map type is optimized for the use on a mobile device.
Map types for mobile devices usually have higher constrast to counteract the effects of sunlight and a reduced color for improved readability.
Definition at line 108 of file qgeomaptype.cpp.
References QGeoMapTypePrivate::mobile_.
| QString QGeoMapType::name | ( | ) | const |
\qmlproperty string mapType::name
This read-only property holds the name of the map type as a single formatted string.
Definition at line 84 of file qgeomaptype.cpp.
References QGeoMapTypePrivate::name_.
| bool QGeoMapType::night | ( | ) | const |
\qmlproperty bool mapType::night
Whether the map type is optimized for use at night.
Map types suitable for use at night usually have a dark background.
Definition at line 121 of file qgeomaptype.cpp.
References QGeoMapTypePrivate::night_.
|
noexcept |
Definition at line 39 of file qgeomaptype.cpp.
References other().
Here is the call graph for this function:| QByteArray QGeoMapType::pluginName | ( | ) | const |
Definition at line 131 of file qgeomaptype.cpp.
References QGeoMapTypePrivate::pluginName_.
Referenced by QDeclarativeGeoMap::setActiveMapType(), setSSL(), and QGeoTileProviderOsm::updateCameraCapabilities().
Here is the caller graph for this function:| QGeoMapType::MapStyle QGeoMapType::style | ( | ) | const |
\qmlproperty enumeration mapType::style
This read-only property gives access to the style of the map type.
\list
Definition at line 73 of file qgeomaptype.cpp.
References QGeoMapTypePrivate::style_.
|
inlinenoexcept |
Definition at line 75 of file qgeomaptype_p.h.
References other().
Here is the call graph for this function:
|
friend |
Definition at line 79 of file qgeomaptype_p.h.
|
friend |
Definition at line 77 of file qgeomaptype_p.h.
|
read |
Definition at line 35 of file qgeomaptype_p.h.
Referenced by QGeoMappingManagerEngine::cameraCapabilities(), and setSSL().
|
read |
Definition at line 35 of file qgeomaptype_p.h.
Referenced by GeoTiledMappingManagerEngineEsri::GeoTiledMappingManagerEngineEsri(), setSSL(), and QGeoTileProviderOsm::updateCameraCapabilities().
|
read |
Definition at line 35 of file qgeomaptype_p.h.
Referenced by setSSL(), and QGeoTileProviderOsm::updateCameraCapabilities().
|
read |
Definition at line 35 of file qgeomaptype_p.h.
Referenced by GeoTiledMappingManagerEngineEsri::GeoTiledMappingManagerEngineEsri(), setSSL(), and QGeoTileProviderOsm::updateCameraCapabilities().
|
read |
Definition at line 35 of file qgeomaptype_p.h.
Referenced by GeoTiledMappingManagerEngineEsri::GeoTiledMappingManagerEngineEsri(), setSSL(), QGeoTileProviderOsm::updateCameraCapabilities(), and QGeoMapMapboxGLPrivate::updateSceneGraph().
|
read |
Definition at line 35 of file qgeomaptype_p.h.
Referenced by GeoTiledMappingManagerEngineEsri::GeoTiledMappingManagerEngineEsri(), setSSL(), and QGeoTileProviderOsm::updateCameraCapabilities().
|
read |
Definition at line 35 of file qgeomaptype_p.h.
Referenced by GeoTiledMappingManagerEngineEsri::GeoTiledMappingManagerEngineEsri(), GeoMapSource::mapStyle(), QGeoTiledMapOsm::onProviderDataUpdated(), setSSL(), and QGeoTileProviderOsm::updateCameraCapabilities().