From 9c5772281f05d575323ad703484c74567b81b6f4 Mon Sep 17 00:00:00 2001 From: John Date: Thu, 18 May 2023 11:22:29 +1000 Subject: [PATCH 1/2] Fix url typo in morefeatures.Rmd --- docs/morefeatures.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/morefeatures.Rmd b/docs/morefeatures.Rmd index 7c17e98ad..eb2c5b7bd 100644 --- a/docs/morefeatures.Rmd +++ b/docs/morefeatures.Rmd @@ -176,7 +176,7 @@ leaflet() %>% addTiles() %>% #### Custom JavaScript with `htmlwidgets::onRender` -The `htmlwidgets::onRender` function can be used to add custom behavior to the leaflet map using native Javascript. This is a some what advanced use case and requires you to know Javascript. Using `onRender` you can customize your map's behavior using any of the APIs as defined in the Leaflet.js [documentation](leafletjs.com/reference.html). +The `htmlwidgets::onRender` function can be used to add custom behavior to the leaflet map using native Javascript. This is a some what advanced use case and requires you to know Javascript. Using `onRender` you can customize your map's behavior using any of the APIs as defined in the Leaflet.js [documentation](https://leafletjs.com/reference.html). Below is an example where we sync the base layer of the mini-map with the baselayer of the main map, using the 'baselayerchange' event. From 3be95aae308f0ad6f4b5efeda9a0d51cf89763fc Mon Sep 17 00:00:00 2001 From: Garrick Aden-Buie Date: Thu, 19 Oct 2023 16:13:29 -0400 Subject: [PATCH 2/2] docs: update --- docs/basemaps.html | 8 +- docs/choropleths.html | 10 +- ...s_1.13.0.js => leaflet-providers_2.0.0.js} | 284 +++++++++++------- docs/markers.html | 13 +- docs/morefeatures.html | 4 +- docs/scratch.html | 6 +- docs/showhide.html | 10 +- 7 files changed, 200 insertions(+), 135 deletions(-) rename docs/libs/leaflet-providers/{leaflet-providers_1.13.0.js => leaflet-providers_2.0.0.js} (81%) diff --git a/docs/basemaps.html b/docs/basemaps.html index 39d366aae..373a47097 100644 --- a/docs/basemaps.html +++ b/docs/basemaps.html @@ -40,7 +40,7 @@ - +