Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SearchForPositionResult

import type { SearchForPositionResult } from "https://aws-api.deno.dev/v0.3/services/location.ts?docs=full";

Contains a search result from a position search query that is run on a place index resource.

interface SearchForPositionResult {
Distance: number;
Place: Place;
}

§Properties

§
Distance: number
[src]

The distance in meters of a great-circle arc between the query position and the result.

Note: A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.

§
Place: Place
[src]

Details about the search result, such as its address and position.