Changelog
Source:NEWS.md
leaflet.extras2 (development version)
- Included OSM Buildings plugin
- New Function
addDivicon
addsDivIcon
markers to Leaflet maps with support for custom HTML and CSS classes. See the example in./inst/examples/divicons_html_app.R
- Added
addClusterCharts
to enable pie and bar charts in Marker clusters usingLeaflet.markercluster
,d3
andL.DivIcon
, with support for customizable category styling and various aggregation methods like sum, min, max, mean, and median. - The opened sidebar tab is returned as Shiny input using the
sidebar_tabs
ID. #67 - allow
...
inantpathOptions
to be able to set the pane (e.g.:renderer= JS('L.svg({pane: "my-pane"})')
) - Switched from
geojsonsf
toyyjsonr
(heightgraph, timeslider, clustercharts) - Fix for roxygen2 > 7.0.0. #1491
leaflet.extras2 1.2.2
CRAN release: 2023-08-21
- Added
enableContextmenu
anddisableContextmenu
- Fixed tests for leaflet v2.2.0. Thanks to @gadenbuie (#60)
leaflet.extras2 1.2.1
CRAN release: 2023-04-20
- Bugfix when Sidebar is used inside Shiny modules. The sidebar functions
addSidebar
andopenSidebar
now have an argumentns
, where Shiny’s namespacing function (e.g: session$ns) can be included. - Arrowheads now passes all options in
arrowheadOptions
toL.polyline
- Update
leaflet.heightgraph
to 1.3.2. Has no dependency tod3
anymore. - Skip tests which use an internet connection
- Adapted URLs and deleted old Mapkey URL
leaflet.extras2 1.2.0
CRAN release: 2022-05-10
- Included Arrowheads plugin
- Included Leaflet.Sync plugin
- Included Leaflet MovingMarkers plugin
- Included Leaflet Spin plugin. Thanks to @radbasa
- Included Labelgun plugin.
-
addTimeslider
gained styling options and the argumentslabel
,labelOptions
,sameDate
andordertime
and works for Point / Linestring Simple Feature Collections - Enable multiple sidebars. Thanks to @jeffreyhanson
- Option
fit
removed for sidebars as plugin CSS/JS was adapted - Deprecated
menuItem
/mapmenuItems
/markermenuItems
and renamed with prefixcontext_
. Fixes #10 and #17 - Some improvement for the
easyprint
plugin: (Fixes #31)- It is now possible to include multiple custom
sizeModes
ineasyprintOptions
. The example easyprint_app.R has been extended to demonstrate the new functionalities. - The
tileLayer
option now accepts a group name for a tilelayer for which printing will wait until the layer is fully loaded.
- It is now possible to include multiple custom
- The
addPlayback
is now capable of displaying labels and popups for every timestep. The transition of labels and popups can be controlled withtransitionpopup
andtransitionlabel
. - The function
addHistory
now requires the fontawesome package, since the dependency is not included in shiny’s shared directory anymore. - The function
addWMS
gained the argumentcheckempty
, which will check the returning HTML-body tag. If the body is empty, no popup is opened. - The function
addMovingMarker
now accepts icons created bymakeAwesomeIcon
.
leaflet.extras2 1.1.0
CRAN release: 2020-10-20
- Included Leaflet Contextmenu plugin
- Included Leaflet TimeSlider plugin
-
addWMS
gained thelayerId
argument and works likeleaflet::addWMSTiles
except for thepopupOptions
-
Side-by-Side
doesn’t propagate click events when dragging. Thanks tof905a47
of #23