public static interface SearchForPositionResult.Builder extends SdkPojo, CopyableBuilder<SearchForPositionResult.Builder,SearchForPositionResult>
| Modifier and Type | Method and Description |
|---|---|
SearchForPositionResult.Builder |
distance(Double distance)
The distance in meters of a great-circle arc between the query position and the result.
|
default SearchForPositionResult.Builder |
place(Consumer<Place.Builder> place)
Details about the search result, such as its address and position.
|
SearchForPositionResult.Builder |
place(Place place)
Details about the search result, such as its address and position.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSearchForPositionResult.Builder distance(Double distance)
The distance in meters of a great-circle arc between the query position and the result.
A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.
distance - The distance in meters of a great-circle arc between the query position and the result. A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.
SearchForPositionResult.Builder place(Place place)
Details about the search result, such as its address and position.
place - Details about the search result, such as its address and position.default SearchForPositionResult.Builder place(Consumer<Place.Builder> place)
Details about the search result, such as its address and position.
This is a convenience that creates an instance of thePlace.Builder avoiding the need to create one
manually via Place.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to place(Place).place - a consumer that will call methods on Place.Builderplace(Place)Copyright © 2022. All rights reserved.