addGraticule {leaflet} | R Documentation

## Add a Graticule on the map see https://github.com/turban/Leaflet.Graticule

### Description

Add a Graticule on the map see https://github.com/turban/Leaflet.Graticule

### Usage

    addGraticule(map, interval = 20, sphere = FALSE, style = list(color =
      "#333", weight = 1), layerId = NULL, group = NULL,
      options = pathOptions(pointerEvents = "none", clickable = FALSE))

### Arguments

`map` | a map widget object
`interval` | The spacing in map units between horizontal and vertical lines.
`sphere` | boolean. Default FALSE
`style` | path options for the generated lines. See http://leafletjs.com/reference.html#path-options
`layerId` | the layer id
`group` | the name of the group this layer belongs to.
`options` | the path options for the graticule layer

### Examples

    library(leaflet)

    leaf <- leaflet() %>%
      addTiles() %>%
      addGraticule()

[Package leaflet version 1.1.0 Index]