Nothing
addWMSLegend
gained the arguments title
, titleStyle
and titleClass
to . Fix #219addDrawToolbar
gained the arguments edittoolbar
and edithandlers
, which let's you customize all the tooltipsaddDrawToolbar
offers some new options: handlersOptions
and toolbarOptions
, with which you can customize the drawing toolbar and the tooltipsaddDrawToolbar
got a new argument drag
. When set to TRUE
, the drawn features will be draggable during editing, utilizing the Leaflet.Draw.Drag plugin. Otherwise, this library will not be included. Fix #115searchOSMText
enables setting the OpenStreetMap (OSM) search text directly from RclearSearchOSM
allows clearing the search marker associated with addSearchOSM
. Fix #158, Fix #209clearSearchFeatures
provides functionality to clear the search markeraddReverseSearchOSM
gained new arguments:marker
allows customization of the icon for the found featureshowFeatureOptions
enables styling options for the found featureshowBoundsOptions
allows customization of the style for the boundary of a found featureshowHighlightOptions
enables customization of the hover effect for a found feature
addBounceMarkers
behave now like normal Markers (except for clustering)
addLatLng
for addGeodesicPolylines
allows you to append line verticesclick
, mouseover
, and mouseout
) for drawn features. The event names are suffixed with identifiers based on the layercategory
, appended with _draw_click
, _draw_mouseover
, or _draw_mouseout
. The layercategory
should be either shape
, polyline
, or marker
. (Thanks to @cmcaine) See examples/shiny/draw-events/draw_mouse_events.R
apikey
of addSearchGoogle
/ addReverseSearchGoogle
/ addBingTiles
now has to be not NULL
and also not ""
imagerySet
and emit warnings for deprecated setssearchOptions
for url
/ propertyLoc
/ propertyName
priority: "event"
. Fix #89addWebGLHeatmap
using this script /scripts/generate_color_gradients.R
addReverseSearchOSM
, longitudes are now normalized to ensure that the Nominatim search returns features for wrapped tiles.leaflet.extras
depends upon leaflet
(>= 2.0.0). As of leaflet
2.0.0, it is built using leaflet.js
version 1.3.1. All plugins have been updated to their latest compatible version of leaflet.js
v1.3.1.Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.