File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
library(leaflet )
2
2
# Default
3
- l <- leaflet() %> % addTiles() %> % setView(0 ,0 ,1 )
3
+ l <- leaflet() %> % addTiles() %> % setView(0 ,0 ,2 )
4
4
5
+ # ' Default Graticule
5
6
l %> % addGraticule()
6
7
7
- # Custom Params
8
+ # ' <br/>
9
+ # ' Custom Params
8
10
l %> % addGraticule(interval = 40 , style = list (color = ' #FF0000' , weight = 1 ))
9
11
10
- # on a toggleable Layer
12
+ # ' <br/>
13
+ # ' on a toggleable Layer
11
14
l %> %
12
15
addGraticule(group = " graticule" ) %> %
13
16
addLayersControl(
Original file line number Diff line number Diff line change @@ -2,12 +2,15 @@ library(leaflet)
2
2
# Default
3
3
l <- leaflet() %> % addTiles() %> % setView(0 ,0 ,1 )
4
4
5
+ # ' Default simple Graticule
5
6
l %> % addSimpleGraticule()
6
7
7
- # Custom Params
8
+ # ' <br/>
9
+ # ' Custom Params
8
10
l %> % addSimpleGraticule(interval = 40 , showOriginLabel = F )
9
11
10
- # Custom Resolution + Custom Date and on a toggleable Layer
12
+ # ' <br/>
13
+ # ' Custom Resolution + Custom Date and on a toggleable Layer
11
14
l %> %
12
15
addSimpleGraticule(interval = 40 ,
13
16
showOriginLabel = F ,
You can’t perform that action at this time.
0 commit comments