Qt 5.9 | Qt Location | QML Types | MapParameter QML Type

Qt 5.9.4 Reference Documentation

# 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

- List of all members, including inherited members

## Properties

- type : string

## 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