Search
Preparing search index...
The search index is not available
leaflet-control-geocoder
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Mapbox
Class Mapbox
Implementation of the
Mapbox Geocoding
Hierarchy
Mapbox
Implements
IGeocoder
Index
Constructors
constructor
Methods
_get
Properties
geocode
reverse
suggest
Object literals
options
Constructors
constructor
new
Mapbox
(
options
?:
Partial
<
MapboxOptions
>
)
:
Mapbox
Parameters
Optional
options:
Partial
<
MapboxOptions
>
Returns
Mapbox
Methods
_get
Properties
_get
Properties
(
loc
:
any
)
:
{
address
:
any
;
text
:
any
}
Parameters
loc:
any
Returns
{
address
:
any
;
text
:
any
}
address
:
any
text
:
any
geocode
geocode
(
query
:
string
, cb
:
GeocodingCallback
, context
?:
any
)
:
void
Parameters
query:
string
cb:
GeocodingCallback
Optional
context:
any
Returns
void
reverse
reverse
(
location
:
LatLngLiteral
, scale
:
number
, cb
:
GeocodingCallback
, context
?:
any
)
:
void
Parameters
location:
LatLngLiteral
scale:
number
cb:
GeocodingCallback
Optional
context:
any
Returns
void
suggest
suggest
(
query
:
string
, cb
:
GeocodingCallback
, context
?:
any
)
:
void
Parameters
query:
string
cb:
GeocodingCallback
Optional
context:
any
Returns
void
Object literals
options
options
:
object
service
Url
service
Url
:
string
= "https://api.mapbox.com/geocoding/v5/mapbox.places/"
Globals
Mapbox
constructor
_get
Properties
geocode
reverse
suggest
options
Generated using
TypeDoc
Implementation of the Mapbox Geocoding