Class CoordinateLocator
Inherits the following classes: QtQuick::Item
Public Properties
| Type | Name |
|---|---|
| property bool | averagedPosition |
| property int | averagedPositionCount |
| property variant | currentCoordinate |
| property alias | currentLayer |
| property point | displayPosition |
| property color | highlightColor |
| property color | mainColor |
| property QgsQuickMapSettings | mapSettings |
| property variant | overrideLocation |
| property var | positionInformation |
| property bool | positionLocked |
| property variant | rubberbandModel |
| property bool | snapToCommonAngles |
| property alias | snappedCoordinate |
| property alias | snappedPoint |
| property real | snappingAngleDegrees |
| property bool | snappingIsRelative |
| property real | snappingTolerance |
| property variant | sourceLocation |
| property alias | topSnappingResult |
Public Properties Documentation
property averagedPosition
bool CoordinateLocator::averagedPosition;
property averagedPositionCount
int CoordinateLocator::averagedPositionCount;
property currentCoordinate
variant CoordinateLocator::currentCoordinate;
Remark:
This property is read-only
property currentLayer
alias CoordinateLocator::currentLayer;
Set the current layer on which snapping should be performed.
property displayPosition
point CoordinateLocator::displayPosition;
Remark:
This property is read-only
property highlightColor
color CoordinateLocator::highlightColor;
property mainColor
color CoordinateLocator::mainColor;
property mapSettings
QgsQuickMapSettings CoordinateLocator::mapSettings;
property overrideLocation
variant CoordinateLocator::overrideLocation;
Overrides any possibility for the user to modify the coordinate. There will be no user interaction or snapping if this is set to a QgsPoint. Set this to undefined to revert to the user and snapping controlled behavior.
property positionInformation
var CoordinateLocator::positionInformation;
Position-related information
property positionLocked
bool CoordinateLocator::positionLocked;
property rubberbandModel
variant CoordinateLocator::rubberbandModel;
property snapToCommonAngles
bool CoordinateLocator::snapToCommonAngles;
Snapping-related information
property snappedCoordinate
alias CoordinateLocator::snappedCoordinate;
Remark:
This property is read-only
property snappedPoint
alias CoordinateLocator::snappedPoint;
Remark:
This property is read-only
property snappingAngleDegrees
real CoordinateLocator::snappingAngleDegrees;
property snappingIsRelative
bool CoordinateLocator::snappingIsRelative;
property snappingTolerance
real CoordinateLocator::snappingTolerance;
property sourceLocation
variant CoordinateLocator::sourceLocation;
Source location for snapping. If this is set to undefined, the center of the screen will be used. Overwritten by stylus / hoverHandler.
property topSnappingResult
alias CoordinateLocator::topSnappingResult;
Remark:
This property is read-only
The documentation for this class was generated from the following file src/qml/CoordinateLocator.qml