knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
NOTE: Mapzen has shut down. However, the rmapzen package can be used with other PELIAS providers. The specific hosting service can be set up with mz_set_host
. For known providers, rmapzen
includes pre-configured API set up functions:
mz_set_search_host_geocode.earth
to set up geocode.earth as a search (includes geocoding, autocomplete, etc) providermz_set_search_host_nyc_geosearch()
to set up GeoSearch from NYC Planning Labs (currently in beta) as a search provider.mz_set_tile_host_nextzen
to set up Nextzen as a vector tile providerIf you know of an API that uses PELIAS that is not included here, let me know.
rmapzen
is a client for the Mapzen API. For an introduction, detailed examples, and installation instructions, see: https://tarakc02.github.io/rmapzen/. The package is available on CRAN, to install:
install.packages("rmapzen")
For more information about the Mapzen API, see https://www.mapzen.com/documentation/.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.