QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
21 result.mIsValid =
false;
22 result.mErrorString = errorMessage;
28 , mIdentifier( identifier )
29 , mGeometry( geometry )
const QgsCoordinateReferenceSystem & crs
void setGroup(const QString &group)
Sets the optional group value for the result.
QgsGeocoderResult(const QString &identifier, const QgsGeometry &geometry, const QgsCoordinateReferenceSystem &crs)
Constructor for a valid QgsGeocoderResult, with the specified geometry and crs.
void setDescription(const QString &description)
Sets an optional description for the result.
This class represents a coordinate reference system (CRS).
QString group() const
Returns the optional group value for the result.
static QgsGeocoderResult errorResult(const QString &errorMessage)
Creates an invalid error result, with the specified errorMessage string.
Represents a matching result from a geocoder search.
A geometry is the spatial representation of a feature.
QString description() const
Returns the optional description for the result.