|qmake:||QT += positioning|
|QGeoLocation(const QGeoLocation &other)|
|void||setAddress(const QGeoAddress &address)|
|void||setBoundingBox(const QGeoRectangle &boundingBox)|
|void||setCoordinate(const QGeoCoordinate &coordinate)|
|bool||operator!=(const QGeoLocation &other) const|
|QGeoLocation &||operator=(const QGeoLocation &other)|
|bool||operator==(const QGeoLocation &other) const|
The QGeoLocation class represents basic information about a location.
A QGeoLocation consists of a coordinate and corresponding address, along with an optional bounding box which is the recommended region to be displayed when viewing the location.
Constructs an new location object.
Constructs a copy of other
Destroys the location object.
Returns the address of the location.
See also setAddress().
Returns a bounding box which represents the recommended region to display when viewing this location.
For example, a building's location may have a region centered around the building, but the region is large enough to show it's immediate surrounding geographical context.
See also setBoundingBox().
Returns the coordinate of the location.
See also setCoordinate().
Returns true if all fields of the location are 0; otherwise returns false.
Sets the address of the location.
See also address().
Sets the boundingBox of the location.
See also boundingBox().
Sets the coordinate of the location.
See also coordinate().
Returns true if this location is not equal to other, otherwise returns false.
Assigns other to this location and returns a reference to this location.
Returns true if this location is equal to other, otherwise returns false.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: