QgsLocatorContext class
Encapsulates the properties relating to the context of a locator search.
Contents
Constructors, destructors, conversion operators
- QgsLocatorContext() defaulted
- Constructor for QgsLocatorContext.
Public variables
- QgsRectangle targetExtent
- Map extent to target in results.
- QgsCoordinateReferenceSystem targetExtentCrs
- Coordinate reference system for the map extent variable.
- bool usingPrefix
- Will be true if search is being conducted using a filter prefix.
Variable documentation
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.
QgsCoordinateReferenceSystem QgsLocatorContext:: targetExtentCrs
Coordinate reference system for the map extent variable.