bounds

fun bounds(query: String? = null, latLng: LatLng? = null, radius: Double? = null): LatLngBounds

Retrieve Bounds for all your assets or those fulfilling a given query.

Return

AssetAutocompleteResponse

Parameters

query

Search query combining one or more search clauses. See the REST API documentation for more information (optional)

lat

Latitude bias for the results. Should be pass with `lng`. (optional)

lng

Longitude bias for the results. Should be pass with `lat`. (optional)

radius

Unit in meters. Used to combine with lat/lng or encoded polyline. To bias the results within a given circular area. 3000 means to search for Assets that are at the most far from 3kms to search area (latlng or polyline). (optional)

Throws

If the request is not correctly configured

Rethrows the OkHttp execute method exception

If the API returns an informational or redirection response

ClientException

If the API returns a client error response

ServerException

If the API returns a server error response