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


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

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.