QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
Encapsulates the properties relating to the context of a locator search. More...
#include <qgslocatorcontext.h>
Public Member Functions | |
QgsLocatorContext ()=default | |
Public Attributes | |
QgsRectangle | targetExtent |
Map extent to target in results. | |
QgsCoordinateReferenceSystem | targetExtentCrs |
Coordinate reference system for the map extent variable. | |
QgsCoordinateTransformContext | transformContext |
Coordinate transform context, to use whenever performing coordinate transformations inside a locator. | |
bool | usingPrefix = false |
Will be true if search is being conducted using a filter prefix. | |
Encapsulates the properties relating to the context of a locator search.
Definition at line 31 of file qgslocatorcontext.h.
|
default |
QgsRectangle QgsLocatorContext::targetExtent |
Map extent to target in results.
This can be used to prioritize searching for results close to the current map extent. The CRS for the extent is specified by targetExtentCrs.
Definition at line 43 of file qgslocatorcontext.h.
QgsCoordinateReferenceSystem QgsLocatorContext::targetExtentCrs |
Coordinate reference system for the map extent variable.
Definition at line 49 of file qgslocatorcontext.h.
QgsCoordinateTransformContext QgsLocatorContext::transformContext |
Coordinate transform context, to use whenever performing coordinate transformations inside a locator.
Definition at line 57 of file qgslocatorcontext.h.
bool QgsLocatorContext::usingPrefix = false |
Will be true
if search is being conducted using a filter prefix.
Definition at line 62 of file qgslocatorcontext.h.