mz_set_host {rmapzen} | R Documentation |
Set up a host provider for a PELIAS service
Description
rmapzen works with most implementations of PELIAS. Use this function to set up the basic information required to connect to a particular provider. Provider-specific setup functions include information to set up known providers.
Usage
mz_set_host(which, provider)
mz_get_host(which)
mz_set_search_host_geocode.earth(key = Sys.getenv("GEOCODE.EARTH_KEY"))
mz_set_search_host_nyc_geosearch()
mz_set_tile_host_nextzen(key = Sys.getenv("NEXTZEN_KEY"))
Arguments
which |
One of "search", "matrix", or "tile" |
provider |
A provider, created using |
key |
API key |
See Also
[Package rmapzen version 0.5.1 Index]