@itwin/core-frontend
Version:
iTwin.js frontend components
19 lines • 993 B
TypeScript
/** @packageDocumentation
* @module Tiles
*/
import { GlobalLocation } from "./ViewGlobalLocation";
/** Provides an interface to the [Bing Maps location services](https://docs.microsoft.com/en-us/bingmaps/rest-services/locations/).
* @public
* @extensions
*/
export declare class BingLocationProvider {
private _locationRequestTemplate;
constructor();
/** Return the location of a query (or undefined if not found). The strings "Space Needle" (a landmark) and "1 Microsoft Way Redmond WA" (an address) are examples of query strings with location information.
* These strings can be specified as a structured URL parameter or as a query parameter value. See [Bing Location Services documentation](https://docs.microsoft.com/en-us/bingmaps/rest-services/locations/find-a-location-by-query) for additional
* information on queries.
* @public
*/
getLocation(query: string): Promise<GlobalLocation | undefined>;
}
//# sourceMappingURL=BingLocation.d.ts.map