Skip to content

Commit ae2ffde

Browse files
committed
update leaflet.js links to point to v1.3.1
1 parent 5eb8181 commit ae2ffde

18 files changed

+34
-34
lines changed

R/layers.R

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ groupOptions <- function(map, group, zoomLevels = NULL) {
147147
#' \code{\link{popupOptions}}, \code{\link{markerOptions}},
148148
#' \code{\link{pathOptions}}
149149
#' @references The Leaflet API documentation:
150-
#' \url{http://leafletjs.com/reference-1.2.0.html}
150+
#' \url{http://leafletjs.com/reference-1.3.1.html}
151151
#' @describeIn map-layers Add a tile layer to the map
152152
#' @export
153153
addTiles <- function(
@@ -338,7 +338,7 @@ clearImages <- function(map) {
338338
#' @param
339339
#' minZoom,maxZoom,maxNativeZoom,tileSize,subdomains,errorTileUrl,tms,noWrap,zoomOffset,zoomReverse,zIndex,unloadInvisibleTiles,updateWhenIdle,detectRetina
340340
#' the tile layer options; see
341-
#' \url{http://leafletjs.com/reference-1.2.0.html#tilelayer}
341+
#' \url{http://leafletjs.com/reference-1.3.1.html#tilelayer}
342342
#' @param ... extra options passed to underlying Javascript object constructor.
343343
#' @describeIn map-options Options for tile layers
344344
#' @export
@@ -480,7 +480,7 @@ addPopups <- function(
480480
#' @param className a CSS class name set on an element
481481
#' @param
482482
#' maxWidth,minWidth,maxHeight,autoPan,keepInView,closeButton,zoomAnimation,closeOnClick
483-
#' popup options; see \url{http://leafletjs.com/reference-1.2.0.html#popup-option}
483+
#' popup options; see \url{http://leafletjs.com/reference-1.3.1.html#popup-option}
484484
#' @describeIn map-options Options for popups
485485
#' @export
486486
popupOptions <- function(
@@ -545,7 +545,7 @@ safeLabel <- function(label, data) {
545545

546546
#' @param
547547
#' noHide,direction,offset,textsize,textOnly,style,permanent
548-
#' label options; see \url{http://leafletjs.com/reference-1.2.0.html#tooltip-option}
548+
#' label options; see \url{http://leafletjs.com/reference-1.3.1.html#tooltip-option}
549549
#' @describeIn map-options Options for labels
550550
#' @export
551551
labelOptions <- function(
@@ -860,7 +860,7 @@ b64EncodePackedIcons <- function(packedIcons) {
860860
#' @param clickable DEPRECATED! Use the \code{interactive} option.
861861
#' @param
862862
#' draggable,keyboard,title,alt,zIndexOffset,opacity,riseOnHover,riseOffset
863-
#' marker options; see \url{http://leafletjs.com/reference-1.2.0.html#marker-option}
863+
#' marker options; see \url{http://leafletjs.com/reference-1.3.1.html#marker-option}
864864
#' @describeIn map-options Options for markers
865865
#' @export
866866
markerOptions <- function(
@@ -893,7 +893,7 @@ markerOptions <- function(
893893
#' spiderfy it so you can see all of its markers
894894
#' @param removeOutsideVisibleBounds clusters and markers too far from the
895895
#' viewport are removed from the map for performance
896-
#' @param spiderLegPolylineOptions Allows you to specify PolylineOptions (\url{http://leafletjs.com/reference-1.2.0.html#polyline-option}) to style spider legs. By default, they are { weight: 1.5, color: "#222", opacity: 0.5 }
896+
#' @param spiderLegPolylineOptions Allows you to specify PolylineOptions (\url{http://leafletjs.com/reference-1.3.1.html#polyline-option}) to style spider legs. By default, they are { weight: 1.5, color: "#222", opacity: 0.5 }
897897
#' @param freezeAtZoom Allows you to freeze cluster expansion to a zoom level.
898898
#' Can be a zoom level e.g. 10, 12 or "max" or "maxKeepSpiderify"
899899
#' See \url{https://github.com/ghybs/Leaflet.MarkerCluster.Freezable#api-reference}
@@ -1257,7 +1257,7 @@ clearGeoJSON <- function(map) {
12571257
#' Add UI controls to switch layers on and off
12581258
#'
12591259
#' Uses Leaflet's built-in
1260-
#' \href{http://leafletjs.com/reference-1.2.0.html#control-layers}{layers control}
1260+
#' \href{http://leafletjs.com/reference-1.3.1.html#control-layers}{layers control}
12611261
#' feature to allow users to choose one of several base layers, and to choose
12621262
#' any number of overlay layers to view.
12631263
#'

R/leaflet.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ mapOptions <- function(map, zoomToLimits = c("always", "first", "never")) {
121121
#' @param worldCopyJump With this option enabled, the map tracks when you pan to another "copy" of the world and seamlessly jumps to the original one so that all overlays like markers and vector layers are still visible.
122122
#' @param ... other options.
123123
#' @describeIn leaflet Options for map creation
124-
#' @seealso \url{http://leafletjs.com/reference-1.2.0.html#map-option} for details.
124+
#' @seealso \url{http://leafletjs.com/reference-1.3.1.html#map-option} for details.
125125
#' @export
126126
leafletOptions <- function(
127127
minZoom = NULL,

R/methods.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
#' @param lat The latitude of the map center
77
#' @param zoom the zoom level
88
#' @param options a list of zoom/pan options (see
9-
#' \url{http://leafletjs.com/reference-1.2.0.html#zoom/pan-options})
10-
#' @references \url{http://leafletjs.com/reference-1.2.0.html#map-methods-for-modifying-map-state}
9+
#' \url{http://leafletjs.com/reference-1.3.1.html#zoom/pan-options})
10+
#' @references \url{http://leafletjs.com/reference-1.3.1.html#map-methods-for-modifying-map-state}
1111
#' @return The modified map widget.
1212
#' @describeIn map-methods Set the view of the map (center and zoom level)
1313
#' @export

R/plugin-graticule.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ leafletGraticuleDependencies <- function() {
1515
#' @param map a map widget object
1616
#' @param interval The spacing in map units between horizontal and vertical lines.
1717
#' @param sphere boolean. Default FALSE
18-
#' @param style path options for the generated lines. See \url{http://leafletjs.com/reference-1.2.0.html#path-option}
18+
#' @param style path options for the generated lines. See \url{http://leafletjs.com/reference-1.3.1.html#path-option}
1919
#' @param layerId the layer id
2020
#' @param group the name of the group this layer belongs to.
2121
#' @param options the path options for the graticule layer

R/plugin-measure.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ leafletMeasureDependencies <- function() {
1313
#' Add a measure control to the map.
1414
#'
1515
#' @param map a map widget object
16-
#' @param position standard \href{http://leafletjs.com/reference-1.2.0.html#control-positions}{Leaflet control position options}.
16+
#' @param position standard \href{http://leafletjs.com/reference-1.3.1.html#control-positions}{Leaflet control position options}.
1717
#' @param primaryLengthUnit,secondaryLengthUnit units used to display length
1818
#' results. secondaryLengthUnit is optional.
1919
#' Valid values are \code{"feet"}, \code{"meters"}, \code{"miles"}, and \code{"kilometers"}.
@@ -28,7 +28,7 @@ leafletMeasureDependencies <- function() {
2828
#' Value should be a color represented as a hexadecimal string.
2929
#' @param popupOptions \code{list} of options applied to the popup
3030
#' of the resulting measure feature.
31-
#' Properties may be any \href{http://leafletjs.com/reference-1.2.0.html#popup-option}{standard Leaflet popup options}.
31+
#' Properties may be any \href{http://leafletjs.com/reference-1.3.1.html#popup-option}{standard Leaflet popup options}.
3232
#' @param captureZIndex Z-index of the marker used to capture measure clicks.
3333
#' Set this value higher than the z-index of all other map layers to
3434
#' disable click events on other layers while a measurement is active.

R/plugin-minimap.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ leafletMiniMapDependencies <- function() {
4545
#' Especially useful when 'zoomLevelFixed' is set.
4646
#' @param minimized Sets whether the minimap should start in a minimized position.
4747
#' @param aimingRectOptions Sets the style of the aiming rectangle by passing in
48-
#' a Path.Options (\url{http://leafletjs.com/reference-1.2.0.html#path-options}) object.
48+
#' a Path.Options (\url{http://leafletjs.com/reference-1.3.1.html#path-options}) object.
4949
#' (Clickable will always be overridden and set to false.)
5050
#' @param shadowRectOptions Sets the style of the aiming shadow rectangle by passing in
51-
#' a Path.Options (\url{http://leafletjs.com/reference-1.2.0.html#path-option}) object.
51+
#' a Path.Options (\url{http://leafletjs.com/reference-1.3.1.html#path-option}) object.
5252
#' (Clickable will always be overridden and set to false.)
5353
#' @param strings Overrides the default strings allowing for translation.
5454
#' @param tiles URL for tiles or one of the pre-defined providers.

R/plugin-providers.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ addProviderTiles <- function(
5050
#' @param
5151
#' errorTileUrl,noWrap,opacity,zIndex,updateWhenIdle,detectRetina
5252
#' the tile layer options; see
53-
#' \url{http://leafletjs.com/reference-1.2.0.html#tilelayer}
53+
#' \url{http://leafletjs.com/reference-1.3.1.html#tilelayer}
5454
#' @param ... named parameters to add to the options
5555
#' @rdname addProviderTiles
5656
#' @export

R/scalebar.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#' Add or remove a scale bar
22
#'
33
#' Uses Leaflet's built-in
4-
#' \href{http://leafletjs.com/reference-1.2.0.html#control-scale}{scale bar}
4+
#' \href{http://leafletjs.com/reference-1.3.1.html#control-scale}{scale bar}
55
#' feature to add a scale bar.
66
#'
77
#' @param map the map to add the scale bar to

man/addGraticule.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/addLayersControl.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)