Interface GeocoderControl

Index

Methods

Methods

public getURL(): string

Returns

string

public on(event: string, callback: Function): any

Bind a listener to an event emitted by the geocoder control. Supported additional events are

Parameters

  • event: string
  • callback: Function

Returns

any

public onAdd(map: Map): any

Parameters

Returns

any

public setID(id: string): any

Set the map id used for geocoding.

Parameters

  • id: string

Returns

any

public setTileJSON(tilejson: any): any

Set the TileJSON used for geocoding.

Parameters

  • tilejson: any

Returns

any

public setURL(url: string): any

Set the url used for geocoding.

Parameters

  • url: string

Returns

any