Interface Geocoder

Index

Methods

Methods

public getURL(): string

Returns

string

public query(queryString: string, callback: Function): any

Queries the geocoder with a query string, and returns its result, if any.

Parameters

  • queryString: string
  • callback: Function

Returns

any

public queryURL(url: string): string

Parameters

  • url: string

Returns

string

public reverseQuery(location: any, callback: Function): any

Queries the geocoder with a location, and returns its result, if any.

Parameters

  • location: any
  • callback: Function

Returns

any

public setID(id: string): any

Parameters

  • id: string

Returns

any

public setTileJSON(tilejson: any): any

Parameters

  • tilejson: any

Returns

any

public setURL(url: string): any

Parameters

  • url: string

Returns

any