Reuse the existing Mapbox token instead of maintaining a separate Bing Maps key. Note the coordinate order flips to lon,lat for the Mapbox geocoding endpoint.
12 lines
202 B
TypeScript
12 lines
202 B
TypeScript
export default interface ILocationQuery {
|
|
type: string
|
|
features: Array<{
|
|
id: string
|
|
type: string
|
|
place_type: string[]
|
|
text: string
|
|
place_name: string
|
|
center: number[]
|
|
}>
|
|
}
|