AWS Amplify JS API
AWS Amplify JS Dev Center
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Geo
Provider
configure
delete
Geofences
get
Available
Maps
get
Category
get
Default
Map
get
Geofence
get
Provider
Name
list
Geofences
save
Geofences
search
ByCoordinates
search
ByPlace
Id
search
ByText
search
For
Suggestions
Hierarchy
GeoProvider
Implemented by
AmazonLocationServiceProvider
Index
Methods
configure
delete
Geofences
get
Available
Maps
get
Category
get
Default
Map
get
Geofence
get
Provider
Name
list
Geofences
save
Geofences
search
ByCoordinates
search
ByPlace
Id
search
ByText
search
For
Suggestions
Methods
configure
configure
(
config
:
object
)
:
object
Parameters
config:
object
Returns
object
delete
Geofences
delete
Geofences
(
geofenceIds
:
string
[]
, options
?:
GeofenceOptions
, customUserAgentDetails
?:
CustomUserAgentDetails
)
:
Promise
<
DeleteGeofencesResults
>
Parameters
geofenceIds:
string
[]
Optional
options:
GeofenceOptions
Optional
customUserAgentDetails:
CustomUserAgentDetails
Returns
Promise
<
DeleteGeofencesResults
>
get
Available
Maps
get
Available
Maps
(
)
:
MapStyle
[]
Returns
MapStyle
[]
get
Category
get
Category
(
)
:
string
Returns
string
get
Default
Map
get
Default
Map
(
)
:
MapStyle
Returns
MapStyle
get
Geofence
get
Geofence
(
geofenceId
:
GeofenceId
, options
?:
ListGeofenceOptions
, customUserAgentDetails
?:
CustomUserAgentDetails
)
:
Promise
<
Geofence
>
Parameters
geofenceId:
GeofenceId
Optional
options:
ListGeofenceOptions
Optional
customUserAgentDetails:
CustomUserAgentDetails
Returns
Promise
<
Geofence
>
get
Provider
Name
get
Provider
Name
(
)
:
string
Returns
string
list
Geofences
list
Geofences
(
options
?:
ListGeofenceOptions
, customUserAgentDetails
?:
CustomUserAgentDetails
)
:
Promise
<
ListGeofenceResults
>
Parameters
Optional
options:
ListGeofenceOptions
Optional
customUserAgentDetails:
CustomUserAgentDetails
Returns
Promise
<
ListGeofenceResults
>
save
Geofences
save
Geofences
(
geofences
:
GeofenceInput
[]
, options
?:
GeofenceOptions
, customUserAgentDetails
?:
CustomUserAgentDetails
)
:
Promise
<
SaveGeofencesResults
>
Parameters
geofences:
GeofenceInput
[]
Optional
options:
GeofenceOptions
Optional
customUserAgentDetails:
CustomUserAgentDetails
Returns
Promise
<
SaveGeofencesResults
>
search
ByCoordinates
search
ByCoordinates
(
coordinates
:
Coordinates
, options
?:
SearchByCoordinatesOptions
, customUserAgentDetails
?:
CustomUserAgentDetails
)
:
Promise
<
Place
>
Parameters
coordinates:
Coordinates
Optional
options:
SearchByCoordinatesOptions
Optional
customUserAgentDetails:
CustomUserAgentDetails
Returns
Promise
<
Place
>
search
ByPlace
Id
search
ByPlace
Id
(
placeId
:
string
, options
?:
searchByPlaceIdOptions
, customUserAgentDetails
?:
CustomUserAgentDetails
)
:
Promise
<
Place
|
undefined
>
Parameters
placeId:
string
Optional
options:
searchByPlaceIdOptions
Optional
customUserAgentDetails:
CustomUserAgentDetails
Returns
Promise
<
Place
|
undefined
>
search
ByText
search
ByText
(
text
:
string
, options
?:
SearchByTextOptions
, customUserAgentDetails
?:
CustomUserAgentDetails
)
:
Promise
<
Place
[]
>
Parameters
text:
string
Optional
options:
SearchByTextOptions
Optional
customUserAgentDetails:
CustomUserAgentDetails
Returns
Promise
<
Place
[]
>
search
For
Suggestions
search
For
Suggestions
(
text
:
string
, options
?:
SearchByTextOptions
, customUserAgentDetails
?:
CustomUserAgentDetails
)
:
Promise
<
SearchForSuggestionsResults
>
Parameters
text:
string
Optional
options:
SearchByTextOptions
Optional
customUserAgentDetails:
CustomUserAgentDetails
Returns
Promise
<
SearchForSuggestionsResults
>