summaryrefslogtreecommitdiff
path: root/src/location/doc/src
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2022-09-02 15:58:58 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2022-09-09 04:51:58 +0200
commitb6d3431ba621a1aabfd7d1ea3326bf503428a634 (patch)
treecf6daddc6d0cc39689ae56b8ca27134b3432e214 /src/location/doc/src
parent76e21e0fd44b7841f1502eddf87147fa773685a0 (diff)
downloadqtlocation-b6d3431ba621a1aabfd7d1ea3326bf503428a634.tar.gz
Remove QDeclarativeGeoMapType wrapper
Register the QGeoMapType gadget directly as geoMapType (via a Foreign), and adapt QDeclarativeGeoMap to use it, simplifying the code. The type was uncreatable before, and is implicitly uncreatable as a value type now as well. QGeoMapType also needs to be registered as a namespace so that the MapStyle enum is available in QML. Pick-to: 6.2 Change-Id: Ibf0b26eb799005e4fabcbd5496d019da812c8d70 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/location/doc/src')
-rw-r--r--src/location/doc/src/plugins/osm.qdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/location/doc/src/plugins/osm.qdoc b/src/location/doc/src/plugins/osm.qdoc
index 623ad0d1..b4b677d5 100644
--- a/src/location/doc/src/plugins/osm.qdoc
+++ b/src/location/doc/src/plugins/osm.qdoc
@@ -124,19 +124,19 @@ a prefix.
This value is the amount of cache to be used in addition to the bare minimum.
\row
\li osm.mapping.custom.datacopyright
- \li Custom data copryright string is used when setting the \l{Map::activeMapType} to \l{MapType}.CustomMap via urlprefix parameter.
+ \li Custom data copryright string is used when setting the \l{Map::activeMapType} to \l{mapType::style}{MapType.CustomMap} via urlprefix parameter.
This copyright will only be used when using the CustomMap from above. If empty no data copyright will be displayed for the custom map.
\row
\li osm.mapping.custom.host
\li Url string of a custom tile server. This parameter should be set to a valid server url offering the correct osm API.
To use this server, the \l{Map::activeMapType} parameter of the \l Map should be set to the supported map type
- whose type is \l{MapType}.CustomMap.
+ whose type is \l{mapType::style}{MapType.CustomMap}.
This map type is only be available if this plugin parameter is set, in which case it is
always \l{Map::supportedMapTypes}[supportedMapTypes.length - 1].
\note Setting the mapping.custom.host parameter to a new server renders the map tile cache useless for the old custommap style.
\row
\li osm.mapping.custom.mapcopyright
- \li Custom map copryright string is used when setting the \l{Map::activeMapType} to \l{MapType}.CustomMap via urlprefix parameter.
+ \li Custom map copryright string is used when setting the \l{Map::activeMapType} to \l{mapType::style}{MapType.CustomMap} via urlprefix parameter.
This copyright will only be used when using the CustomMap from above. If empty no map copyright will be displayed for the custom map.
\row
\li osm.mapping.highdpi_tiles