-
Notifications
You must be signed in to change notification settings - Fork 507
/
Copy pathaddSimpleGraticule.Rd
46 lines (38 loc) · 1.13 KB
/
addSimpleGraticule.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plugin-simplegraticule.R
\name{addSimpleGraticule}
\alias{addSimpleGraticule}
\title{Add a simple Graticule on the map}
\usage{
addSimpleGraticule(
map,
interval = 20,
showOriginLabel = TRUE,
redraw = "move",
hidden = FALSE,
zoomIntervals = list(),
layerId = NULL,
group = NULL
)
}
\arguments{
\item{map}{a map widget object}
\item{interval}{The spacing in map units between horizontal and vertical lines.}
\item{showOriginLabel}{true Whether or not to show '(0,0)' at the origin.}
\item{redraw}{on which map event to redraw the graticule. On move is default but \code{"moveend"} can be smoother.}
\item{hidden}{hide on start}
\item{zoomIntervals}{use different intervals in different zoom levels. If not specified, all zoom levels use value in interval option.}
\item{layerId}{the layer id}
\item{group}{the name of the group this layer belongs to.}
}
\description{
Add a simple Graticule on the map
}
\examples{
\donttest{leaflet() \%>\%
addTiles() \%>\%
addSimpleGraticule()}
}
\seealso{
\url{https://github.com/ablakey/Leaflet.SimpleGraticule}
}