Nothing
knitr::opts_chunk$set(echo = FALSE) library(leaflet) library(sf)
nl_geocode
ggmap::geocode
same argument names.one location per address (with highest score).
nl_free
returns a sf
object:
POINT
/ centroid, not the complete geometry.type
: returned object should be: "address", "street", "postcode", "town", "municipality", "neighborhood", "province" etc.
nl_free
, nl_suggest
, nl_lookup
wrap each pdok service faithfully:
However:
addPdokTiles
Utility function to provide pdok tiles in leaflet
: maps for Dutch regions:
library(leaflet) leaflet() %>% addPdokTiles() %>% # do your mapping thing
library(nlgeocoder) library(leaflet) r <- nl_geocode("Henri Faasdreef 312") # uRos 2018 Conference! leaflet() %>% addPdokTiles("gray") %>% addMarkers(data = r, popup = "uRos2018!")
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.