diff options
author | Tasuku Suzuki <tasuku.suzuki@kdab.com> | 2019-12-23 00:18:45 +0900 |
---|---|---|
committer | Tasuku Suzuki <tasuku.suzuki@kdab.com> | 2020-02-01 18:21:54 +0900 |
commit | 47a0974694f3e0abaca6899da88b4998d4660f2b (patch) | |
tree | f4ef1a740a3e2756931c3a3dde5580164b56261f /src/location/doc | |
parent | e2b0d7541c1aa3c296cc912f1b0364555b7990c9 (diff) | |
download | qtlocation-47a0974694f3e0abaca6899da88b4998d4660f2b.tar.gz |
Replace MapParameter with DynamicParameter in mapboxgl doc
Change-Id: I9a01c76474a0ca9d8a06f9c768f3d16ef97d3be7
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/location/doc')
-rw-r--r-- | src/location/doc/src/plugins/mapboxgl.qdoc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/location/doc/src/plugins/mapboxgl.qdoc b/src/location/doc/src/plugins/mapboxgl.qdoc index 119868d1..e3ca1a82 100644 --- a/src/location/doc/src/plugins/mapboxgl.qdoc +++ b/src/location/doc/src/plugins/mapboxgl.qdoc @@ -151,10 +151,10 @@ The following table lists optional parameters that can be passed to the Mapbox p \section2 Optional map parameters -The \l{QtLocation::Map}{Map} item using this plugin, can also be customized using \l{QtLocation::MapParameter}{MapParameters}, +The \l{QtLocation::Map}{Map} item using this plugin, can also be customized using \l{QtLocation::DynamicParameter}{DynamicParameters}, allowing runtime changes to the map style and data. -Examples of what can be currently controlled using \l{QtLocation::MapParameter}{MapParameter} are: +Examples of what can be currently controlled using \l{QtLocation::DynamicParameter}{DynamicParameter} are: \list \li Hide and show parts of the map, like roads and buildings. @@ -167,7 +167,7 @@ Examples of what can be currently controlled using \l{QtLocation::MapParameter}{ With the exception of extrusion and data driven style properties, every property described at the \l {https://www.mapbox.com/mapbox-gl-js/style-spec/}{Mapbox Style Specification} can be changed at runtime. -The \l{QtLocation::MapParameter}{MapParameters}, used to control the style of the map at runtime, always +The \l{QtLocation::DynamicParameter}{DynamicParameters}, used to control the style of the map at runtime, always have a \b type property, followed by user defined properties that try to match the \l {https://www.mapbox.com/mapbox-gl-js/style-spec/}{Mapbox Style Specification} naming as much as possible, replacing the dash with camel case for technical reasons (i.e. \b line-cap will be translated to \b lineCap). @@ -222,7 +222,7 @@ Map { center: QtPositioning.coordinate(60.170448, 24.942046) // Helsinki zoomLevel: 12 - MapParameter { + DynamicParameter { type: "source" property var name: "routeSource" @@ -233,7 +233,7 @@ Map { 60.16830257086771 ], [ 24.943315386772156, 60.16227776476442 ]]}}]}' } - MapParameter { + DynamicParameter { type: "layer" property var name: "route" @@ -245,7 +245,7 @@ Map { property var before: "road-label-small" } - MapParameter { + DynamicParameter { type: "paint" property var layer: "route" @@ -253,7 +253,7 @@ Map { property var lineWidth: 8.0 } - MapParameter { + DynamicParameter { type: "layout" property var layer: "route" |