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 Statement: | import QtLocation 5.3 |
开始支持版本: | Qt Location 5.9 |
属性
- type : string
详细描述
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.
属性
Set-once property which holds a string defining the type of the MapParameter