Skip to content

Class MapCanvas

ClassList > MapCanvas

Inherits the following classes: QfMapCanvas

Public Properties inherited from QfMapCanvas

See QfMapCanvas

Type Name
property real bottomMargin
property bool forceDeferredLayersRepaint
property bool freehandDigitizing
property bool hovered
property bool incrementalRendering
property bool interactive
property bool isMapRotationEnabled
property bool isRendering
property bool jumping
property QgsQuickMapCanvasMap mapCanvasWrapper
property QgsQuickMapSettings mapSettings
property bool mouseAsTouchScreen
Treat mouse and touchpad input as touch screen input.
property bool pinched
property bool previewJobsEnabled
property list< int > previewJobsQuadrants
property real quality
property real rightMargin
property bool smooth

Public Signals inherited from QfMapCanvas

See QfMapCanvas

Type Name
signal void aboutToWheelZoom
Emitted when a zoom action is about to occur, allowing for pre-zoom adjustments.
signal void clicked (var point, var type)
This signal is emitted independently of double tap / click.
signal void confirmedClicked (var point)
This signal is only emitted if there is no double tap/click coming after a short delay.
signal void doubleClicked (var point, var type)
This signal is emitted on a double tap.
signal void longPressReleased (var type)
Emitted when a release happens after a long press.
signal void longPressed (var point, var type)
signal void rightClicked (var point, var type)
This signal is emitted when a right mouse/stylus click occurs.

Public Functions inherited from QfMapCanvas

See QfMapCanvas

Type Name
void freeze (id)
void jumpTo (point, scale=-1, rotation=-1, handleMargins=false, callback=null)
void jumpToPosition (positionSource, scale=-1, rotation=-1, handleMargins=false, callback=null)
void refresh (ignoreFreeze)
void stopRendering ()
void unfreeze (id)
void zoomIn (point)
void zoomOut (point)

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