nlgeocoder (version 0.1.3)

addPdokTiles: Leaflet function to add pdok tiles

Description

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

Usage

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

Arguments

map

leaflet object

type

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

group

group is set equal to type

...

Passed to 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.