MapParameter QML Type

The MapParameter type represents a parameter for a Map element. This type provides a mean to specify plugin-dependent optional parameters for a map. More...

Import Statement: import QtLocation 5.3
Since: Qt Location 5.9

Properties

Detailed Description

MapParameters by default contain only the type property, and are highly plugin-dependent. For this reason, additional properties have to be defined inside a MapParameter at declaration time, using the QML syntax "property var foo".

What properties have to be put inside a particular MapParameter type for a particular plugin can be found in the documentation of the plugin. Note that MapProperties are optional. By not specifying any of them, the Map will have the default behavior.

The release of this API with Qt 5.9 is a Technology Preview.

Property Documentation

type : string

Set-once property which holds a string defining the type of the MapParameter

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.9/qml-qtlocation-mapparameter.html