From 9c5772281f05d575323ad703484c74567b81b6f4 Mon Sep 17 00:00:00 2001 From: John Date: Thu, 18 May 2023 11:22:29 +1000 Subject: [PATCH] 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.