View source: R/list-geocoders.R
list_geocoders | R Documentation |
Evaluates the logged in user from an authorization token and returns a data.frame containing the available geocoding services for the associated token.
For users who have not signed into a private portal or ArcGIS Online, the public ArcGIS World Geocoder is used. Otherwise, the first available geocoding service associated with your authorization token is used.
list_geocoders(token = arc_token())
default_geocoder(token = arc_token())
token |
an object of class |
The default_geocoder()
will return the ArcGIS World Geocoder if no
token is available. list_geocoder()
requires an authorization
token.
To manually create a GeocodeServer
object, see geocode_server()
.
a data.frame
with columns url
, northLat
, southLat
,
eastLon
, westLon
, name
, suggest
, zoomScale
, placefinding
, batch
.
# Default geocoder object
# ArcGIS World Geocoder b/c no token
default_geocoder()
# Requires an Authorization Token
## Not run:
list_geocoders()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.