Skip to contents

This function adds PDOK tile layers to leaflet::leaflet(). It is a small wrapper around leaflet::addTiles() that sets the correct urls for the layers.

Usage

addPdokTiles(
  map,
  type = c("brt", "aerial", "pastel", "gray"),
  group = match.arg(type),
  options,
  ...
)

Arguments

map

leaflet object

type

one of the PDOK tiles: currently: "brt", "aerial", "pastel" or "gray"

group

group is set equal to type

options

passed to leaflet::addTiles()

...

Passed to leaflet::addTiles().

Details

PDOK provides tiles that can be used as a tile layer in several geovisualization tools including leaflet. The layers differ from other tile layers such as Openstreetmap, Google and cartomap in the following manner:

  • The tiles are restricted to the Netherlands: tiles accross the Dutch border are "grayed out". This is useful for cartographic applications that are restricted to Dutch geo-information.

  • The tiles are open source and based on open sourced geo-information.