mz_provider | R Documentation |
rmapzen works with most implementations of PELIAS. This function defines the
base URL for a particular API provider, and can be used to provider the
provider
argument to mz_set_host
.
mz_provider(hostname, path = NULL, key = NULL, scheme = "https")
hostname |
The hostname in the API URL, for instance |
path |
Specific path that all API requests must include, e.g. "v1" |
key |
API key for this provider, if required |
scheme |
The scheme for the URL, should always be "https" |
mz_set_host
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.