geoPath QML Value Type

The geoPath type represents a geographic path. 更多...

import 语句: import QtPositioning

特性

详细描述

The geoPath type is a geoShape that represents a geographic path. It is a direct representation of a QGeoPath and is defined in terms of a path which holds the list of geoCoordinates in the path.

The path is considered invalid if it is empty.

集成 C++ 时,注意任何 QGeoPath value passed into QML from C++ is automatically converted into a geoPath value, and vice versa.

特性文档编制

path : list < geoCoordinate >

This property holds the list of coordinates defining the path.

width : real

This property holds the width of the path in meters. This is currently only used when calling the contains () 方法。

The default value for the width is 0.