Skip to content

Commit

Permalink
Fix url typo in morefeatures.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbaums authored May 18, 2023
1 parent 0f8e831 commit 9c57722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/morefeatures.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 9c57722

Please sign in to comment.