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. 更多...

import 语句: import QtLocation 5.3
Since: Qt Location 5.9

特性

详细描述

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.

特性文档编制

type : string

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