Skip to content

Commit d55adb7

Browse files
committed
Update links to be web archives to not be 404 status
1 parent 5e01dca commit d55adb7

23 files changed

+44
-44
lines changed

NEWS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ leaflet 2.0.0
8383

8484
BREAKING CHANGES
8585

86-
* Update to latest leaflet.js v1.3.1 (#453, 314616f) Please see https://leafletjs.com/reference-1.3.4.html for the latest documentation
86+
* Update to latest leaflet.js v1.3.1 (#453, 314616f) Please see https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html for the latest documentation
8787

8888
* All plugins updated to versions compatible with leaflet > 1.0 (#458)
8989

@@ -114,7 +114,7 @@ BUG FIXES AND FEATURES
114114

115115
* Added more providers for `addProviderTiles()`: "OpenStreetMap.CH", "OpenInfraMap", "OpenInfraMap.Power", "OpenInfraMap.Telecom", "OpenInfraMap.Petroleum", "OpenInfraMap.Water", "OpenPtMap", "OpenRailwayMap", "OpenFireMap", "SafeCast". (4aea447)
116116

117-
* `L.multiPolyline` was absorbed into `L.polyline`, which accepts multiple an array of polyline information. https://leafletjs.com/reference-1.3.4.html#polyline. (#515)
117+
* `L.multiPolyline` was absorbed into `L.polyline`, which accepts multiple an array of polyline information. https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#polyline. (#515)
118118

119119
* Fix bug where icons where anchored to the top-center, not center-center (2a60751)
120120

R/layers.R

Lines changed: 9 additions & 9 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{https://leafletjs.com/reference-1.3.4.html}
150+
#' \url{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html}
151151
#' @describeIn map-layers Add a tile layer to the map
152152
#' @export
153153
addTiles <- function(
@@ -340,7 +340,7 @@ clearImages <- function(map) {
340340
#' @param
341341
#' minZoom,maxZoom,maxNativeZoom,tileSize,subdomains,errorTileUrl,tms,noWrap,zoomOffset,zoomReverse,zIndex,unloadInvisibleTiles,updateWhenIdle,detectRetina
342342
#' the tile layer options; see
343-
#' \url{https://leafletjs.com/reference-1.3.4.html#tilelayer}
343+
#' \url{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#tilelayer}
344344
#' @param ... extra options passed to underlying Javascript object constructor.
345345
#' @describeIn map-options Options for tile layers
346346
#' @export
@@ -482,7 +482,7 @@ addPopups <- function(
482482
#' @param className a CSS class name set on an element
483483
#' @param
484484
#' maxWidth,minWidth,maxHeight,autoPan,keepInView,closeButton,closeOnClick
485-
#' popup options; see \url{https://leafletjs.com/reference-1.3.4.html#popup-option}
485+
#' popup options; see \url{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#popup-option}
486486
#' @describeIn map-options Options for popups
487487
#' @export
488488
popupOptions <- function(
@@ -550,13 +550,13 @@ safeLabel <- function(label, data) {
550550

551551
#' @param
552552
#' noHide,direction,offset,permanent
553-
#' label options; see \url{https://leafletjs.com/reference-1.3.4.html#tooltip-option}
554-
#' @param opacity Tooltip container opacity. Ranges from 0 to 1. Default value is \code{1} (different from leaflet.js \code{0.9}); see \url{https://leafletjs.com/reference-1.3.4.html#tooltip-opacity}
553+
#' label options; see \url{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#tooltip-option}
554+
#' @param opacity Tooltip container opacity. Ranges from 0 to 1. Default value is \code{1} (different from leaflet.js \code{0.9}); see \url{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#tooltip-opacity}
555555
#' @param textsize Change the text size of a single tooltip
556556
#' @param textOnly Display only the text, no regular surrounding box.
557557
#' @param style list of css style to be added to the tooltip
558558
#' @param zoomAnimation deprecated. See \url{https://github.com/Leaflet/Leaflet/blob/master/CHANGELOG.md#api-changes-5}
559-
#' @param sticky If true, the tooltip will follow the mouse instead of being fixed at the feature center. Default value is \code{TRUE} (different from leaflet.js \code{FALSE}); see \url{https://leafletjs.com/reference-1.3.4.html#tooltip-sticky}
559+
#' @param sticky If true, the tooltip will follow the mouse instead of being fixed at the feature center. Default value is \code{TRUE} (different from leaflet.js \code{FALSE}); see \url{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#tooltip-sticky}
560560
#' @describeIn map-options Options for labels
561561
#' @export
562562
labelOptions <- function(
@@ -881,7 +881,7 @@ b64EncodePackedIcons <- function(packedIcons) {
881881
#' @param clickable DEPRECATED! Use the \code{interactive} option.
882882
#' @param
883883
#' draggable,keyboard,title,alt,zIndexOffset,riseOnHover,riseOffset
884-
#' marker options; see \url{https://leafletjs.com/reference-1.3.4.html#marker-option}
884+
#' marker options; see \url{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#marker-option}
885885
#' @describeIn map-options Options for markers
886886
#' @export
887887
markerOptions <- function(
@@ -914,7 +914,7 @@ markerOptions <- function(
914914
#' spiderfy it so you can see all of its markers
915915
#' @param removeOutsideVisibleBounds clusters and markers too far from the
916916
#' viewport are removed from the map for performance
917-
#' @param spiderLegPolylineOptions Allows you to specify PolylineOptions (\url{https://leafletjs.com/reference-1.3.4.html#polyline-option}) to style spider legs. By default, they are { weight: 1.5, color: "#222", opacity: 0.5 }
917+
#' @param spiderLegPolylineOptions Allows you to specify PolylineOptions (\url{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#polyline-option}) to style spider legs. By default, they are { weight: 1.5, color: "#222", opacity: 0.5 }
918918
#' @param freezeAtZoom Allows you to freeze cluster expansion to a zoom level.
919919
#' Can be a zoom level e.g. 10, 12 or "max" or "maxKeepSpiderify"
920920
#' See \url{https://github.com/ghybs/Leaflet.MarkerCluster.Freezable#api-reference}
@@ -1288,7 +1288,7 @@ clearGeoJSON <- function(map) {
12881288
#' Add UI controls to switch layers on and off
12891289
#'
12901290
#' Uses Leaflet's built-in
1291-
#' \href{https://leafletjs.com/reference-1.3.4.html#control-layers}{layers control}
1291+
#' \href{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#control-layers}{layers control}
12921292
#' feature to allow users to choose one of several base layers, and to choose
12931293
#' any number of overlay layers to view.
12941294
#'

R/leaflet.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ mapOptions <- function(map, zoomToLimits = c("always", "first", "never")) {
147147
#' @param preferCanvas Whether leaflet.js Paths should be rendered on a Canvas renderer.
148148
#' @param ... other options used for leaflet.js map creation.
149149
#' @describeIn leaflet Options for map creation
150-
#' @seealso See \url{https://leafletjs.com/reference-1.3.4.html#map-option} for details and more options.
150+
#' @seealso See \url{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#map-option} for details and more options.
151151
#' @export
152152
leafletOptions <- function(
153153
minZoom = NULL,

R/mapPane.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#' over the order of the layers, e.g. points always on top of polygons.
1010
#' If two layers are provided to the same pane, overlay will be determined by
1111
#' order of adding. See examples below.
12-
#' See \url{https://leafletjs.com/reference-1.3.4.html#map-pane} for details.
12+
#' See \url{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#map-pane} for details.
1313
#'
1414
#' If the error "Cannot read property 'appendChild' of undefined" occurs, make
1515
#' sure the pane being used for used for display has already been added to the map.

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{https://leafletjs.com/reference-1.3.4.html#zoom/pan-options})
10-
#' @references \url{https://leafletjs.com/reference-1.3.4.html#map-methods-for-modifying-map-state}
9+
#' \url{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#zoom/pan-options})
10+
#' @references \url{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.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
@@ -16,7 +16,7 @@ leafletGraticuleDependencies <- function() {
1616
#' @param map a map widget object
1717
#' @param interval The spacing in map units between horizontal and vertical lines.
1818
#' @param sphere boolean. Default FALSE
19-
#' @param style path options for the generated lines. See \url{https://leafletjs.com/reference-1.3.4.html#path-option}
19+
#' @param style path options for the generated lines. See \url{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#path-option}
2020
#' @param layerId the layer id
2121
#' @param group the name of the group this layer belongs to.
2222
#' @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
@@ -14,7 +14,7 @@ leafletMeasureDependencies <- function() {
1414
#' Add a measure control to the map.
1515
#'
1616
#' @param map a map widget object
17-
#' @param position standard \href{https://leafletjs.com/reference-1.3.4.html#control-positions}{Leaflet control position options}.
17+
#' @param position standard \href{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#control-positions}{Leaflet control position options}.
1818
#' @param primaryLengthUnit,secondaryLengthUnit units used to display length
1919
#' results. secondaryLengthUnit is optional.
2020
#' Valid values are \code{"feet"}, \code{"meters"}, \code{"miles"}, and \code{"kilometers"}.
@@ -29,7 +29,7 @@ leafletMeasureDependencies <- function() {
2929
#' Value should be a color represented as a hexadecimal string.
3030
#' @param popupOptions \code{list} of options applied to the popup
3131
#' of the resulting measure feature.
32-
#' Properties may be any \href{https://leafletjs.com/reference-1.3.4.html#popup-option}{standard Leaflet popup options}.
32+
#' Properties may be any \href{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#popup-option}{standard Leaflet popup options}.
3333
#' @param captureZIndex Z-index of the marker used to capture measure clicks.
3434
#' Set this value higher than the z-index of all other map layers to
3535
#' 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
@@ -46,10 +46,10 @@ leafletMiniMapDependencies <- function() {
4646
#' Especially useful when 'zoomLevelFixed' is set.
4747
#' @param minimized Sets whether the minimap should start in a minimized position.
4848
#' @param aimingRectOptions Sets the style of the aiming rectangle by passing in
49-
#' a Path.Options (\url{https://leafletjs.com/reference-1.3.4.html#path-options}) object.
49+
#' a Path.Options (\url{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#path-options}) object.
5050
#' (Clickable will always be overridden and set to false.)
5151
#' @param shadowRectOptions Sets the style of the aiming shadow rectangle by passing in
52-
#' a Path.Options (\url{https://leafletjs.com/reference-1.3.4.html#path-option}) object.
52+
#' a Path.Options (\url{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#path-option}) object.
5353
#' (Clickable will always be overridden and set to false.)
5454
#' @param strings Overrides the default strings allowing for translation.
5555
#' @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
@@ -46,7 +46,7 @@ addProviderTiles <- function(
4646
#' @param
4747
#' errorTileUrl,noWrap,opacity,zIndex,updateWhenIdle,detectRetina
4848
#' the tile layer options; see
49-
#' \url{https://leafletjs.com/reference-1.3.4.html#tilelayer}
49+
#' \url{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#tilelayer}
5050
#' @param ... named parameters to add to the options
5151
#' @rdname addProviderTiles
5252
#' @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{https://leafletjs.com/reference-1.3.4.html#control-scale}{scale bar}
4+
#' \href{https://web.archive.org/web/20220702182250/https://leafletjs.com/reference-1.3.4.html#control-scale}{scale bar}
55
#' feature to add a scale bar.
66
#'
77
#' @param map the map to add the scale bar to

0 commit comments

Comments
 (0)