CoordApi
getCoordLonLat
Parameters
Name |
Type |
Note |
lat |
Double |
The latitude of where the coord you want to query |
lon |
Double |
The longitude of where the coord you want to query |
Return
DictAddresses
Example
ExpertSdk.getInstance().coordApi.getCoordLonLat(
lat = 0.0,
lon = 0.0
)
if (response.isSuccessful && response.body() != null) {
// Success
val content = response.body()
} else {
// Error
}
getCoordsLonLat
Parameters
Name |
Type |
Note |
lat |
Double |
The latitude of where the coord you want to query |
lon |
Double |
The longitude of where the coord you want to query |
Return
DictAddresses
Example
ExpertSdk.getInstance().coordApi.getCoordsLonLat(
lat = 0.0,
lon = 0.0
)
if (response.isSuccessful && response.body() != null) {
// Success
val content = response.body()
} else {
// Error
}
getCoverageRegionCoordLonLatAddresses
Parameters
Name |
Type |
Note |
lat |
Double |
The latitude of where the coord you want to query |
region |
String |
The region you want to query |
lon |
Double |
The longitude of where the coord you want to query |
Return
DictAddresses
Example
ExpertSdk.getInstance().coordApi.getCoverageRegionCoordLonLatAddresses(
lat = 0.0,
region = "region_example",
lon = 0.0
)
if (response.isSuccessful && response.body() != null) {
// Success
val content = response.body()
} else {
// Error
}
getCoverageRegionCoordsLonLatAddresses
Parameters
Name |
Type |
Note |
lat |
Double |
The latitude of where the coord you want to query |
region |
String |
The region you want to query |
lon |
Double |
The longitude of where the coord you want to query |
Return
DictAddresses
Example
ExpertSdk.getInstance().coordApi.getCoverageRegionCoordsLonLatAddresses(
lat = 0.0,
region = "region_example",
lon = 0.0
)
if (response.isSuccessful && response.body() != null) {
// Success
val content = response.body()
} else {
// Error
}