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
Photon
Class Photon
Implementation of the
Photon
geocoder
Hierarchy
Photon
Implements
IGeocoder
Index
Constructors
constructor
Methods
_decode
Feature
Name
_decode
Features
geocode
reverse
suggest
Object literals
options
Constructors
constructor
new
Photon
(
options
?:
Partial
<
PhotonOptions
>
)
:
Photon
Parameters
Optional
options:
Partial
<
PhotonOptions
>
Returns
Photon
Methods
_decode
Feature
Name
_decode
Feature
Name
(
f
:
Feature
)
:
string
Parameters
f:
Feature
Returns
string
_decode
Features
_decode
Features
(
data
:
FeatureCollection
<
Point
>
)
:
GeocodingResult
[]
Parameters
data:
FeatureCollection
<
Point
>
Returns
GeocodingResult
[]
geocode
geocode
(
query
:
string
, cb
:
GeocodingCallback
, context
?:
any
)
:
void
Parameters
query:
string
cb:
GeocodingCallback
Optional
context:
any
Returns
void
reverse
reverse
(
latLng
:
LatLngLiteral
, scale
:
number
, cb
:
GeocodingCallback
, context
?:
any
)
:
void
Parameters
latLng:
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
name
Properties
name
Properties
:
string
[]
= ['name', 'street', 'suburb', 'hamlet', 'town', 'city', 'state', 'country']
reverse
Url
reverse
Url
:
string
= "https://photon.komoot.io/reverse/"
service
Url
service
Url
:
string
= "https://photon.komoot.io/api/"
Globals
Photon
constructor
_decode
Feature
Name
_decode
Features
geocode
reverse
suggest
options
Generated using
TypeDoc
Implementation of the Photon geocoder