Skip to content

Class QfCoordinateLocator

ClassList > QfCoordinateLocator

Inherits the following classes: QtQuick::Item

Inherited by the following classes: CoordinateLocator

Public Properties

Type Name
property bool averagedPosition
property int averagedPositionCount
property real crossHalfLength
property variant currentCoordinate
property alias currentLayer
property color cursorFillColor
property color cursorOutlineColor
property real cursorSizeScale
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 QfCoordinateLocator::averagedPosition;

property averagedPositionCount

int QfCoordinateLocator::averagedPositionCount;

property crossHalfLength

real QfCoordinateLocator::crossHalfLength;

Remark:

This property is read-only


property currentCoordinate

variant QfCoordinateLocator::currentCoordinate;

Remark:

This property is read-only


property currentLayer

alias QfCoordinateLocator::currentLayer;

Set the current layer on which snapping should be performed.


property cursorFillColor

color QfCoordinateLocator::cursorFillColor;

property cursorOutlineColor

color QfCoordinateLocator::cursorOutlineColor;

property cursorSizeScale

real QfCoordinateLocator::cursorSizeScale;

property displayPosition

point QfCoordinateLocator::displayPosition;

Remark:

This property is read-only


property highlightColor

color QfCoordinateLocator::highlightColor;

property mainColor

color QfCoordinateLocator::mainColor;

property mapSettings

QgsQuickMapSettings QfCoordinateLocator::mapSettings;

property overrideLocation

variant QfCoordinateLocator::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 QfCoordinateLocator::positionInformation;

Position-related information


property positionLocked

bool QfCoordinateLocator::positionLocked;

property rubberbandModel

variant QfCoordinateLocator::rubberbandModel;

property snapToCommonAngles

bool QfCoordinateLocator::snapToCommonAngles;

Snapping-related information


property snappedCoordinate

alias QfCoordinateLocator::snappedCoordinate;

Remark:

This property is read-only


property snappedPoint

alias QfCoordinateLocator::snappedPoint;

Remark:

This property is read-only


property snappingAngleDegrees

real QfCoordinateLocator::snappingAngleDegrees;

property snappingIsRelative

bool QfCoordinateLocator::snappingIsRelative;

property snappingTolerance

real QfCoordinateLocator::snappingTolerance;

property sourceLocation

variant QfCoordinateLocator::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 QfCoordinateLocator::topSnappingResult;

Remark:

This property is read-only



The documentation for this class was generated from the following file src/app/qml/QfCoordinateLocator.qml