diff --git a/index.html b/index.html index 0d3bdeb3..91b0e80f 100644 --- a/index.html +++ b/index.html @@ -179,6 +179,7 @@

Dev status

  • Codecov test coverage
  • +
  • R-CMD-check
  • diff --git a/pkgdown.yml b/pkgdown.yml index 3a88c6b3..6109601d 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -2,7 +2,7 @@ pandoc: 3.1.11 pkgdown: 2.1.0 pkgdown_sha: ~ articles: {} -last_built: 2024-09-01T21:11Z +last_built: 2024-09-01T21:25Z urls: reference: https://trafficonese.github.io/leaflet.extras2/reference article: https://trafficonese.github.io/leaflet.extras2/articles diff --git a/reference/addMovingMarker.html b/reference/addMovingMarker.html index 9b3c65d8..964b0ef0 100644 --- a/reference/addMovingMarker.html +++ b/reference/addMovingMarker.html @@ -176,7 +176,7 @@

    Examples label="I am a pirate!", popup="Arrr")
    - + diff --git a/reference/addPlayback.html b/reference/addPlayback.html index 5cc3a849..a730bafd 100644 --- a/reference/addPlayback.html +++ b/reference/addPlayback.html @@ -9,7 +9,7 @@ POINT Simple Features. Rather than simply animating a marker along a polyline, the speed of the animation is synchronized to a clock. The playback functionality is similar to a video player; you can start and stop playback or -change the playback speed."> +change the playback speed.">
    Skip to contents @@ -142,14 +142,14 @@

    See also

    Examples

    -
    if (FALSE) { # \dontrun{
    -library(leaflet)
    +    
    library(leaflet)
     library(leaflet.extras2)
     library(sf)
     
     ## Single Elements
     data <- sf::st_as_sf(leaflet::atlStorms2005[1,])
     data <- st_cast(data, "POINT")
    +#> Warning: repeating attributes for all sub-geometries for which they may not be constant
     data$time = as.POSIXct(
       seq.POSIXt(Sys.time() - 1000, Sys.time(), length.out = nrow(data)))
     data$label <- as.character(data$time)
    @@ -165,12 +165,14 @@ 

    Examples speed = 50, maxInterpolationTime = 1000), pathOpts = pathOptions(weight = 5)) - +
    + ## Multiple Elements data <- sf::st_as_sf(leaflet::atlStorms2005[1:5,]) data$Name <- as.character(data$Name) data <- st_cast(data, "POINT") +#> Warning: repeating attributes for all sub-geometries for which they may not be constant data$time <- unlist(lapply(rle(data$Name)$lengths, function(x) { seq.POSIXt(as.POSIXct(Sys.Date()-2), as.POSIXct(Sys.Date()), length.out = x) })) @@ -198,8 +200,8 @@

    Examples color = c("red","green","blue", "orange","yellow")), pathOpts = pathOptions(weight = 5)) -} # } -

    +
    +
    diff --git a/reference/addSidebyside.html b/reference/addSidebyside.html index f88264b1..5ca15297 100644 --- a/reference/addSidebyside.html +++ b/reference/addSidebyside.html @@ -118,8 +118,8 @@

    Examples addSidebyside(layerId = "sidecontrols", rightId = "baseid", leftId = "cartoid") -
    - +
    + diff --git a/reference/addSpinner.html b/reference/addSpinner.html index f355cca8..75e390f6 100644 --- a/reference/addSpinner.html +++ b/reference/addSpinner.html @@ -79,8 +79,8 @@

    Examples startSpinner(options = list("lines" = 7, "length" = 20)) %>% addMarkers(~long, ~lat, popup = ~as.character(mag), label = ~as.character(mag)) %>% stopSpinner() -
    - +
    + diff --git a/reference/addTimeslider.html b/reference/addTimeslider.html index 1a058039..f4a4efe0 100644 --- a/reference/addTimeslider.html +++ b/reference/addTimeslider.html @@ -185,8 +185,8 @@

    Examples timeAttribute = "time", range = TRUE)) %>% setView(-72, 22, 4) -
    - +
    + diff --git a/reference/addWMS.html b/reference/addWMS.html index 95c42813..da2e61fc 100644 --- a/reference/addWMS.html +++ b/reference/addWMS.html @@ -143,8 +143,8 @@

    Examples transparent = TRUE, format = "image/png", info_format = "text/html")) -
    - +
    + diff --git a/reference/historyOptions.html b/reference/historyOptions.html index 0e6998ee..9a4f959a 100644 --- a/reference/historyOptions.html +++ b/reference/historyOptions.html @@ -147,8 +147,8 @@

    Examples forwardText = "Go forward", orientation = "vertical" )) -
    - +
    + diff --git a/reference/libs/lfx-playback-1.0.0/leaflet.playback-bindings.js b/reference/libs/lfx-playback-1.0.0/leaflet.playback-bindings.js new file mode 100644 index 00000000..317a5310 --- /dev/null +++ b/reference/libs/lfx-playback-1.0.0/leaflet.playback-bindings.js @@ -0,0 +1,113 @@ +/* global LeafletWidget, $, L, toGeoJSON */ +LeafletWidget.methods.addPlayback= function(data, options) { + var map = this; + if (map.playback) { + map.playback.destroy(); + delete map.playback; + } + + // If mutliple Features, transform the Object to an Array and add path_options+radius + if (data.type !== "Feature" && Object.keys(data).length > 1) { + data = Object.values(data); + for (var i = 0; i < data.length; i++) { + data[i].properties.path_options = Object.assign({}, options.pathOptions); + data[i].properties.radius = options.radius ? options.radius: 5; + } + } else { + // Add path_options+radius to single Feature + data.properties.path_options = options.pathOptions; + data.properties.radius = options.radius ? options.radius: 5; + } + + // Add Color to path_options + if (options.color) { + if (Array.isArray(options.color) && options.color.length > 1) { + for (var j = 0; j < options.color.length; j++) { + if (data[j]) { + data[j].properties.path_options.color = options.color[j]; + } + } + } + } + + // Add Mouse Events (Mouseover + Click) + if (HTMLWidgets.shinyMode === true) { + options.mouseOverCallback = function(el) { + var ind = el.target.index + var obj = { + lat: el.latlng.lat, + lng: el.latlng.lng, + index: ind, + timestamp: new Date(el.target.feature.properties.time[ind]), + content: el.target.tooltipContent + }; + Shiny.onInputChange(map.id+"_pb_mouseover", obj); + }; + } + options.clickCallback = function(el) { + // Workaround since bindPopup doesnt show popups at the correct location + if (el.target._popup) { + el.target._popup.setLatLng(el.latlng).openOn(map); + } + if (HTMLWidgets.shinyMode === true) { + var ind = el.target.index + var obj = { + lat: el.latlng.lat, + lng: el.latlng.lng, + index: el.target.index, + timestamp: new Date(el.target.feature.properties.time[ind]), + content: el.target.popupContent + }; + Shiny.onInputChange(map.id+"_pb_click", obj); + } + }; + + // Add playbackoptions and Icon + options.layer = { + pointToLayer : function(featureData, latlng, options) { + var result = {}; + if (featureData && featureData.properties && featureData.properties.path_options) { + result = featureData.properties.path_options; + } + result.radius = featureData.properties.radius; + return new L.CircleMarker(latlng, result); + } + }; + + if (options && options.marker && options.icon == undefined) { + options.marker = options.marker; + } else if (options && options.icon) { + var icoli = options.icon; + var madeIcon = L.icon({ + iconUrl: icoli.iconUrl, + iconSize: [icoli.iconWidth, icoli.iconHeight], + shadowSize: [icoli.shadowWidth, icoli.shadowHeight], + iconAnchor: [icoli.iconAnchorX, icoli.iconAnchorY], + shadowAnchor: [icoli.shadowAnchorX, icoli.shadowAnchorY], + popupAnchor: [icoli.popupAnchorX, icoli.popupAnchorY] + }); + options.marker = function(featureData) { + return { + icon: madeIcon + /* + getPopup: function (feature) { + debugger; + return this.feature.popupContent[this.index] + } + */ + }; + }; + } + + map.playback = L.playback(map, data, null, options); +}; + + +LeafletWidget.methods.removePlayback= function() { + var map = this; + if (map.playback) { + map.playback.destroy(); + delete map.playback; + } +}; + diff --git a/reference/libs/lfx-playback-1.0.0/leaflet.playback.js b/reference/libs/lfx-playback-1.0.0/leaflet.playback.js new file mode 100644 index 00000000..b3cf770e --- /dev/null +++ b/reference/libs/lfx-playback-1.0.0/leaflet.playback.js @@ -0,0 +1,960 @@ +// UMD initialization to work with CommonJS, AMD and basic browser script include +(function (factory) { + var L; + if (typeof define === 'function' && define.amd) { + // AMD + define(['leaflet'], factory); + } else if (typeof module === 'object' && typeof module.exports === "object") { + // Node/CommonJS + L = require('leaflet'); + module.exports = factory(L); + } else { + // Browser globals + if (typeof window.L === 'undefined') + throw 'Leaflet must be loaded first'; + factory(window.L); + } +}(function (L) { + +L.Playback = L.Playback || {}; + +L.Playback.Util = L.Class.extend({ + statics: { + DateStr: function(time, locale) { + return new Date(time).toLocaleDateString(locale.locale, locale.options); + }, + TimeStr: function(time, locale) { + return new Date(time).toLocaleTimeString(locale.locale, locale.options); + }, + ParseGPX: function(gpx) { + var geojson = { + type: 'Feature', + geometry: { + type: 'MultiPoint', + coordinates: [] + }, + properties: { + time: [], + speed: [], + altitude: [] + }, + bbox: [] + }; + var xml = $.parseXML(gpx); + var pts = $(xml).find('trkpt'); + for (var i = 0, len = pts.length; i < len; i++) { + var p = pts[i]; + var lat = parseFloat(p.getAttribute('lat')); + var lng = parseFloat(p.getAttribute('lon')); + var timeStr = $(p).find('time').text(); + var eleStr = $(p).find('ele').text(); + var t = new Date(timeStr).getTime(); + var ele = parseFloat(eleStr); + + var coords = geojson.geometry.coordinates; + var props = geojson.properties; + var time = props.time; + var altitude = geojson.properties.altitude; + + coords.push([lng, lat]); + time.push(t); + altitude.push(ele); + } + return geojson; + } + } +}); + +L.Playback = L.Playback || {}; + +L.Playback.MoveableMarker = L.Marker.extend({ + initialize: function(startLatLng, options, feature) { + this.index = 0; + this.feature = feature; + this.marker_options = options.marker || {}; + + if (jQuery.isFunction(this.marker_options)) { + this.marker_options = this.marker_options(this.feature, this.index); + } + + L.Marker.prototype.initialize.call(this, startLatLng, this.marker_options); + + this.popupContent = ''; + this.tooltipContent = ''; + + if (this.marker_options.getPopup) { + this.getPopupContent = this.marker_options.getPopup; + } + + // Adds popups to the Markers + if (options.popups) { + this.options.transitionpopup = options.transitionpopup; + // This shows marker-popups at wrong locations + // this.bindPopup(this.getPopupContent(), options.popupOptions) + + // So we use this method and open the popup in the bindings in the clickCallback + this._popup = L.popup(options.popupOptions) + .setLatLng(startLatLng) + .setContent(this.getPopupContent()) + } + + // Adds tooltips to the Markers + if (options.labels) { + this.options.transitionlabel = options.transitionlabel; + this.bindTooltip(this.getTooltipContent(), options.labelOptions) + } + }, + getPopupContent: function() { + if (this.feature.popupContent && this.feature.popupContent[this.index] !== '') { + this.popupContent = this.feature.popupContent[this.index] + return this.popupContent + ''; + } + }, + getTooltipContent: function() { + if (this.feature.tooltipContent && this.feature.tooltipContent[this.index] !== '') { + this.tooltipContent = this.feature.tooltipContent[this.index] + return this.tooltipContent + ''; + } + }, + move: function(latLng, transitionTime, index) { + if (index > -1) this.index = index; + // Only if CSS3 transitions are supported + if (L.DomUtil.TRANSITION) { + if (this._icon) { + this._icon.style[L.DomUtil.TRANSITION] = 'all ' + transitionTime + 'ms linear'; + } + if (this._shadow) { + this._shadow.style[L.DomUtil.TRANSITION] = 'all ' + transitionTime + 'ms linear'; + } + + if (this.options.transitionpopup) { + if (this._popup && this._popup._wrapper) { + this._popup._wrapper.style[L.DomUtil.TRANSITION] = 'all ' + transitionTime + 'ms linear'; + this._popup._wrapper.parentNode.style[L.DomUtil.TRANSITION] = 'all ' + transitionTime + 'ms linear'; + } + } + if (this.options.transitionlabel) { + if (this._tooltip && this._tooltip._container && $(this._tooltip._container).is(":visible")) { + this._tooltip._container.style[L.DomUtil.TRANSITION] = 'all ' + transitionTime + 'ms linear'; + } + } + } + + this.setLatLng(latLng); + + if (this._tooltip) { + this._tooltip.setContent( + this.getTooltipContent() + ) + } + if (this._popup) { + this._popup.setLatLng(latLng).setContent( + this.getPopupContent() + ) + } + }, + // modify leaflet markers to add our rotation code + /* + * Based on comments by @runanet and @coomsie + * https://github.com/CloudMade/Leaflet/issues/386 + * + * Wrapping function is needed to preserve L.Marker.update function + */ + _old__setPos:L.Marker.prototype._setPos, + + _updateImg: function (i, a, s) { + a = L.point(s).divideBy(2)._subtract(L.point(a)); + a = L.point(s); + var transform = ''; + transform += ' translate(' + -a.x + 'px, ' + -a.y + 'px)'; + transform += ' rotate(' + this.options.iconAngle + 'deg)'; + transform += ' translate(' + a.x + 'px, ' + a.y + 'px)'; + i.style.transformOrigin = '50% 50% 0'; + i.style[L.DomUtil.TRANSFORM] += transform; + }, + setIconAngle: function (iconAngle) { + this.options.iconAngle = iconAngle; + if (this._map) + this.update(); + }, + _setPos: function (pos) { + if (this._icon) { + this._icon.style[L.DomUtil.TRANSFORM] = ""; + } + if (this._shadow) { + this._shadow.style[L.DomUtil.TRANSFORM] = ""; + } + this._old__setPos.apply(this, [pos]); + if (this.options.iconAngle) { + var a = this.options.icon.options.iconAnchor; + var s = this.options.icon.options.iconSize; + var i; + if (this._icon) { + i = this._icon; + this._updateImg(i, a, s); + } + if (this._shadow) { + // Rotate around the icons anchor. + s = this.options.icon.options.shadowSize; + i = this._shadow; + this._updateImg(i, a, s); + } + } + } +}); + +L.Playback = L.Playback || {}; +L.Playback.Track = L.Class.extend({ + initialize : function(geoJSON, options) { + options = options || {}; + var tickLen = options.tickLen || 250; + this._staleTime = options.staleTime || 60*60*1000; + this._fadeMarkersWhenStale = options.fadeMarkersWhenStale || false; + + this._geoJSON = geoJSON; + this._tickLen = tickLen; + this._ticks = []; + this._marker = null; + this._orientations = []; + + var sampleTimes = geoJSON.properties.time; + + this._orientIcon = options.orientIcons; + var previousOrientation; + + var samples = geoJSON.geometry.coordinates; + var currSample = samples[0]; + var nextSample = samples[1]; + + var currSampleTime = sampleTimes[0]; + var t = currSampleTime; // t is used to iterate through tick times + var nextSampleTime = sampleTimes[1]; + var tmod = t % tickLen; // ms past a tick time + var rem, ratio; + + // handle edge case of only one t sample + if (sampleTimes.length === 1) { + if (tmod !== 0) + t += tickLen - tmod; + this._ticks[t] = samples[0]; + this._orientations[t] = 0; + this._startTime = t; + this._endTime = t; + return; + } + + // interpolate first tick if t not a tick time + if (tmod !== 0) { + rem = tickLen - tmod; + ratio = rem / (nextSampleTime - currSampleTime); + t += rem; + this._ticks[t] = this._interpolatePoint(currSample, nextSample, ratio); + this._orientations[t] = this._directionOfPoint(currSample,nextSample); + previousOrientation = this._orientations[t]; + } else { + this._ticks[t] = currSample; + this._orientations[t] = this._directionOfPoint(currSample,nextSample); + previousOrientation = this._orientations[t]; + } + + this._startTime = t; + t += tickLen; + while (t < nextSampleTime) { + ratio = (t - currSampleTime) / (nextSampleTime - currSampleTime); + this._ticks[t] = this._interpolatePoint(currSample, nextSample, ratio); + this._orientations[t] = this._directionOfPoint(currSample,nextSample); + previousOrientation = this._orientations[t]; + t += tickLen; + } + + // iterating through the rest of the samples + for (var i = 1, len = samples.length; i < len; i++) { + currSample = samples[i]; + nextSample = samples[i + 1]; + t = currSampleTime = sampleTimes[i]; + nextSampleTime = sampleTimes[i + 1]; + + tmod = t % tickLen; + if (tmod !== 0 && nextSampleTime) { + rem = tickLen - tmod; + ratio = rem / (nextSampleTime - currSampleTime); + t += rem; + this._ticks[t] = this._interpolatePoint(currSample, nextSample, ratio); + if (nextSample) { + this._orientations[t] = this._directionOfPoint(currSample,nextSample); + previousOrientation = this._orientations[t]; + } else { + this._orientations[t] = previousOrientation; + } + } else { + this._ticks[t] = currSample; + if (nextSample) { + this._orientations[t] = this._directionOfPoint(currSample,nextSample); + previousOrientation = this._orientations[t]; + } else { + this._orientations[t] = previousOrientation; + } + } + + t += tickLen; + while (t < nextSampleTime) { + ratio = (t - currSampleTime) / (nextSampleTime - currSampleTime); + if (nextSampleTime - currSampleTime > options.maxInterpolationTime) { + this._ticks[t] = currSample; + if (nextSample){ + this._orientations[t] = this._directionOfPoint(currSample,nextSample); + previousOrientation = this._orientations[t]; + } else { + this._orientations[t] = previousOrientation; + } + } else { + this._ticks[t] = this._interpolatePoint(currSample, nextSample, ratio); + if (nextSample) { + this._orientations[t] = this._directionOfPoint(currSample,nextSample); + previousOrientation = this._orientations[t]; + } else { + this._orientations[t] = previousOrientation; + } + } + t += tickLen; + } + } + // the last t in the while would be past bounds + this._endTime = t - tickLen; + this._lastTick = this._ticks[this._endTime]; + }, + _interpolatePoint: function(start, end, ratio) { + try { + var delta = [end[0] - start[0], end[1] - start[1]]; + var offset = [delta[0] * ratio, delta[1] * ratio]; + return [start[0] + offset[0], start[1] + offset[1]]; + } catch (e) { + console.log('err: cant interpolate a point'); + console.log(['start', start]); + console.log(['end', end]); + console.log(['ratio', ratio]); + } + }, + _directionOfPoint: function(start,end) { + return this._getBearing(start[1],start[0],end[1],end[0]); + }, + _getBearing: function(startLat,startLong,endLat,endLong) { + startLat = this._radians(startLat); + startLong = this._radians(startLong); + endLat = this._radians(endLat); + endLong = this._radians(endLong); + + var dLong = endLong - startLong; + + var dPhi = Math.log(Math.tan(endLat/2.0+Math.PI/4.0)/Math.tan(startLat/2.0+Math.PI/4.0)); + if (Math.abs(dLong) > Math.PI) { + if (dLong > 0.0) + dLong = -(2.0 * Math.PI - dLong); + else + dLong = (2.0 * Math.PI + dLong); + } + + return (this._degrees(Math.atan2(dLong, dPhi)) + 360.0) % 360.0; + }, + _radians: function(n) { + return n * (Math.PI / 180); + }, + _degrees: function(n) { + return n * (180 / Math.PI); + }, + + getFirstTick: function() { + return this._ticks[this._startTime]; + }, + getLastTick: function() { + return this._ticks[this._endTime]; + }, + getStartTime: function() { + return this._startTime; + }, + getEndTime: function() { + return this._endTime; + }, + getTickMultiPoint: function() { + var t = this.getStartTime(); + var endT = this.getEndTime(); + var coordinates = []; + var time = []; + while (t <= endT) { + time.push(t); + coordinates.push(this.tick(t)); + t += this._tickLen; + } + + return { + type : 'Feature', + geometry : { + type : 'MultiPoint', + coordinates : coordinates + }, + properties : { + time : time + } + }; + }, + trackPresentAtTick: function(timestamp) { + return (timestamp >= this._startTime); + }, + trackStaleAtTick: function(timestamp) { + return ((this._endTime + this._staleTime) <= timestamp); + }, + tick: function(timestamp) { + if (timestamp > this._endTime) + timestamp = this._endTime; + if (timestamp < this._startTime) + timestamp = this._startTime; + return this._ticks[timestamp]; + }, + courseAtTime: function(timestamp) { + //return 90; + if (timestamp > this._endTime) + timestamp = this._endTime; + if (timestamp < this._startTime) + timestamp = this._startTime; + return this._orientations[timestamp]; + }, + setMarker: function(timestamp, options) { + var lngLat = null; + + // if time stamp is not set, then get first tick + if (timestamp) { + lngLat = this.tick(timestamp); + } else { + lngLat = this.getFirstTick(); + } + if (lngLat) { + var latLng = new L.LatLng(lngLat[1], lngLat[0]); + this._marker = new L.Playback.MoveableMarker(latLng, options, this._geoJSON); + if (options.mouseOverCallback) { + this._marker.on('mouseover', options.mouseOverCallback); + } + if (options.clickCallback) { + this._marker.on('click', options.clickCallback); + this._marker.on('click', options.clickCallback); + } + + //hide the marker if its not present yet and fadeMarkersWhenStale is true + if (this._fadeMarkersWhenStale && !this.trackPresentAtTick(timestamp)) { + this._marker.setOpacity(0); + } + } + return this._marker; + }, + moveMarker: function(latLng, transitionTime, timestamp) { + if (this._marker) { + if (this._fadeMarkersWhenStale) { + //show the marker if its now present + if(this.trackPresentAtTick(timestamp)) { + this._marker.setOpacity(1); + } else { + this._marker.setOpacity(0); + } + + if(this.trackStaleAtTick(timestamp)) { + this._marker.setOpacity(0.25); + } + } + if (this._orientIcon) { + this._marker.setIconAngle(this.courseAtTime(timestamp)); + } + const index = this._geoJSON.geometry.coordinates.findIndex((f, i) => { + let currLatLng = new L.LatLng(f[1], f[0]); + return currLatLng.equals(latLng); + }); + this._marker.move(latLng, transitionTime, index); + } + }, + getMarker: function() { + return this._marker; + } +}); + +L.Playback = L.Playback || {}; +L.Playback.TrackController = L.Class.extend({ + initialize : function(map, tracks, options) { + this.options = options || {}; + this._map = map; + this._tracks = []; + // initialize tick points + this.setTracks(tracks); + }, + clearTracks: function() { + while (this._tracks.length > 0) { + var track = this._tracks.pop(); + var marker = track.getMarker(); + + if (marker){ + this._map.removeLayer(marker); + } + } + }, + setTracks : function(tracks) { + // reset current tracks + this.clearTracks(); + this.addTracks(tracks); + }, + addTracks : function(tracks) { + // return if nothing is set + if (!tracks) { + return; + } + + if (tracks instanceof Array) { + for (var i = 0, len = tracks.length; i < len; i++) { + this.addTrack(tracks[i]); + } + } else { + this.addTrack(tracks); + } + }, + addTrack : function(track, timestamp) { + if (!track) { + return; + } + var marker = track.setMarker(timestamp, this.options); + if (marker) { + marker.addTo(this._map); + this._tracks.push(track); + } + }, + tock : function(timestamp, transitionTime) { + for (var i = 0, len = this._tracks.length; i < len; i++) { + var lngLat = this._tracks[i].tick(timestamp); + var latLng = new L.LatLng(lngLat[1], lngLat[0]); + this._tracks[i].moveMarker(latLng, transitionTime, timestamp); + } + }, + getStartTime : function() { + var earliestTime = 0; + + if (this._tracks.length > 0) { + earliestTime = this._tracks[0].getStartTime(); + for (var i = 1, len = this._tracks.length; i < len; i++) { + var t = this._tracks[i].getStartTime(); + if (t < earliestTime) { + earliestTime = t; + } + } + } + + return earliestTime; + }, + getEndTime : function() { + var latestTime = 0; + + if (this._tracks.length > 0){ + latestTime = this._tracks[0].getEndTime(); + for (var i = 1, len = this._tracks.length; i < len; i++) { + var t = this._tracks[i].getEndTime(); + if (t > latestTime) { + latestTime = t; + } + } + } + + return latestTime; + }, + getTracks : function() { + return this._tracks; + } +}); + +L.Playback = L.Playback || {}; +L.Playback.Clock = L.Class.extend({ + initialize: function (trackController, callback, options) { + this._trackController = trackController; + this._callbacksArry = []; + if (callback) this.addCallback(callback); + L.setOptions(this, options); + this._speed = this.options.speed; + this._tickLen = this.options.tickLen; + this._cursor = this._trackController.getStartTime(); + this._transitionTime = this._tickLen / this._speed; + }, + _tick: function (self) { + self._trackController.tock(self._cursor, self._transitionTime); + if (self._cursor >= self._trackController.getEndTime()) { + self.setCursor(self._trackController.getEndTime()); + self.stop(); + } else { + self._cursor += self._tickLen; + } + self._callbacks(self._cursor); + }, + _callbacks: function(cursor) { + var arry = this._callbacksArry; + for (var i=0, len=arry.length; i= this._trackController.getEndTime()) + this.setCursor(this._trackController.getStartTime()); + this.playControl._button.innerHTML = this.options.stopCommand ? this.options.stopCommand : this.playControl.options.stopCommand; + this._intervalID = window.setInterval( + this._tick, + this._transitionTime, + this); + }, + stop: function () { + if (!this.isPlaying()) return; + clearInterval(this._intervalID); + this._intervalID = null; + this.playControl._button.innerHTML = this.options.playCommand ? this.options.playCommand : this.playControl.options.playCommand; + }, + getSpeed: function() { + return this._speed; + }, + isPlaying: function() { + return this._intervalID ? true : false; + }, + setSpeed: function (speed) { + this._speed = speed; + this._transitionTime = this._tickLen / speed; + if (this.isPlaying()) { + this.stop(); + this.start(); + } + }, + setCursor: function (ms) { + var time = parseInt(ms); + if (!time) return; + var mod = time % this._tickLen; + if (mod !== 0) { + time += this._tickLen - mod; + } + this._cursor = time; + this._trackController.tock(this._cursor, 0); + this._callbacks(this._cursor); + }, + getTime: function() { + return this._cursor; + }, + getStartTime: function() { + return this._trackController.getStartTime(); + }, + getEndTime: function() { + return this._trackController.getEndTime(); + }, + getTickLen: function() { + return this._tickLen; + } +}); + +// Simply shows all of the track points as circles. +// TODO: Associate circle color with the marker color. + +L.Playback = L.Playback || {}; +L.Playback.TracksLayer = L.Class.extend({ + initialize : function (map, options) { + var layer_options = options.layer || {}; + + if (jQuery.isFunction(layer_options)){ + layer_options = layer_options(feature); + } + + options.tracksLayerCaption = options.tracksLayerCaption || 'GPS Tracks'; + + if (!layer_options.pointToLayer) { + layer_options.pointToLayer = function (featureData, latlng) { + return new L.CircleMarker(latlng, { radius : 5 }); + }; + } + + this.layer = new L.GeoJSON(null, layer_options); + + var overlayControl = {}; + overlayControl[options.tracksLayerCaption] = this.layer; + + L.control.layers(null, overlayControl, { + collapsed : false + }).addTo(map); + }, + // clear all geoJSON layers + clearLayer : function(){ + for (var i in this.layer._layers) { + this.layer.removeLayer(this.layer._layers[i]); + } + }, + // add new geoJSON layer + addLayer : function(geoJSON) { + this.layer.addData(geoJSON); + } +}); + +L.Playback = L.Playback || {}; +L.Playback.DateControl = L.Control.extend({ + options: { + position: 'bottomleft', + locale: { + locale: 'US-en', + options: {} + }, + dateFormatFn: L.Playback.Util.DateStr, + timeFormatFn: L.Playback.Util.TimeStr + }, + + initialize: function (playback, options) { + L.setOptions(this, options); + this.playback = playback; + }, + onAdd: function (map) { + this._container = L.DomUtil.create('div', 'leaflet-control-layers leaflet-control-layers-expanded'); + + var self = this; + var playback = this.playback; + var time = playback.getTime(); + + var datetime = L.DomUtil.create('div', 'datetimeControl', this._container); + + // date time + this._date = L.DomUtil.create('p', '', datetime); + this._time = L.DomUtil.create('p', '', datetime); + + this._date.innerHTML = this.options.dateFormatFn(time, this.options.locale); + this._time.innerHTML = this.options.timeFormatFn(time, this.options.locale); + + // setup callback + playback.addCallback(function (ms) { + self._date.innerHTML = self.options.dateFormatFn(ms, self.options.locale); + self._time.innerHTML = self.options.timeFormatFn(ms, self.options.locale); + }); + + return this._container; + } +}); +L.Playback.PlayControl = L.Control.extend({ + options : { + position : 'bottomright', + playCommand : 'Play', + stopCommand : 'Stop' + }, + initialize : function (playback, options) { + L.setOptions(this, options); + this.playback = playback; + }, + onAdd : function (map) { + this._container = L.DomUtil.create('div', 'leaflet-control-layers leaflet-control-layers-expanded'); + + var self = this; + var playback = this.playback; + playback.setSpeed(this.playback._speed); + + var playControl = L.DomUtil.create('div', 'playControl', this._container); + + this._button = L.DomUtil.create('button', '', playControl); + this._button.innerHTML = this.options.playCommand; + + var stop = L.DomEvent.stopPropagation; + L.DomEvent + .on(this._button, 'click', stop) + .on(this._button, 'mousedown', stop) + .on(this._button, 'dblclick', stop) + .on(this._button, 'click', L.DomEvent.preventDefault) + .on(this._button, 'click', play, this); + + function play(){ + if (playback.isPlaying()) { + playback.stop(); + } + else { + playback.start(); + } + } + + return this._container; + } +}); +L.Playback.SliderControl = L.Control.extend({ + options : { + position : 'bottomleft' + }, + initialize : function (playback) { + this.playback = playback; + }, + onAdd : function (map) { + this._container = L.DomUtil.create('div', 'leaflet-control-layers leaflet-control-layers-expanded'); + + var self = this; + var playback = this.playback; + + // slider + this._slider = L.DomUtil.create('input', 'slider', this._container); + this._slider.type = 'range'; + this._slider.min = playback.getStartTime(); + this._slider.max = playback.getEndTime(); + this._slider.value = playback.getTime(); + + var stop = L.DomEvent.stopPropagation; + L.DomEvent + .on(this._slider, 'click', stop) + .on(this._slider, 'mousedown', stop) + .on(this._slider, 'dblclick', stop) + .on(this._slider, 'click', L.DomEvent.preventDefault) + .on(this._slider, 'change', onSliderChange, this) + .on(this._slider, 'mousedown', L.DomEvent.stopPropagation) + + mouseMoveWhilstDown(this._slider, onSliderChange) + + function onSliderChange(e) { + var val = Number(e.target.value); + playback.setCursor(val); + } + function mouseMoveWhilstDown(target, whileMove) { + var endMove = function () { + map.dragging.enable(); + window.removeEventListener('mousemove', whileMove); + window.removeEventListener('mouseup', endMove); + }; + + target.addEventListener('mousedown', function (event) { + map.dragging.disable() + event.stopPropagation(); // remove if you do want it to propagate .. + window.addEventListener('mousemove', whileMove); + window.addEventListener('mouseup', endMove); + }); + } + + playback.addCallback(function (ms) { + self._slider.value = ms; + }); + + map.on('playback:add_tracks', function() { + self._slider.min = playback.getStartTime(); + self._slider.max = playback.getEndTime(); + self._slider.value = playback.getTime(); + }); + + return this._container; + } +}); + +L.Playback = L.Playback.Clock.extend({ + statics : { + MoveableMarker : L.Playback.MoveableMarker, + Track : L.Playback.Track, + TrackController : L.Playback.TrackController, + Clock : L.Playback.Clock, + Util : L.Playback.Util, + + TracksLayer : L.Playback.TracksLayer, + PlayControl : L.Playback.PlayControl, + DateControl : L.Playback.DateControl, + SliderControl : L.Playback.SliderControl + }, + options : { + tickLen: 250, + speed: 1, + maxInterpolationTime: 5*60*1000, // 5 minutes + + tracksLayer : true, + + playControl: false, + dateControl: false, + sliderControl: false, + + // options + layer: { + // pointToLayer(featureData, latlng) + }, + + marker : { + // getPopup(feature) + } + }, + initialize : function (map, geoJSON, callback, options) { + L.setOptions(this, options); + + this._map = map; + this._trackController = new L.Playback.TrackController(map, null, this.options); + L.Playback.Clock.prototype.initialize.call(this, this._trackController, callback, this.options); + + if (this.options.tracksLayer) { + this._tracksLayer = new L.Playback.TracksLayer(map, options); + } + + this.setData(geoJSON); + + if (this.options.playControl) { + this.playControl = new L.Playback.PlayControl(this, options); + this.playControl.addTo(map); + } + + if (this.options.sliderControl) { + this.sliderControl = new L.Playback.SliderControl(this); + this.sliderControl.addTo(map); + } + + if (this.options.dateControl) { + this.dateControl = new L.Playback.DateControl(this, options); + this.dateControl.addTo(map); + } + }, + clearData : function(){ + this._trackController.clearTracks(); + if (this._tracksLayer) { + this._tracksLayer.clearLayer(); + } + }, + setData : function (geoJSON) { + this.clearData(); + this.addData(geoJSON, this.getTime()); + this.setCursor(this.getStartTime()); + }, + // TODO - bad implementation + addData : function (geoJSON, ms) { + // return if data not set + if (!geoJSON) { + return; + } + + if (geoJSON instanceof Array) { + for (var i = 0, len = geoJSON.length; i < len; i++) { + this._trackController.addTrack(new L.Playback.Track(geoJSON[i], this.options), ms); + } + } else { + this._trackController.addTrack(new L.Playback.Track(geoJSON, this.options), ms); + } + + this._map.fire('playback:add_tracks'); + + if (this.options.tracksLayer) { + this._tracksLayer.addLayer(geoJSON); + } + }, + destroy: function() { + this.clearData(); + if (this.playControl) { + this._map.removeControl(this.playControl); + } + if (this.sliderControl) { + this._map.removeControl(this.sliderControl); + } + if (this.dateControl) { + this._map.removeControl(this.dateControl); + } + } +}); + +L.Map.addInitHook(function () { + if (this.options.playback) { + this.playback = new L.Playback(this); + } +}); + +L.playback = function (map, geoJSON, callback, options) { + return new L.Playback(map, geoJSON, callback, options); +}; +return L.Playback; + +})); diff --git a/reference/setBuildingStyle.html b/reference/setBuildingStyle.html index a457bdaa..a48d68a1 100644 --- a/reference/setBuildingStyle.html +++ b/reference/setBuildingStyle.html @@ -77,8 +77,8 @@

    Examples addBuildings() %>% setBuildingStyle(style) %>% setView(13.40, 52.51836,15) -
    - +
    + diff --git a/reference/updateBuildingTime.html b/reference/updateBuildingTime.html index 3d6bd420..25672119 100644 --- a/reference/updateBuildingTime.html +++ b/reference/updateBuildingTime.html @@ -72,8 +72,8 @@

    Examples addBuildings() %>% updateBuildingTime(as.POSIXct("2024-09-01 19:00:00 CET")) %>% setView(13.40, 52.51836,15) -
    - +
    + diff --git a/search.json b/search.json index 86640a5d..b23cd868 100644 --- a/search.json +++ b/search.json @@ -1 +1 @@ -[{"path":"https://trafficonese.github.io/leaflet.extras2/CODE_OF_CONDUCT.html","id":null,"dir":"","previous_headings":"","what":"Contributor Code of Conduct","title":"Contributor Code of Conduct","text":"contributors maintainers project, pledge respect people contribute reporting issues, posting feature requests, updating documentation, submitting pull requests patches, activities. committed making participation project harassment-free experience everyone, regardless level experience, gender, gender identity expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion. Examples unacceptable behavior participants include use sexual language imagery, derogatory comments personal attacks, trolling, public private harassment, insults, unprofessional conduct. Project maintainers right responsibility remove, edit, reject comments, commits, code, wiki edits, issues, contributions aligned Code Conduct. Project maintainers follow Code Conduct may removed project team. Instances abusive, harassing, otherwise unacceptable behavior may reported opening issue contacting one project maintainers. Code Conduct adapted Contributor Covenant (https://www.contributor-covenant.org), version 1.0.0, available https://contributor-covenant.org/version/1/0/0/.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/HowTo.html","id":"how-to-include-a-new-plugin-","dir":"","previous_headings":"","what":"How to include a new plugin ❓","title":"NA","text":"Fork repo computer create new branch plugin name. plugin leaflet-arrowheads serve example tutorial. Create new directory ./inst/htmlwidgets/ prefix lfx- plugin name. snippet : Install dependencies via npm/bower etc available. package installed, either fork/download plugin-repo copy/paste JavaScript code manually. plugin can installed requires 2 dependencies. installed : add dependencies directory ./node_modules/. Find directories source files copy new directory lfx-arrowhead. case files: leaflet.geometryutil.js leaflet-arrowheads.js Create new R-file name plugin ./R/. case arrowhead.R copy/paste another R-file rename accordingly. copy/pasted antpath.R file search/replaced antpath arrowhead Antpath Arrowhead adapted functions options according plugin. Add JavaScript-binding file directory /inst/htmlwidgets/lfx-arrowhead. Look plugins bindings references examples. beginning use lot console.log() debugger statements JS-methods get idea data looks like, arguments passed correctly, etc. case also copy/pasted file lfx-ant-path-bindings.js, renamed leaflet-arrowheads-bindings.js adapted JavaScript code. plugin exposes several methods, can/write R-function every JS-method. R-function calls JS-method invokeMethod argument method correspond JavaScript method want invoke. arrowheads-plugin method deleteArrowheads. used method two R JS functions, one can remove arrowheads group (clearArrowhead) one layerId (removeArrowhead). JS methods always refers map-object. needed, can also use LeafletWidget object R-leaflet L object leaflet . Add example ./inst/examples/. use directory demonstrate/test plugins ShinyApps. Non-interactive examples go straight documentation function. Add test ./tests/testthat/ use function usethis::use_test(\"arrowhead\") Check package run devtools::test_coverage() try test R-code lines. ✅ can also check coverage just one file devtools::test_coverage_file(paste0(getwd(),\"/tests/testthat/test-arrowhead.R\")). may load libraries manually . Add new plugin README.md link github repo. Add short description NEWS.md file plugin now available. Add plugin _pkgdown.yml file make sure matches functions. everything works correctly, push fork open PR. happy merge soon possible! 💚 🤷 ’re stuck somewhere process just can’t get work, can still open PR explain problem . look . 🎉 Celebrate use 🏆","code":"usethis::use_directory(\"/inst/htmlwidgets/lfx-arrowhead\") npm install leaflet-arrowheads --save npm install leaflet-geometryutil --save"},{"path":"https://trafficonese.github.io/leaflet.extras2/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Gatscha Sebastian. Author, maintainer. Ricardo Rodrigo Basa. Contributor. Jeffrey O Hanson. Contributor.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Sebastian G (2024). leaflet.extras2: Extra Functionality 'leaflet' Package. R package version 1.2.2.9000, https://github.com/trafficonese/leaflet.extras2, https://trafficonese.github.io/leaflet.extras2/.","code":"@Manual{, title = {leaflet.extras2: Extra Functionality for 'leaflet' Package}, author = {Gatscha Sebastian}, year = {2024}, note = {R package version 1.2.2.9000, https://github.com/trafficonese/leaflet.extras2}, url = {https://trafficonese.github.io/leaflet.extras2/}, }"},{"path":"https://trafficonese.github.io/leaflet.extras2/index.html","id":"leafletextras2","dir":"","previous_headings":"","what":"Extra Functionality for leaflet Package","title":"Extra Functionality for leaflet Package","text":"goal leaflet.extras2 package provide extra functionality leaflet leaflet.extras R packages using various leaflet plugins.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Extra Functionality for leaflet Package","text":"CRAN version latest development version","code":"install.packages('leaflet.extras2') remotes::install_github('trafficonese/leaflet.extras2')"},{"path":"https://trafficonese.github.io/leaflet.extras2/index.html","id":"integrated-plugins","dir":"","previous_headings":"","what":"Integrated Plugins","title":"Extra Functionality for leaflet Package","text":"need plugin already implemented create issue. See FAQ section details. Ant Path Arrowheads ClusterCharts Contextmenu DivIcon Easy Print GIBS Heightgraph Hexbin-D3 History Labelgun Leaflet.Sync Mapkey Icons Moving Markers OpenWeatherMap OSMBuildings Playback Reachability Sidebar-v2 Side--Side Spin Timeslider Tangram Velocity WMS","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/index.html","id":"documentation","dir":"","previous_headings":"","what":"Documentation","title":"Extra Functionality for leaflet Package","text":"R functions documented using roxygen, provide enough help get started using feature. However plugins lots options ’s feasible document every single detail. cases encouraged check plugin’s documentation examples.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/index.html","id":"faq","dir":"","previous_headings":"","what":"FAQ","title":"Extra Functionality for leaflet Package","text":"want use certain leaflet plugin integrated far. Good Solution: Create issues plugins wish incorporated search existing issues see issue already exists comment issue instead creating duplicates. Better Solution: help prioritizing can include additional details like need plugin, helpful everyone etc. Best Solution: Code submit pull request. fastest way get plugin package. Checkout little tutorial. submitted issue plugin long time ago still available. package developed purely voluntary basis spare time without monetary compensation. development progress can stall times. may also possible prioritize one-requests one else interested . Getting people interested feature request help prioritize development. option contribute code. get added contributor list. found bug. Good Solution: Search existing issue list one reported create new issue. Better Solution: Along issue submission provide minimal reproducible code sample. Best Solution: Fix issue submit pull request. fastest way get bug fixed.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/index.html","id":"code-of-conduct","dir":"","previous_headings":"","what":"Code of Conduct","title":"Extra Functionality for leaflet Package","text":"Please note project released Contributor Code Conduct. participating project agree abide terms.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addAntpath.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Antpath Lines — addAntpath","title":"Add Antpath Lines — addAntpath","text":"Can used almost exactly like addPolylines instead pathOptions can use antpathOptions adapt Antpath behaviour. See leaflet-ant-path details.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addAntpath.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Antpath Lines — addAntpath","text":"","code":"addAntpath( map, lng = NULL, lat = NULL, layerId = NULL, group = NULL, stroke = TRUE, color = \"#03F\", weight = 5, opacity = 0.5, fill = FALSE, fillColor = color, fillOpacity = 0.2, dashArray = NULL, smoothFactor = 1, noClip = FALSE, popup = NULL, popupOptions = NULL, label = NULL, labelOptions = NULL, options = antpathOptions(), highlightOptions = NULL, data = getMapData(map) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addAntpath.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Antpath Lines — addAntpath","text":"map map widget object created leaflet() lng numeric vector longitudes, one-sided formula form ~x x variable data; default (explicitly provided), automatically inferred data looking column named lng, long, longitude (case-insensitively) lat vector latitudes formula (similar lng argument; names lat latitude used guessing latitude column data) layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. stroke whether draw stroke along path (e.g. borders polygons circles) color stroke color weight stroke width pixels opacity stroke opacity (layer opacity tile layers) fill whether fill path color (e.g. filling polygons circles) fillColor fill color fillOpacity fill opacity dashArray string defines stroke dash pattern smoothFactor much simplify polyline zoom level (means better performance less accurate representation) noClip whether disable polyline clipping popup character vector HTML content popups (recommended escape text using htmlEscape() security reasons) popupOptions Vector popupOptions provide popups label character vector HTML content labels labelOptions Vector labelOptions provide label options label. Default NULL options named list options. See antpathOptions highlightOptions Options highlighting shape mouse . data data object argument values derived; default, data object provided leaflet() initially, can overridden","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addAntpath.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Antpath Lines — addAntpath","text":"modified leaflet map, 'ant-path' animated polyline","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addAntpath.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Antpath Lines — addAntpath","text":"https://github.com/rubenspgcavalcante/leaflet-ant-path","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addAntpath.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Antpath Lines — addAntpath","text":"","code":"library(leaflet) leaflet() %>% addAntpath(data = atlStorms2005) #> Loading required package: sp {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addAntpath\",\"args\":[[[[{\"lng\":[-67.5,-68.5,-69.59999999999999,-70.5,-71.3,-72.2,-72.7,-72.90000000000001,-73,-72.40000000000001,-70.8],\"lat\":[15.8,16.5,17.3,17.8,18.3,18.6,19.8,21.6,23.5,25.1,27.9]}]],[[{\"lng\":[-84,-83.90000000000001,-83.90000000000001,-84,-84.09999999999999,-84.2,-84.40000000000001,-84.5,-84.7,-85.09999999999999,-85.59999999999999,-85.59999999999999,-86.8,-87.2,-87.5,-87.5,-87.59999999999999,-87.7,-88,-87.8,-87.5,-86,-85,-84,-81.09999999999999,-77.59999999999999],\"lat\":[16.9,17.4,18.2,19,19.7,20.4,21.2,21.8,23,24.9,26.5,26.5,27.7,28.9,30.1,30.3,31.4,32.7,35,37,38.5,40.5,42,43,43.7,44.8]}]],[[{\"lng\":[-95.40000000000001,-95.7,-95.8,-96.40000000000001,-97.3,-98.09999999999999,-98.5],\"lat\":[19.7,19.9,20,20.4,20.8,21.4,22]}]],[[{\"lng\":[-86.7,-87.2,-87.59999999999999,-87.90000000000001,-88.5,-89,-89.7,-90.2,-90.40000000000001,-90.5,-90.3,-90.09999999999999,-90,-89.5,-88.90000000000001,-88.09999999999999,-87.2,-86.2,-84.09999999999999,-81.8,-80,-78.3,-76.7,-74.8,-72,-70.7,-69.8,-69.59999999999999,-69.8,-70,-67.59999999999999,-66.40000000000001,-64.5,-62.5],\"lat\":[18.3,18.6,19,19.3,20.9,22.3,23.9,25.1,26.4,27.6,28.5,29.2,29.6,30.2,30.8,31.6,32.4,33.2,34.6,35.6,37.1,37.8,38.4,39.1,39.5,40.8,41.6,43.5,44.9,45.5,46.5,48,48.5,48.5]}]],[[{\"lng\":[-48,-47.5,-46.7,-45.9,-44.8,-43.5,-42.2,-41.1,-40.1,-39.6,-40.1,-39.9,-39.8,-40.5,-40.9,-41.3,-41.2,-40.8,-40.2,-39.6,-39,-38.9,-39,-39.3,-39.6,-39.8,-39.8,-39.4,-38.4,-37.3,-35.8,-34,-31.9,-29.9,-27.5,-24.8,-21.6,-18.2,-14.6,-10.9,-6.6,-1],\"lat\":[27,26.7,26.7,27.2,27.7,28,28.3,29,29.9,30.9,31.5,31.4,31.2,30.7,29.9,28.8,27.4,26.4,25.5,25,24.8,24.6,24.1,23.8,23.3,22.8,22.3,21.8,22,22.6,23.5,24.8,26.7,28.3,29.1,29.9,30.2,30.2,30.2,30.7,32.6,35.3]}]],[[{\"lng\":[-60.8,-61.6,-62.5,-64.2,-65.90000000000001,-67.3,-68.5,-69.7,-70.90000000000001,-71.90000000000001,-73,-74.09999999999999,-74.90000000000001,-76.09999999999999,-77.09999999999999,-77.59999999999999,-78.40000000000001,-79.5,-80.59999999999999,-80.7,-81.59999999999999,-82.5,-83.40000000000001,-84.2,-85,-85.8,-86.3,-86.90000000000001,-87.09999999999999,-87.7,-88.5,-88.8,-89.09999999999999,-89.2,-89,-88.7,-88.3,-87.8,-87.2,-86.5,-85.8,-85.7,-85.59999999999999,-85.59999999999999,-85.59999999999999,-85.8,-86.2,-86.40000000000001,-86.59999999999999,-86.8,-86.5,-86.2,-85.2,-84.09999999999999,-83.2,-82.3,-81.40000000000001,-80.5,-79.8],\"lat\":[12,12.1,12.2,12.5,13,13.6,14.3,14.7,15.1,15.6,16.2,16.7,17.6,18.5,19.4,19.9,20.3,20.9,22,22.1,22.7,23.4,24.3,25.2,26.1,27.2,28.5,29.9,30.4,31.5,32.6,33.9,35.3,36.4,37.1,37.7,38.1,38.5,38.9,39.2,39.2,39.2,39,38.7,38.4,38.1,37.9,38.1,38.4,38.6,39.4,40.2,40.8,41.3,42.2,43.1,43.9,44.6,45.8]}]],[[{\"lng\":[-42.4,-43.4,-44.4,-45.4,-46.8,-48.5,-50.2,-52,-53.7,-55.4,-57.2,-58.9,-60.2,-61.5,-61.8,-63.2,-64.90000000000001,-66.7,-68.40000000000001,-70.09999999999999,-71.8,-73.40000000000001,-75,-76.5,-78,-79.5,-81.2,-82.8,-84.3,-85.8,-87.3,-87.40000000000001,-88.90000000000001,-90.3,-91.5,-92.8,-94,-95.09999999999999,-96.09999999999999,-96.90000000000001,-97.59999999999999,-98.7,-99.7,-100.5,-101.1],\"lat\":[10.7,10.8,10.9,11,11,11,11,11,11,11.1,11.2,11.4,11.6,11.9,12,12.4,12.9,13.3,13.7,14.1,14.5,14.9,15.4,15.9,16.4,17.1,17.7,18.3,18.9,19.5,20.3,20.3,21.3,22,22.6,23.2,23.7,24.1,24.4,24.6,24.8,25,25,25,25]}]],[[{\"lng\":[-49.2,-50,-50.8,-51.5,-52.5,-53.5,-54.2,-53.8,-52.7,-51.9,-51.3,-50.6,-49.8,-48.9,-47.9,-47.1,-46.2,-45,-43.7,-42.3,-41.1,-39.8,-38.8,-37.8,-36.7,-35.5,-34.6,-33.8,-33.7,-33.7,-34.2,-34.9,-36,-37.1,-38.1,-38.8,-39.3,-40,-40.5,-40.6,-40.4,-40.1,-39.2],\"lat\":[31.5,31.6,31.4,31.4,31.1,30.8,30.1,29.7,30,30.8,31.4,31.9,32.5,33.2,33.9,34.3,34.5,34.5,34.5,34.3,34.4,34.3,34.3,34.2,34,33.8,33.7,33.4,33.1,32.3,31.6,30.8,30.1,29.4,28.7,28.2,27.4,26.5,25.9,25.5,25.1,24.7,24.7]}]],[[{\"lng\":[-75,-75.90000000000001,-76.40000000000001,-76.8,-76.7,-76.59999999999999,-76.09999999999999,-75.40000000000001,-74.7,-73.5,-72.59999999999999,-71.90000000000001,-71.2,-71.2,-70.5,-69.8,-69.59999999999999,-68.59999999999999,-68.2,-68.09999999999999,-68.3,-68.5,-68.8,-69.09999999999999,-69.3,-69.40000000000001,-69.3,-69.09999999999999,-68,-66.59999999999999,-64.8,-62.8,-60.2,-57.5,-54.6,-51.7,-48.8,-46],\"lat\":[25,25.7,26.2,26.6,27.4,28.1,28.7,29.2,29.7,30.1,30.3,30.7,31.1,31.1,31,30.9,30.9,30.9,31.2,31.7,32.2,32.4,32.8,33.2,33.6,34.2,35,36,37.1,38.4,39.6,40.8,42.2,43.5,44.7,45.8,46.4,47.5]}]],[[{\"lng\":[-62.1,-62.8,-63.4,-64.2,-65,-66,-67.09999999999999,-68.40000000000001,-69.90000000000001,-71.5,-73.09999999999999,-75.40000000000001,-77.59999999999999,-79.7,-81.7,-83.09999999999999,-84.09999999999999,-84.8,-85.5,-85.59999999999999,-85.59999999999999,-85.59999999999999,-85.40000000000001,-85.2,-85,-85,-85.2,-85.5,-85.5,-85.2,-84.8,-84.3,-83.5],\"lat\":[13.2,13.6,13.8,14.1,14.2,14.3,14.4,14.7,14.8,14.8,14.7,14.8,15,15.3,15.6,15.8,15.8,15.7,15.5,15.7,16,16.1,16.1,16.2,16.4,16.6,16.7,16.9,17.1,17,16.7,16.4,15.4]}]],[[{\"lng\":[-92.90000000000001,-93.8,-95,-95.8,-96.59999999999999,-97.59999999999999,-98.59999999999999,-100,-101.4],\"lat\":[19.3,19.8,20.8,21,21.4,21.8,22.3,22.5,22.5]}]],[[{\"lng\":[-68.8,-68.7,-68.59999999999999,-68.3,-67.7,-66.40000000000001,-65,-63.6,-62.1,-60.5,-59.4,-58.5,-57.7,-57.1,-56.8,-56.7,-56.7,-55.5,-54.9,-54,-52.9,-51.9,-50.7,-48.6,-46.9,-45,-43,-41.1,-39,-37.1,-35.2,-34.1,-33.1,-32.2,-31.5,-31,-30.7,-30.5,-30.8,-31.4,-31.5,-31.5,-31.5,-31.5,-32,-32.5],\"lat\":[28.2,28.9,29.5,30.3,30.9,31.3,31.6,31.9,32,32.1,32.4,32.5,32.5,32.6,33,33.5,33.5,34.1,35.1,36,36.8,37.6,38.6,39.6,40.4,41.2,41.8,42.3,43,44,44.5,44.5,44.4,44.2,43.9,43.5,43.3,43,42.5,42,41.3,40.7,40.5,40.5,41.2,42]}]],[[{\"lng\":[-33.5,-34.5,-35.5,-36.8,-38.4,-39.8,-40.5,-41.6,-42.8,-43.5,-44.2,-45,-46,-47.2,-48.3,-49.9,-50.9,-52,-52.9,-53.7,-54.8,-55.7,-56.5,-57.2,-58.1,-59.3,-60.4,-61.7,-62.9,-63.8,-65.09999999999999,-66.3,-67.09999999999999,-67.7,-68.2,-69,-69.40000000000001,-69.90000000000001,-70.2,-70.09999999999999,-70,-69.5,-68.7,-67.7,-66.5,-65.09999999999999,-64,-63,-62,-61.3,-60.6,-59.1,-57.3,-55,-52.3,-48.9],\"lat\":[12.9,13.6,14.6,15.6,16.6,17.2,17.7,18.2,18.8,19.3,19.7,20.2,20.8,21.3,21.8,22.2,22.4,22.5,22.4,22.4,22.4,22.4,22.3,22.4,22.8,23.3,23.9,24.7,25.4,26.3,27.2,27.9,28.4,28.9,29.6,30,30.8,31.6,32.1,33.1,34,34.9,35.7,36.3,36.5,36.6,36.6,36.6,36.5,36.5,36.5,36.9,37.6,38.6,40.3,43.3]}]],[[{\"lng\":[-94.5,-95,-95.7,-96.40000000000001,-96.7,-97.7],\"lat\":[19.4,19.6,19.7,19.7,19.7,19.7]}]],[[{\"lng\":[-75.09999999999999,-75.7,-76.2,-76.5,-76.90000000000001,-77.7,-78.40000000000001,-79,-79.59999999999999,-80.09999999999999,-80.3,-81.3,-82,-82.59999999999999,-83.3,-84,-84.7,-85.3,-85.90000000000001,-86.7,-87.7,-88.59999999999999,-89.2,-89.59999999999999,-89.59999999999999,-89.59999999999999,-89.59999999999999,-89.59999999999999,-89.09999999999999,-88.59999999999999,-88,-87,-85.3,-82.90000000000001],\"lat\":[23.1,23.4,23.8,24.5,25.4,26,26.1,26.2,26.2,26,25.9,25.4,25.1,24.9,24.6,24.4,24.4,24.5,24.8,25.2,25.7,26.3,27.2,28.2,29.3,29.5,30.2,31.1,32.6,34.1,35.6,37,38.6,40.1]}]],[[{\"lng\":[-45.1,-46.4,-47.6,-48.9,-50.6,-52.5,-53.2,-53.6,-54.2,-53.6,-52.7,-51.6,-50.4,-50.1,-50.3,-51.2,-51.4,-51.5,-52,-52.3,-52.3,-52.7,-53.2,-53.9,-54.2,-53.9],\"lat\":[14,14.9,15.7,17,17.7,18.5,20.5,22.1,24.2,25.5,26.9,28,29,30.1,31.1,31.9,31.9,32.3,32.4,32.6,33.2,33.9,34.7,35.5,36.6,37.4]}]],[[{\"lng\":[-45.5,-46.2,-47.2,-48.3,-49.4,-50.2,-51,-52,-53.1,-54,-54.6,-55.1,-55.5,-56,-56.5,-56.8,-56.8,-56.7,-56.6,-56.5,-56,-55.4,-54.6,-53.3,-51.8,-50.8,-49.9,-49,-48,-47.2,-46.4,-44.9,-43.4,-42.1,-40.6,-39.2,-37.7,-36.3,-35,-34,-32.9,-32,-31,-29,-26,-23,-21,-19,-16,-10,0],\"lat\":[18.8,19.3,19.9,20.5,21.1,21.5,22,23,24.4,25.5,26.5,27.5,28.6,29.6,30.2,30.9,31.5,32.1,32.6,33,33.5,33.9,34.4,34.8,35.6,36.5,37.2,37.9,38.7,39.1,39.4,39.8,40.4,41.1,41.9,42.9,44.5,46,48,50,52,54,55.5,57,58.5,61,62,62.9,63.5,63,63]}]],[[{\"lng\":[-67,-66.59999999999999,-66.5,-66.5,-66.40000000000001,-66.3,-66.3,-66.2,-66,-65.7,-65,-63.8,-62.7,-61.1,-59.1,-55.8,-53.4,-50.8,-49,-45.9,-44.1,-42.1,-40.6,-38.3,-35.6,-33.3,-32,-28.1,-25],\"lat\":[28.4,28.4,28.5,28.5,28.6,28.7,28.7,28.9,29.3,29.6,30,30.5,31.4,32.6,33.4,34,34.5,34.7,34.6,34.5,34.9,35.2,36,37.4,39.2,41.6,43.5,44,46]}]],[[{\"lng\":[-78.59999999999999,-78.3,-78.3,-78.3,-78.5,-78.8,-79.2,-79.3,-79.3,-79.59999999999999,-79.59999999999999,-79.5,-79.3,-79.3,-79.09999999999999,-78.5,-77.5,-76.90000000000001,-76.59999999999999,-76.2,-75.90000000000001,-75.90000000000001,-75.7,-75.90000000000001,-76.2,-76.59999999999999,-76.90000000000001,-77.3,-77.7,-77.90000000000001,-78,-78.09999999999999,-78.09999999999999,-78,-77.7,-77.5,-76.90000000000001,-76.3,-75.8,-75.59999999999999,-75.09999999999999,-74.8,-74.40000000000001,-73.59999999999999,-72.7,-71.40000000000001,-69.7,-67.3,-64.90000000000001,-62.6,-59.9,-56.2,-52.3,-48.8,-45.7,-42.1,-38.5,-34.7,-30.5,-26.5,-22,-17.7,-14.6,-11.9,-8.4,-4.5,-1,1.9,6.6],\"lat\":[25.8,26.3,26.6,26.8,27.4,27.9,28.7,28.8,28.8,28.7,28.6,28.6,28.6,28.9,29.3,29.8,30.2,30.9,31.5,31.7,31.8,31.7,31.6,31.4,31.2,31.2,31.5,31.7,31.8,31.9,32.1,32.3,32.6,32.9,33.4,33.9,34.2,34.5,34.7,34.7,34.6,34.7,35.4,36.4,37.3,38.7,40,41.6,43.2,44.8,46.2,47.4,48.4,49,49.5,50,50.9,51.5,52.2,52.8,53.8,55.3,57.6,59.8,61.7,63.6,65.59999999999999,67.5,68.8]}]],[[{\"lng\":[-54.5,-54.9,-55.1,-55.3,-55.5,-55.7,-55.8,-55.9,-56.2,-56.4,-56.6,-56.8,-57,-57.2,-57.2,-57.1,-57,-56.9,-56.7,-56.8,-57.2,-57.6,-58.2,-60.1,-62.2,-63.7,-63.8,-62.8],\"lat\":[13.3,13.5,13.9,14.4,14.9,15.6,16.2,16.7,17.2,17.5,17.7,17.9,18.1,18.5,18.9,19.4,19.9,20.8,22.4,23.8,25.2,26.7,28.3,30.2,30.5,30.2,29.2,28.6]}]],[[{\"lng\":[-69.90000000000001,-70.7,-71.5,-72.3,-73,-73.8,-74.7,-75.90000000000001,-77.2,-78.8,-80.3,-81.59999999999999,-82.7,-84,-85.2,-86.2,-86.90000000000001,-87.3,-87.59999999999999,-88.3,-89.09999999999999,-89.90000000000001,-90.7,-91.5,-92.3,-93,-93.59999999999999,-93.7,-94.09999999999999,-94.09999999999999,-94,-93.59999999999999,-92.5,-91.40000000000001,-90.09999999999999,-88],\"lat\":[21.3,21.6,21.9,22.2,22.4,22.6,22.8,23.1,23.3,23.5,23.7,23.9,24.1,24.2,24.2,24.3,24.5,24.7,24.8,25.2,25.6,26,26.5,27.1,27.8,28.6,29.4,29.7,30.5,31.6,32.7,33.7,34.7,35.8,37,39.5]}]],[[{\"lng\":[-43.6,-44.7,-45.7,-46,-46.4,-46.7,-47.4,-48.4,-49.3,-49.9,-50.4,-51.1,-52,-53.2,-54.1,-54.9,-55.6,-56.6,-57.7,-58.9,-60.1],\"lat\":[13.3,13.8,13.8,13.4,13.5,13.9,14.4,14.5,14.6,14.8,15.1,15.5,16,16.1,16.1,16.1,16.7,17.1,17.3,17.6,18]}]],[[{\"lng\":[-57.4,-58.5,-60.1,-62,-63.3,-64.5,-65.2,-66,-67.5,-68.90000000000001,-70,-71,-71.7,-71.8,-71.7,-71.90000000000001,-72.40000000000001,-73,-73.5,-73.5,-73.5,-73,-73,-73.40000000000001,-73.8,-73.8,-73.8],\"lat\":[26.1,27.7,28.8,29.3,29.3,29.5,30,30.7,31.6,32.5,33.5,34.3,35.5,36.7,37.8,38.5,38.8,38.9,38.7,38.3,37.7,37.2,37.8,38,37.6,38.6,39.6]}]],[[{\"lng\":[-78.5,-78.8,-79,-79.2,-79.40000000000001,-79.59999999999999,-79.59999999999999,-79.7,-79.8,-79.90000000000001,-79.90000000000001,-80.3,-81.09999999999999,-81.8,-82.2,-82.8,-83.40000000000001,-84,-84.7,-85.2,-85.5,-85.8,-86.09999999999999,-86.40000000000001,-86.7,-86.8,-86.8,-86.90000000000001,-87,-87.09999999999999,-87.09999999999999,-87,-86.8,-86.09999999999999,-85.40000000000001,-84.3,-83.09999999999999,-81.7,-81,-78.8,-76,-72,-67.90000000000001,-63.5,-60,-57.5,-55,-52],\"lat\":[17.6,17.6,17.5,17.5,17.5,17.4,16.9,16.3,16,15.8,15.7,16.2,16.6,16.6,17,17.3,17.4,17.9,18.1,18.3,18.6,19.1,19.5,20.1,20.3,20.6,20.6,20.8,20.8,21,21.3,21.6,21.8,22.4,23.1,24,25,25.9,26.2,28,30.1,33.3,36.8,40.5,42.5,44,45,45.5]}]]],null,null,{\"delay\":400,\"paused\":false,\"reverse\":false,\"hardwareAccelerated\":false,\"dashArray\":[10,20],\"pulseColor\":\"#ffffff\",\"interactive\":true,\"className\":\"\",\"stroke\":true,\"color\":\"#03F\",\"weight\":5,\"opacity\":0.5,\"fill\":false,\"fillColor\":\"#03F\",\"fillOpacity\":0.2,\"smoothFactor\":1,\"noClip\":false},null,null,null,{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null]}],\"limits\":{\"lat\":[10.7,68.8],\"lng\":[-101.4,6.6]}},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addArrowhead.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Lines with an arrowhead — addArrowhead","title":"Add Lines with an arrowhead — addArrowhead","text":"Can used almost exactly like addPolylines instead pathOptions can use arrowheadOptions. See leaflet-arrowheads details.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addArrowhead.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Lines with an arrowhead — addArrowhead","text":"","code":"addArrowhead( map, lng = NULL, lat = NULL, layerId = NULL, group = NULL, stroke = TRUE, color = \"#03F\", weight = 5, opacity = 0.5, fill = FALSE, fillColor = color, fillOpacity = 0.2, dashArray = NULL, smoothFactor = 1, noClip = FALSE, popup = NULL, popupOptions = NULL, label = NULL, labelOptions = NULL, options = arrowheadOptions(), highlightOptions = NULL, data = getMapData(map) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addArrowhead.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Lines with an arrowhead — addArrowhead","text":"map map widget object created leaflet() lng numeric vector longitudes, one-sided formula form ~x x variable data; default (explicitly provided), automatically inferred data looking column named lng, long, longitude (case-insensitively) lat vector latitudes formula (similar lng argument; names lat latitude used guessing latitude column data) layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. stroke whether draw stroke along path (e.g. borders polygons circles) color stroke color weight stroke width pixels opacity stroke opacity (layer opacity tile layers) fill whether fill path color (e.g. filling polygons circles) fillColor fill color fillOpacity fill opacity dashArray string defines stroke dash pattern smoothFactor much simplify polyline zoom level (means better performance less accurate representation) noClip whether disable polyline clipping popup character vector HTML content popups (recommended escape text using htmlEscape() security reasons) popupOptions Vector popupOptions provide popups label character vector HTML content labels labelOptions Vector labelOptions provide label options label. Default NULL options named list options. See arrowheadOptions highlightOptions Options highlighting shape mouse . data data object argument values derived; default, data object provided leaflet() initially, can overridden","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addArrowhead.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Lines with an arrowhead — addArrowhead","text":"modified leaflet map polyline arrowheads","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addArrowhead.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Lines with an arrowhead — addArrowhead","text":"https://github.com/slutske22/leaflet-arrowheads","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addArrowhead.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Lines with an arrowhead — addArrowhead","text":"","code":"library(leaflet) leaflet() %>% addArrowhead(data = atlStorms2005) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addArrowhead\",\"args\":[[[[{\"lng\":[-67.5,-68.5,-69.59999999999999,-70.5,-71.3,-72.2,-72.7,-72.90000000000001,-73,-72.40000000000001,-70.8],\"lat\":[15.8,16.5,17.3,17.8,18.3,18.6,19.8,21.6,23.5,25.1,27.9]}]],[[{\"lng\":[-84,-83.90000000000001,-83.90000000000001,-84,-84.09999999999999,-84.2,-84.40000000000001,-84.5,-84.7,-85.09999999999999,-85.59999999999999,-85.59999999999999,-86.8,-87.2,-87.5,-87.5,-87.59999999999999,-87.7,-88,-87.8,-87.5,-86,-85,-84,-81.09999999999999,-77.59999999999999],\"lat\":[16.9,17.4,18.2,19,19.7,20.4,21.2,21.8,23,24.9,26.5,26.5,27.7,28.9,30.1,30.3,31.4,32.7,35,37,38.5,40.5,42,43,43.7,44.8]}]],[[{\"lng\":[-95.40000000000001,-95.7,-95.8,-96.40000000000001,-97.3,-98.09999999999999,-98.5],\"lat\":[19.7,19.9,20,20.4,20.8,21.4,22]}]],[[{\"lng\":[-86.7,-87.2,-87.59999999999999,-87.90000000000001,-88.5,-89,-89.7,-90.2,-90.40000000000001,-90.5,-90.3,-90.09999999999999,-90,-89.5,-88.90000000000001,-88.09999999999999,-87.2,-86.2,-84.09999999999999,-81.8,-80,-78.3,-76.7,-74.8,-72,-70.7,-69.8,-69.59999999999999,-69.8,-70,-67.59999999999999,-66.40000000000001,-64.5,-62.5],\"lat\":[18.3,18.6,19,19.3,20.9,22.3,23.9,25.1,26.4,27.6,28.5,29.2,29.6,30.2,30.8,31.6,32.4,33.2,34.6,35.6,37.1,37.8,38.4,39.1,39.5,40.8,41.6,43.5,44.9,45.5,46.5,48,48.5,48.5]}]],[[{\"lng\":[-48,-47.5,-46.7,-45.9,-44.8,-43.5,-42.2,-41.1,-40.1,-39.6,-40.1,-39.9,-39.8,-40.5,-40.9,-41.3,-41.2,-40.8,-40.2,-39.6,-39,-38.9,-39,-39.3,-39.6,-39.8,-39.8,-39.4,-38.4,-37.3,-35.8,-34,-31.9,-29.9,-27.5,-24.8,-21.6,-18.2,-14.6,-10.9,-6.6,-1],\"lat\":[27,26.7,26.7,27.2,27.7,28,28.3,29,29.9,30.9,31.5,31.4,31.2,30.7,29.9,28.8,27.4,26.4,25.5,25,24.8,24.6,24.1,23.8,23.3,22.8,22.3,21.8,22,22.6,23.5,24.8,26.7,28.3,29.1,29.9,30.2,30.2,30.2,30.7,32.6,35.3]}]],[[{\"lng\":[-60.8,-61.6,-62.5,-64.2,-65.90000000000001,-67.3,-68.5,-69.7,-70.90000000000001,-71.90000000000001,-73,-74.09999999999999,-74.90000000000001,-76.09999999999999,-77.09999999999999,-77.59999999999999,-78.40000000000001,-79.5,-80.59999999999999,-80.7,-81.59999999999999,-82.5,-83.40000000000001,-84.2,-85,-85.8,-86.3,-86.90000000000001,-87.09999999999999,-87.7,-88.5,-88.8,-89.09999999999999,-89.2,-89,-88.7,-88.3,-87.8,-87.2,-86.5,-85.8,-85.7,-85.59999999999999,-85.59999999999999,-85.59999999999999,-85.8,-86.2,-86.40000000000001,-86.59999999999999,-86.8,-86.5,-86.2,-85.2,-84.09999999999999,-83.2,-82.3,-81.40000000000001,-80.5,-79.8],\"lat\":[12,12.1,12.2,12.5,13,13.6,14.3,14.7,15.1,15.6,16.2,16.7,17.6,18.5,19.4,19.9,20.3,20.9,22,22.1,22.7,23.4,24.3,25.2,26.1,27.2,28.5,29.9,30.4,31.5,32.6,33.9,35.3,36.4,37.1,37.7,38.1,38.5,38.9,39.2,39.2,39.2,39,38.7,38.4,38.1,37.9,38.1,38.4,38.6,39.4,40.2,40.8,41.3,42.2,43.1,43.9,44.6,45.8]}]],[[{\"lng\":[-42.4,-43.4,-44.4,-45.4,-46.8,-48.5,-50.2,-52,-53.7,-55.4,-57.2,-58.9,-60.2,-61.5,-61.8,-63.2,-64.90000000000001,-66.7,-68.40000000000001,-70.09999999999999,-71.8,-73.40000000000001,-75,-76.5,-78,-79.5,-81.2,-82.8,-84.3,-85.8,-87.3,-87.40000000000001,-88.90000000000001,-90.3,-91.5,-92.8,-94,-95.09999999999999,-96.09999999999999,-96.90000000000001,-97.59999999999999,-98.7,-99.7,-100.5,-101.1],\"lat\":[10.7,10.8,10.9,11,11,11,11,11,11,11.1,11.2,11.4,11.6,11.9,12,12.4,12.9,13.3,13.7,14.1,14.5,14.9,15.4,15.9,16.4,17.1,17.7,18.3,18.9,19.5,20.3,20.3,21.3,22,22.6,23.2,23.7,24.1,24.4,24.6,24.8,25,25,25,25]}]],[[{\"lng\":[-49.2,-50,-50.8,-51.5,-52.5,-53.5,-54.2,-53.8,-52.7,-51.9,-51.3,-50.6,-49.8,-48.9,-47.9,-47.1,-46.2,-45,-43.7,-42.3,-41.1,-39.8,-38.8,-37.8,-36.7,-35.5,-34.6,-33.8,-33.7,-33.7,-34.2,-34.9,-36,-37.1,-38.1,-38.8,-39.3,-40,-40.5,-40.6,-40.4,-40.1,-39.2],\"lat\":[31.5,31.6,31.4,31.4,31.1,30.8,30.1,29.7,30,30.8,31.4,31.9,32.5,33.2,33.9,34.3,34.5,34.5,34.5,34.3,34.4,34.3,34.3,34.2,34,33.8,33.7,33.4,33.1,32.3,31.6,30.8,30.1,29.4,28.7,28.2,27.4,26.5,25.9,25.5,25.1,24.7,24.7]}]],[[{\"lng\":[-75,-75.90000000000001,-76.40000000000001,-76.8,-76.7,-76.59999999999999,-76.09999999999999,-75.40000000000001,-74.7,-73.5,-72.59999999999999,-71.90000000000001,-71.2,-71.2,-70.5,-69.8,-69.59999999999999,-68.59999999999999,-68.2,-68.09999999999999,-68.3,-68.5,-68.8,-69.09999999999999,-69.3,-69.40000000000001,-69.3,-69.09999999999999,-68,-66.59999999999999,-64.8,-62.8,-60.2,-57.5,-54.6,-51.7,-48.8,-46],\"lat\":[25,25.7,26.2,26.6,27.4,28.1,28.7,29.2,29.7,30.1,30.3,30.7,31.1,31.1,31,30.9,30.9,30.9,31.2,31.7,32.2,32.4,32.8,33.2,33.6,34.2,35,36,37.1,38.4,39.6,40.8,42.2,43.5,44.7,45.8,46.4,47.5]}]],[[{\"lng\":[-62.1,-62.8,-63.4,-64.2,-65,-66,-67.09999999999999,-68.40000000000001,-69.90000000000001,-71.5,-73.09999999999999,-75.40000000000001,-77.59999999999999,-79.7,-81.7,-83.09999999999999,-84.09999999999999,-84.8,-85.5,-85.59999999999999,-85.59999999999999,-85.59999999999999,-85.40000000000001,-85.2,-85,-85,-85.2,-85.5,-85.5,-85.2,-84.8,-84.3,-83.5],\"lat\":[13.2,13.6,13.8,14.1,14.2,14.3,14.4,14.7,14.8,14.8,14.7,14.8,15,15.3,15.6,15.8,15.8,15.7,15.5,15.7,16,16.1,16.1,16.2,16.4,16.6,16.7,16.9,17.1,17,16.7,16.4,15.4]}]],[[{\"lng\":[-92.90000000000001,-93.8,-95,-95.8,-96.59999999999999,-97.59999999999999,-98.59999999999999,-100,-101.4],\"lat\":[19.3,19.8,20.8,21,21.4,21.8,22.3,22.5,22.5]}]],[[{\"lng\":[-68.8,-68.7,-68.59999999999999,-68.3,-67.7,-66.40000000000001,-65,-63.6,-62.1,-60.5,-59.4,-58.5,-57.7,-57.1,-56.8,-56.7,-56.7,-55.5,-54.9,-54,-52.9,-51.9,-50.7,-48.6,-46.9,-45,-43,-41.1,-39,-37.1,-35.2,-34.1,-33.1,-32.2,-31.5,-31,-30.7,-30.5,-30.8,-31.4,-31.5,-31.5,-31.5,-31.5,-32,-32.5],\"lat\":[28.2,28.9,29.5,30.3,30.9,31.3,31.6,31.9,32,32.1,32.4,32.5,32.5,32.6,33,33.5,33.5,34.1,35.1,36,36.8,37.6,38.6,39.6,40.4,41.2,41.8,42.3,43,44,44.5,44.5,44.4,44.2,43.9,43.5,43.3,43,42.5,42,41.3,40.7,40.5,40.5,41.2,42]}]],[[{\"lng\":[-33.5,-34.5,-35.5,-36.8,-38.4,-39.8,-40.5,-41.6,-42.8,-43.5,-44.2,-45,-46,-47.2,-48.3,-49.9,-50.9,-52,-52.9,-53.7,-54.8,-55.7,-56.5,-57.2,-58.1,-59.3,-60.4,-61.7,-62.9,-63.8,-65.09999999999999,-66.3,-67.09999999999999,-67.7,-68.2,-69,-69.40000000000001,-69.90000000000001,-70.2,-70.09999999999999,-70,-69.5,-68.7,-67.7,-66.5,-65.09999999999999,-64,-63,-62,-61.3,-60.6,-59.1,-57.3,-55,-52.3,-48.9],\"lat\":[12.9,13.6,14.6,15.6,16.6,17.2,17.7,18.2,18.8,19.3,19.7,20.2,20.8,21.3,21.8,22.2,22.4,22.5,22.4,22.4,22.4,22.4,22.3,22.4,22.8,23.3,23.9,24.7,25.4,26.3,27.2,27.9,28.4,28.9,29.6,30,30.8,31.6,32.1,33.1,34,34.9,35.7,36.3,36.5,36.6,36.6,36.6,36.5,36.5,36.5,36.9,37.6,38.6,40.3,43.3]}]],[[{\"lng\":[-94.5,-95,-95.7,-96.40000000000001,-96.7,-97.7],\"lat\":[19.4,19.6,19.7,19.7,19.7,19.7]}]],[[{\"lng\":[-75.09999999999999,-75.7,-76.2,-76.5,-76.90000000000001,-77.7,-78.40000000000001,-79,-79.59999999999999,-80.09999999999999,-80.3,-81.3,-82,-82.59999999999999,-83.3,-84,-84.7,-85.3,-85.90000000000001,-86.7,-87.7,-88.59999999999999,-89.2,-89.59999999999999,-89.59999999999999,-89.59999999999999,-89.59999999999999,-89.59999999999999,-89.09999999999999,-88.59999999999999,-88,-87,-85.3,-82.90000000000001],\"lat\":[23.1,23.4,23.8,24.5,25.4,26,26.1,26.2,26.2,26,25.9,25.4,25.1,24.9,24.6,24.4,24.4,24.5,24.8,25.2,25.7,26.3,27.2,28.2,29.3,29.5,30.2,31.1,32.6,34.1,35.6,37,38.6,40.1]}]],[[{\"lng\":[-45.1,-46.4,-47.6,-48.9,-50.6,-52.5,-53.2,-53.6,-54.2,-53.6,-52.7,-51.6,-50.4,-50.1,-50.3,-51.2,-51.4,-51.5,-52,-52.3,-52.3,-52.7,-53.2,-53.9,-54.2,-53.9],\"lat\":[14,14.9,15.7,17,17.7,18.5,20.5,22.1,24.2,25.5,26.9,28,29,30.1,31.1,31.9,31.9,32.3,32.4,32.6,33.2,33.9,34.7,35.5,36.6,37.4]}]],[[{\"lng\":[-45.5,-46.2,-47.2,-48.3,-49.4,-50.2,-51,-52,-53.1,-54,-54.6,-55.1,-55.5,-56,-56.5,-56.8,-56.8,-56.7,-56.6,-56.5,-56,-55.4,-54.6,-53.3,-51.8,-50.8,-49.9,-49,-48,-47.2,-46.4,-44.9,-43.4,-42.1,-40.6,-39.2,-37.7,-36.3,-35,-34,-32.9,-32,-31,-29,-26,-23,-21,-19,-16,-10,0],\"lat\":[18.8,19.3,19.9,20.5,21.1,21.5,22,23,24.4,25.5,26.5,27.5,28.6,29.6,30.2,30.9,31.5,32.1,32.6,33,33.5,33.9,34.4,34.8,35.6,36.5,37.2,37.9,38.7,39.1,39.4,39.8,40.4,41.1,41.9,42.9,44.5,46,48,50,52,54,55.5,57,58.5,61,62,62.9,63.5,63,63]}]],[[{\"lng\":[-67,-66.59999999999999,-66.5,-66.5,-66.40000000000001,-66.3,-66.3,-66.2,-66,-65.7,-65,-63.8,-62.7,-61.1,-59.1,-55.8,-53.4,-50.8,-49,-45.9,-44.1,-42.1,-40.6,-38.3,-35.6,-33.3,-32,-28.1,-25],\"lat\":[28.4,28.4,28.5,28.5,28.6,28.7,28.7,28.9,29.3,29.6,30,30.5,31.4,32.6,33.4,34,34.5,34.7,34.6,34.5,34.9,35.2,36,37.4,39.2,41.6,43.5,44,46]}]],[[{\"lng\":[-78.59999999999999,-78.3,-78.3,-78.3,-78.5,-78.8,-79.2,-79.3,-79.3,-79.59999999999999,-79.59999999999999,-79.5,-79.3,-79.3,-79.09999999999999,-78.5,-77.5,-76.90000000000001,-76.59999999999999,-76.2,-75.90000000000001,-75.90000000000001,-75.7,-75.90000000000001,-76.2,-76.59999999999999,-76.90000000000001,-77.3,-77.7,-77.90000000000001,-78,-78.09999999999999,-78.09999999999999,-78,-77.7,-77.5,-76.90000000000001,-76.3,-75.8,-75.59999999999999,-75.09999999999999,-74.8,-74.40000000000001,-73.59999999999999,-72.7,-71.40000000000001,-69.7,-67.3,-64.90000000000001,-62.6,-59.9,-56.2,-52.3,-48.8,-45.7,-42.1,-38.5,-34.7,-30.5,-26.5,-22,-17.7,-14.6,-11.9,-8.4,-4.5,-1,1.9,6.6],\"lat\":[25.8,26.3,26.6,26.8,27.4,27.9,28.7,28.8,28.8,28.7,28.6,28.6,28.6,28.9,29.3,29.8,30.2,30.9,31.5,31.7,31.8,31.7,31.6,31.4,31.2,31.2,31.5,31.7,31.8,31.9,32.1,32.3,32.6,32.9,33.4,33.9,34.2,34.5,34.7,34.7,34.6,34.7,35.4,36.4,37.3,38.7,40,41.6,43.2,44.8,46.2,47.4,48.4,49,49.5,50,50.9,51.5,52.2,52.8,53.8,55.3,57.6,59.8,61.7,63.6,65.59999999999999,67.5,68.8]}]],[[{\"lng\":[-54.5,-54.9,-55.1,-55.3,-55.5,-55.7,-55.8,-55.9,-56.2,-56.4,-56.6,-56.8,-57,-57.2,-57.2,-57.1,-57,-56.9,-56.7,-56.8,-57.2,-57.6,-58.2,-60.1,-62.2,-63.7,-63.8,-62.8],\"lat\":[13.3,13.5,13.9,14.4,14.9,15.6,16.2,16.7,17.2,17.5,17.7,17.9,18.1,18.5,18.9,19.4,19.9,20.8,22.4,23.8,25.2,26.7,28.3,30.2,30.5,30.2,29.2,28.6]}]],[[{\"lng\":[-69.90000000000001,-70.7,-71.5,-72.3,-73,-73.8,-74.7,-75.90000000000001,-77.2,-78.8,-80.3,-81.59999999999999,-82.7,-84,-85.2,-86.2,-86.90000000000001,-87.3,-87.59999999999999,-88.3,-89.09999999999999,-89.90000000000001,-90.7,-91.5,-92.3,-93,-93.59999999999999,-93.7,-94.09999999999999,-94.09999999999999,-94,-93.59999999999999,-92.5,-91.40000000000001,-90.09999999999999,-88],\"lat\":[21.3,21.6,21.9,22.2,22.4,22.6,22.8,23.1,23.3,23.5,23.7,23.9,24.1,24.2,24.2,24.3,24.5,24.7,24.8,25.2,25.6,26,26.5,27.1,27.8,28.6,29.4,29.7,30.5,31.6,32.7,33.7,34.7,35.8,37,39.5]}]],[[{\"lng\":[-43.6,-44.7,-45.7,-46,-46.4,-46.7,-47.4,-48.4,-49.3,-49.9,-50.4,-51.1,-52,-53.2,-54.1,-54.9,-55.6,-56.6,-57.7,-58.9,-60.1],\"lat\":[13.3,13.8,13.8,13.4,13.5,13.9,14.4,14.5,14.6,14.8,15.1,15.5,16,16.1,16.1,16.1,16.7,17.1,17.3,17.6,18]}]],[[{\"lng\":[-57.4,-58.5,-60.1,-62,-63.3,-64.5,-65.2,-66,-67.5,-68.90000000000001,-70,-71,-71.7,-71.8,-71.7,-71.90000000000001,-72.40000000000001,-73,-73.5,-73.5,-73.5,-73,-73,-73.40000000000001,-73.8,-73.8,-73.8],\"lat\":[26.1,27.7,28.8,29.3,29.3,29.5,30,30.7,31.6,32.5,33.5,34.3,35.5,36.7,37.8,38.5,38.8,38.9,38.7,38.3,37.7,37.2,37.8,38,37.6,38.6,39.6]}]],[[{\"lng\":[-78.5,-78.8,-79,-79.2,-79.40000000000001,-79.59999999999999,-79.59999999999999,-79.7,-79.8,-79.90000000000001,-79.90000000000001,-80.3,-81.09999999999999,-81.8,-82.2,-82.8,-83.40000000000001,-84,-84.7,-85.2,-85.5,-85.8,-86.09999999999999,-86.40000000000001,-86.7,-86.8,-86.8,-86.90000000000001,-87,-87.09999999999999,-87.09999999999999,-87,-86.8,-86.09999999999999,-85.40000000000001,-84.3,-83.09999999999999,-81.7,-81,-78.8,-76,-72,-67.90000000000001,-63.5,-60,-57.5,-55,-52],\"lat\":[17.6,17.6,17.5,17.5,17.5,17.4,16.9,16.3,16,15.8,15.7,16.2,16.6,16.6,17,17.3,17.4,17.9,18.1,18.3,18.6,19.1,19.5,20.1,20.3,20.6,20.6,20.8,20.8,21,21.3,21.6,21.8,22.4,23.1,24,25,25.9,26.2,28,30.1,33.3,36.8,40.5,42.5,44,45,45.5]}]]],null,null,{\"stroke\":true,\"color\":\"#03F\",\"weight\":5,\"opacity\":0.5,\"fill\":false,\"fillColor\":\"#03F\",\"fillOpacity\":0.2,\"smoothFactor\":1,\"noClip\":false,\"yawn\":60,\"size\":\"15%\",\"frequency\":\"allvertices\",\"proportionalToTotal\":false},null,null,null,{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null,{\"yawn\":60,\"size\":\"15%\",\"frequency\":\"allvertices\",\"proportionalToTotal\":false}]}],\"limits\":{\"lat\":[10.7,68.8],\"lng\":[-101.4,6.6]}},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addBuildings.html","id":null,"dir":"Reference","previous_headings":"","what":"Add OSM-Buildings to a Leaflet Map — addBuildings","title":"Add OSM-Buildings to a Leaflet Map — addBuildings","text":"function adds 2.5D buildings Leaflet map using OSM Buildings plugin.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addBuildings.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add OSM-Buildings to a Leaflet Map — addBuildings","text":"","code":"addBuildings( map, buildingURL = \"https://{s}.data.osmbuildings.org/0.2/59fcc2e8/tile/{z}/{x}/{y}.json\", group = NULL, eachFn = NULL, clickFn = NULL, data = NULL )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addBuildings.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add OSM-Buildings to a Leaflet Map — addBuildings","text":"map map widget object created leaflet. buildingURL URL template building data. Default OSM Buildings tile server: \"https://{s}.data.osmbuildings.org/0.2/59fcc2e8/tile/{z}/{x}/{y}.json\". group name group buildings added . eachFn JavaScript function (using JS) called building feature. Use apply custom logic feature. clickFn JavaScript function (using JS) called building clicked. Use handle click events buildings. data GeoJSON object containing Polygon features representing buildings. properties polygons can include attributes like height, color, roofColor, others specified OSM Buildings documentation.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addBuildings.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Add OSM-Buildings to a Leaflet Map — addBuildings","text":"`data` parameter allows provide custom building data GeoJSON object. following properties can used within GeoJSON: height minHeight color/wallColor material roofColor roofMaterial shape roofShape roofHeight See OSM Wiki: Simple_3D_Buildings","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addBuildings.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add OSM-Buildings to a Leaflet Map — addBuildings","text":"","code":"library(leaflet) library(leaflet.extras2) leaflet() %>% addProviderTiles(\"CartoDB\") %>% addBuildings(group = \"Buildings\") %>% addLayersControl(overlayGroups = \"Buildings\") %>% setView(lng = 13.4, lat = 52.51, zoom = 15) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addProviderTiles\",\"args\":[\"CartoDB\",null,null,{\"errorTileUrl\":\"\",\"noWrap\":false,\"detectRetina\":false}]},{\"method\":\"addBuilding\",\"args\":[\"https://{s}.data.osmbuildings.org/0.2/59fcc2e8/tile/{z}/{x}/{y}.json\",\"Buildings\",null,null,null]},{\"method\":\"addLayersControl\",\"args\":[[],\"Buildings\",{\"collapsed\":true,\"autoZIndex\":true,\"position\":\"topright\"}]}],\"setView\":[[52.51,13.4],15,[]]},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addClusterCharts.html","id":null,"dir":"Reference","previous_headings":"","what":"addClusterCharts — addClusterCharts","title":"addClusterCharts — addClusterCharts","text":"Clusters markers Leaflet map visualizes using customizable charts, pie bar charts, showing counts category. using \"custom\" type, pie chart rendered aggregated data, employing methods like sum, min, max, mean, median.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addClusterCharts.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"addClusterCharts — addClusterCharts","text":"","code":"addClusterCharts( map, layerId = NULL, group = NULL, type = c(\"pie\", \"bar\", \"horizontal\", \"custom\"), aggregation = c(\"sum\", \"min\", \"max\", \"mean\", \"median\"), valueField = NULL, options = clusterchartOptions(), icon = NULL, html = NULL, popup = NULL, popupOptions = NULL, label = NULL, labelOptions = NULL, clusterOptions = NULL, clusterId = NULL, categoryField, categoryMap, popupFields = NULL, popupLabels = NULL, markerOptions = NULL, legendOptions = list(title = \"\", position = \"topright\"), data = getMapData(map) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addClusterCharts.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"addClusterCharts — addClusterCharts","text":"map map widget object created leaflet() layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. type type chart use clusters: \"pie\", \"bar\", \"horizontal\", \"custom\". aggregation Aggregation method \"custom\" charts (e.g., sum, min, max, mean, median). valueField Column name values aggregate \"custom\" charts. options Additional options cluster charts (see clusterchartOptions). icon icon set icons include, created makeIcon iconList. html column name containing HTML content include markers. popup column name used retrieve feature properties popup. popupOptions Vector popupOptions provide popups label character vector HTML content labels labelOptions Vector labelOptions provide label options label. Default NULL clusterOptions NULL, markers clustered using Leaflet.markercluster; can use markerClusterOptions() specify marker cluster options clusterId id marker cluster layer categoryField Column name categorizing charts. categoryMap data.frame mapping categories chart properties (e.g., label, color, icons, stroke). popupFields string vector strings indicating column names include popups. popupLabels string vector strings indicating labels popup fields. markerOptions Additional options markers (see markerOptions::markerOptions()). legendOptions list options legend, including title position. data data object argument values derived; default, data object provided leaflet() initially, can overridden","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addClusterCharts.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"addClusterCharts — addClusterCharts","text":"`clusterCharts` use Leaflet's `L.DivIcon`, allowing fully customize styling individual markers clusters using CSS. individual marker within cluster assigned CSS class `clustermarker`, entire cluster assigned class `clustermarker-cluster`. can modify appearance elements targeting classes custom CSS.","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addClusterCharts.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"addClusterCharts — addClusterCharts","text":"","code":"# Example usage: library(sf) #> Linking to GEOS 3.10.2, GDAL 3.4.1, PROJ 8.2.1; sf_use_s2() is TRUE library(leaflet) library(leaflet.extras2) data <- sf::st_as_sf(breweries91) categories <- c(\"Schwer\", \"Mäßig\", \"Leicht\", \"kein Schaden\") data$category <- sample(categories, size = nrow(data), replace = TRUE) ## Pie Chart leaflet() %>% addProviderTiles(\"CartoDB.Positron\") %>% leaflet::addLayersControl(overlayGroups = \"clustermarkers\") %>% addClusterCharts(data = data , categoryField = \"category\" , categoryMap = data.frame(labels = categories, colors = c(\"#F88\", \"#FA0\", \"#FF3\", \"#BFB\"), strokes = \"gray\") , group = \"clustermarkers\" , popupFields = c(\"brewery\", \"address\", \"zipcode\", \"category\") , popupLabels = c(\"Brauerei\", \"Adresse\", \"PLZ\", \"Art\") , label = \"brewery\" ) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addProviderTiles\",\"args\":[\"CartoDB.Positron\",null,null,{\"errorTileUrl\":\"\",\"noWrap\":false,\"detectRetina\":false}]},{\"method\":\"addLayersControl\",\"args\":[[],\"clustermarkers\",{\"collapsed\":true,\"autoZIndex\":true,\"position\":\"topright\"}]},{\"method\":\"addClusterCharts\",\"args\":[{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Rittmayer\",\"address\":\"Aischer Hauptstrasse 5\",\"zipcode\":91325,\"village\":\"Adelsdorf\",\"state\":\"Bayern\",\"web\":\"www.rittmayer-aisch.de\\u003c/a>\",\"founded\":1422,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.889217,49.71979]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Aufsesser Brauerei\",\"address\":\"Im Tal 70b\",\"zipcode\":91347,\"village\":\"Aufsess\",\"state\":\"Bayern\",\"web\":\"www.aufsesser.de\\u003c/a>\",\"founded\":1886,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.228988,49.884051]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauhaus Doebler\",\"address\":\"Kornmarkt 6\",\"zipcode\":91438,\"village\":\"Bad Windsheim\",\"state\":\"Bayern\",\"web\":\"www.brauhaus-doebler.de\\u003c/a>\",\"founded\":1867,\"category\":\"kein Schaden\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.416021,49.502098]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Gundel GmbH\",\"address\":\"Noerdlinger Strasse 15\",\"zipcode\":91126,\"village\":\"Barthelmesaurach\",\"state\":\"Bayern\",\"web\":\"www.brauerei-gundel.de\\u003c/a>\",\"founded\":1887,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.928096,49.274716]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Krug-Braeu\",\"address\":\"Breitenlesau 1b\",\"zipcode\":91344,\"village\":\"Waischenfeld\",\"state\":\"Bayern\",\"web\":\"www.krug-braeu.de\\u003c/a>\",\"founded\":1834,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.291932,49.861905]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei-Gasthof Herold\",\"address\":\"Marktstrasse 29\",\"zipcode\":91257,\"village\":\"Buechenbach\",\"state\":\"Bayern\",\"web\":\"www.beckn-bier.de\\u003c/a>\",\"founded\":1568,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.509409,49.794334]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Alt Dietzhof\",\"address\":\"Dietzhof 42\",\"zipcode\":91359,\"village\":\"Leutenbach\",\"state\":\"Bayern\",\"web\":\"www.brauerei-alt.de\\u003c/a>\",\"founded\":1886,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.163238,49.701477]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Hauf KG\",\"address\":\"Heiningerstrasse 28\",\"zipcode\":91550,\"village\":\"Dinkelsbuehl\",\"state\":\"Bayern\",\"web\":\"www.hauf-bier.de\\u003c/a>\",\"founded\":1901,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.34418,49.067436]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Weib's Brauhaus Dinkelsbuehl\",\"address\":\"Untere Schmiedgasse 13\",\"zipcode\":91550,\"village\":\"Dinkelsbuehl\",\"state\":\"Bayern\",\"web\":\"www.weibsbrauhaus.de\\u003c/a>\",\"founded\":1999,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.316987,49.070292]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Schwanenbraeu\",\"address\":\"Am Marktplatz 2\",\"zipcode\":91320,\"village\":\"Ebermannstadt\",\"state\":\"Bayern\",\"web\":\"www.schwanenbraeu.de\\u003c/a>\",\"founded\":null,\"category\":\"kein Schaden\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.186931,49.77994]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Fuerst Carl Schlossbrauerei Ellingen\",\"address\":\"Schloss-Strasse 10\",\"zipcode\":91792,\"village\":\"Ellingen\",\"state\":\"Bayern\",\"web\":\"www.fuerst-carl.de\\u003c/a>\",\"founded\":1690,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.965571,49.060542]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Enzensteiner\",\"address\":\"Enzenreuth 8\",\"zipcode\":91220,\"village\":\"Schnaittach\",\"state\":\"Bayern\",\"web\":\"www.enzensteiner.de\\u003c/a>\",\"founded\":1998,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.368508,49.561804]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Kitzmann-Braeu GmbH & Co. Kg\",\"address\":\"Suedliche Stadtmauerstrasse 25\",\"zipcode\":91054,\"village\":\"Erlangen\",\"state\":\"Bayern\",\"web\":\"www.kitzmann.de\\u003c/a>\",\"founded\":1712,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.009011,49.595108]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Steinbach Braeu\",\"address\":\"Vierzigmannstrasse 4\",\"zipcode\":91054,\"village\":\"Erlangen\",\"state\":\"Bayern\",\"web\":\"www.steinbach-braeu.de\\u003c/a>\",\"founded\":1861,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.005049,49.602554]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Greif\",\"address\":\"Serlbacher Strasse 10\",\"zipcode\":91301,\"village\":\"Forchheim\",\"state\":\"Bayern\",\"web\":\"www.brauerei-greif.de\\u003c/a>\",\"founded\":1848,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.059662,49.72581]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Hebendanz GmbH\",\"address\":\"Sattlertorstrasse 14\",\"zipcode\":91301,\"village\":\"Forchheim\",\"state\":\"Bayern\",\"web\":\"www.brauerei-hebendanz.de\\u003c/a>\",\"founded\":1579,\"category\":\"kein Schaden\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.056749,49.7202]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Friedmann\",\"address\":\"Jaegersberg 16\",\"zipcode\":91322,\"village\":\"Graefenberg\",\"state\":\"Bayern\",\"web\":\"www.brauerei-friedmann.de\\u003c/a>\",\"founded\":1875,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.252699,49.644533]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Lindenbraeu\",\"address\":\"Am Bach 3\",\"zipcode\":91322,\"village\":\"Graefenberg\",\"state\":\"Bayern\",\"web\":\"www.lindenbraeu.de\\u003c/a>\",\"founded\":1932,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.248618,49.645651]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Windsheimer GmbH\",\"address\":\"Hauptstrasse 13\",\"zipcode\":91468,\"village\":\"Gutenstetten\",\"state\":\"Bayern\",\"web\":\"www.brauerei-windsheimer.de\\u003c/a>\",\"founded\":1767,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.630027,49.615866]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Buergerbraeu Hersbruck, Deinlein & Co.\",\"address\":\"Lohweg 38\",\"zipcode\":91217,\"village\":\"Hersbruck\",\"state\":\"Bayern\",\"web\":\"www.hersbrucker-bier.de\\u003c/a>\",\"founded\":1920,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.428338,49.50683]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Hochholzer Brauhaus Poeverlein GbR\",\"address\":\"Hochholz 4a\",\"zipcode\":91807,\"village\":\"Solnhofen\",\"state\":\"Bayern\",\"web\":\"www.hochholzer-brauhaus.de\\u003c/a>\",\"founded\":2005,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.029479,48.900742]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauhaus Hoechstadt\",\"address\":\"Kellerstrasse 11\",\"zipcode\":91315,\"village\":\"Hoechstadt\",\"state\":\"Bayern\",\"web\":\"www.brauhaus-hoechstadt.de\\u003c/a>\",\"founded\":1926,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.806113,49.707329]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei und Gasthof Reichold GmbH\",\"address\":\"Hochstahl 24\",\"zipcode\":91347,\"village\":\"Aufsess\",\"state\":\"Bayern\",\"web\":\"www.brauerei-reichold.de\\u003c/a>\",\"founded\":1906,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.267583,49.884229]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Hofmann/Nentwig GbR\",\"address\":\"Hohenschwaerz 16\",\"zipcode\":91322,\"village\":\"Graefenberg\",\"state\":\"Bayern\",\"web\":\"www.brauerei-hofmann.de\\u003c/a>\",\"founded\":1897,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.252911,49.677827]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Leinburger Bier\",\"address\":\"Marktplatz 14\",\"zipcode\":91227,\"village\":\"Leinburg\",\"state\":\"Bayern\",\"web\":\"www.leinburgerbier.de\\u003c/a>\",\"founded\":1617,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.308721,49.450083]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Gasthof Drummer\",\"address\":\"Dorfstrasse 10\",\"zipcode\":91359,\"village\":\"Lautenbach\",\"state\":\"Bayern\",\"web\":\"www.brauerei-gasthof-drummer.de\\u003c/a>\",\"founded\":1738,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.172792,49.710838]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Hauff Braeu Lichtnerau GmbH & Co. KG\",\"address\":\"Marktplatz 1\",\"zipcode\":91586,\"village\":\"Lichtenau\",\"state\":\"Bayern\",\"web\":\"www.hauff-braeu.com\\u003c/a>\",\"founded\":null,\"category\":\"kein Schaden\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.685605,49.276265]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Wiethaler\",\"address\":\"Welserplatz 6-7\",\"zipcode\":91207,\"village\":\"Neunhof bei Lauf a.d. Pegnitz\",\"state\":\"Bayern\",\"web\":\"www.brauerei-wiethaler.de\\u003c/a>\",\"founded\":1498,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.22997,49.554706]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Gasthof Ott\",\"address\":\"Oberleinleiter 6\",\"zipcode\":91332,\"village\":\"Heiligenstadt i. Ofr.\",\"state\":\"Bayern\",\"web\":\"www.brauerei-ott.de\\u003c/a>\",\"founded\":1678,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.129541,49.882777]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Penning-Zeissler\",\"address\":\"Hetzelsdorf 9\",\"zipcode\":91362,\"village\":\"Pretzfeld\",\"state\":\"Bayern\",\"web\":null,\"founded\":1623,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.202701,49.727998]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Meister\",\"address\":\"Unterzaunsbach 8\",\"zipcode\":91362,\"village\":\"Pretzfeld\",\"state\":\"Bayern\",\"web\":\"www.meisterbr%C3%A4u.de\\u003c/a>\",\"founded\":1865,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.223148,49.737703]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Nikl\",\"address\":\"Egloffsteiner Strasse 19\",\"zipcode\":91363,\"village\":\"Pretzfeld\",\"state\":\"Bayern\",\"web\":\"www.brauerei-nikl.de\\u003c/a>\",\"founded\":2008,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.175664,49.755953]}}]},null,\"clustermarkers\",\"pie\",{\"rmax\":30,\"size\":[20,20],\"width\":40,\"height\":50,\"strokeWidth\":1,\"innerRadius\":10,\"labelBackground\":false,\"labelFill\":\"white\",\"labelStroke\":\"black\",\"labelColor\":\"black\",\"labelOpacity\":0.9,\"digits\":2,\"sortTitlebyCount\":true,\"aggregation\":\"sum\"},null,null,null,null,\"brewery\",{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null,null,\"category\",{\"1\":\"Schwer\",\"2\":\"Mäßig\",\"3\":\"Leicht\",\"4\":\"kein Schaden\"},[\"brewery\",\"address\",\"zipcode\",\"category\"],[\"Brauerei\",\"Adresse\",\"PLZ\",\"Art\"],null,{\"title\":\"\",\"position\":\"topright\"}]}],\"limits\":{\"lat\":[48.900742,49.884229],\"lng\":[10.316987,11.509409]}},\"evals\":[],\"jsHooks\":[]} ## Bar Chart leaflet() %>% addProviderTiles(\"CartoDB.Positron\") %>% leaflet::addLayersControl(overlayGroups = \"clustermarkers\") %>% addClusterCharts(data = data , type = \"bar\" , categoryField = \"category\" , categoryMap = data.frame(labels = categories, colors = c(\"#F88\", \"#FA0\", \"#FF3\", \"#BFB\"), strokes = \"gray\") , group = \"clustermarkers\" , popupFields = c(\"brewery\", \"address\", \"zipcode\", \"category\") , popupLabels = c(\"Brauerei\", \"Adresse\", \"PLZ\", \"Art\") , label = \"brewery\") {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addProviderTiles\",\"args\":[\"CartoDB.Positron\",null,null,{\"errorTileUrl\":\"\",\"noWrap\":false,\"detectRetina\":false}]},{\"method\":\"addLayersControl\",\"args\":[[],\"clustermarkers\",{\"collapsed\":true,\"autoZIndex\":true,\"position\":\"topright\"}]},{\"method\":\"addClusterCharts\",\"args\":[{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Rittmayer\",\"address\":\"Aischer Hauptstrasse 5\",\"zipcode\":91325,\"village\":\"Adelsdorf\",\"state\":\"Bayern\",\"web\":\"www.rittmayer-aisch.de\\u003c/a>\",\"founded\":1422,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.889217,49.71979]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Aufsesser Brauerei\",\"address\":\"Im Tal 70b\",\"zipcode\":91347,\"village\":\"Aufsess\",\"state\":\"Bayern\",\"web\":\"www.aufsesser.de\\u003c/a>\",\"founded\":1886,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.228988,49.884051]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauhaus Doebler\",\"address\":\"Kornmarkt 6\",\"zipcode\":91438,\"village\":\"Bad Windsheim\",\"state\":\"Bayern\",\"web\":\"www.brauhaus-doebler.de\\u003c/a>\",\"founded\":1867,\"category\":\"kein Schaden\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.416021,49.502098]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Gundel GmbH\",\"address\":\"Noerdlinger Strasse 15\",\"zipcode\":91126,\"village\":\"Barthelmesaurach\",\"state\":\"Bayern\",\"web\":\"www.brauerei-gundel.de\\u003c/a>\",\"founded\":1887,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.928096,49.274716]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Krug-Braeu\",\"address\":\"Breitenlesau 1b\",\"zipcode\":91344,\"village\":\"Waischenfeld\",\"state\":\"Bayern\",\"web\":\"www.krug-braeu.de\\u003c/a>\",\"founded\":1834,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.291932,49.861905]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei-Gasthof Herold\",\"address\":\"Marktstrasse 29\",\"zipcode\":91257,\"village\":\"Buechenbach\",\"state\":\"Bayern\",\"web\":\"www.beckn-bier.de\\u003c/a>\",\"founded\":1568,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.509409,49.794334]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Alt Dietzhof\",\"address\":\"Dietzhof 42\",\"zipcode\":91359,\"village\":\"Leutenbach\",\"state\":\"Bayern\",\"web\":\"www.brauerei-alt.de\\u003c/a>\",\"founded\":1886,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.163238,49.701477]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Hauf KG\",\"address\":\"Heiningerstrasse 28\",\"zipcode\":91550,\"village\":\"Dinkelsbuehl\",\"state\":\"Bayern\",\"web\":\"www.hauf-bier.de\\u003c/a>\",\"founded\":1901,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.34418,49.067436]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Weib's Brauhaus Dinkelsbuehl\",\"address\":\"Untere Schmiedgasse 13\",\"zipcode\":91550,\"village\":\"Dinkelsbuehl\",\"state\":\"Bayern\",\"web\":\"www.weibsbrauhaus.de\\u003c/a>\",\"founded\":1999,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.316987,49.070292]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Schwanenbraeu\",\"address\":\"Am Marktplatz 2\",\"zipcode\":91320,\"village\":\"Ebermannstadt\",\"state\":\"Bayern\",\"web\":\"www.schwanenbraeu.de\\u003c/a>\",\"founded\":null,\"category\":\"kein Schaden\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.186931,49.77994]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Fuerst Carl Schlossbrauerei Ellingen\",\"address\":\"Schloss-Strasse 10\",\"zipcode\":91792,\"village\":\"Ellingen\",\"state\":\"Bayern\",\"web\":\"www.fuerst-carl.de\\u003c/a>\",\"founded\":1690,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.965571,49.060542]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Enzensteiner\",\"address\":\"Enzenreuth 8\",\"zipcode\":91220,\"village\":\"Schnaittach\",\"state\":\"Bayern\",\"web\":\"www.enzensteiner.de\\u003c/a>\",\"founded\":1998,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.368508,49.561804]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Kitzmann-Braeu GmbH & Co. Kg\",\"address\":\"Suedliche Stadtmauerstrasse 25\",\"zipcode\":91054,\"village\":\"Erlangen\",\"state\":\"Bayern\",\"web\":\"www.kitzmann.de\\u003c/a>\",\"founded\":1712,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.009011,49.595108]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Steinbach Braeu\",\"address\":\"Vierzigmannstrasse 4\",\"zipcode\":91054,\"village\":\"Erlangen\",\"state\":\"Bayern\",\"web\":\"www.steinbach-braeu.de\\u003c/a>\",\"founded\":1861,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.005049,49.602554]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Greif\",\"address\":\"Serlbacher Strasse 10\",\"zipcode\":91301,\"village\":\"Forchheim\",\"state\":\"Bayern\",\"web\":\"www.brauerei-greif.de\\u003c/a>\",\"founded\":1848,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.059662,49.72581]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Hebendanz GmbH\",\"address\":\"Sattlertorstrasse 14\",\"zipcode\":91301,\"village\":\"Forchheim\",\"state\":\"Bayern\",\"web\":\"www.brauerei-hebendanz.de\\u003c/a>\",\"founded\":1579,\"category\":\"kein Schaden\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.056749,49.7202]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Friedmann\",\"address\":\"Jaegersberg 16\",\"zipcode\":91322,\"village\":\"Graefenberg\",\"state\":\"Bayern\",\"web\":\"www.brauerei-friedmann.de\\u003c/a>\",\"founded\":1875,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.252699,49.644533]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Lindenbraeu\",\"address\":\"Am Bach 3\",\"zipcode\":91322,\"village\":\"Graefenberg\",\"state\":\"Bayern\",\"web\":\"www.lindenbraeu.de\\u003c/a>\",\"founded\":1932,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.248618,49.645651]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Windsheimer GmbH\",\"address\":\"Hauptstrasse 13\",\"zipcode\":91468,\"village\":\"Gutenstetten\",\"state\":\"Bayern\",\"web\":\"www.brauerei-windsheimer.de\\u003c/a>\",\"founded\":1767,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.630027,49.615866]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Buergerbraeu Hersbruck, Deinlein & Co.\",\"address\":\"Lohweg 38\",\"zipcode\":91217,\"village\":\"Hersbruck\",\"state\":\"Bayern\",\"web\":\"www.hersbrucker-bier.de\\u003c/a>\",\"founded\":1920,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.428338,49.50683]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Hochholzer Brauhaus Poeverlein GbR\",\"address\":\"Hochholz 4a\",\"zipcode\":91807,\"village\":\"Solnhofen\",\"state\":\"Bayern\",\"web\":\"www.hochholzer-brauhaus.de\\u003c/a>\",\"founded\":2005,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.029479,48.900742]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauhaus Hoechstadt\",\"address\":\"Kellerstrasse 11\",\"zipcode\":91315,\"village\":\"Hoechstadt\",\"state\":\"Bayern\",\"web\":\"www.brauhaus-hoechstadt.de\\u003c/a>\",\"founded\":1926,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.806113,49.707329]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei und Gasthof Reichold GmbH\",\"address\":\"Hochstahl 24\",\"zipcode\":91347,\"village\":\"Aufsess\",\"state\":\"Bayern\",\"web\":\"www.brauerei-reichold.de\\u003c/a>\",\"founded\":1906,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.267583,49.884229]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Hofmann/Nentwig GbR\",\"address\":\"Hohenschwaerz 16\",\"zipcode\":91322,\"village\":\"Graefenberg\",\"state\":\"Bayern\",\"web\":\"www.brauerei-hofmann.de\\u003c/a>\",\"founded\":1897,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.252911,49.677827]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Leinburger Bier\",\"address\":\"Marktplatz 14\",\"zipcode\":91227,\"village\":\"Leinburg\",\"state\":\"Bayern\",\"web\":\"www.leinburgerbier.de\\u003c/a>\",\"founded\":1617,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.308721,49.450083]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Gasthof Drummer\",\"address\":\"Dorfstrasse 10\",\"zipcode\":91359,\"village\":\"Lautenbach\",\"state\":\"Bayern\",\"web\":\"www.brauerei-gasthof-drummer.de\\u003c/a>\",\"founded\":1738,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.172792,49.710838]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Hauff Braeu Lichtnerau GmbH & Co. KG\",\"address\":\"Marktplatz 1\",\"zipcode\":91586,\"village\":\"Lichtenau\",\"state\":\"Bayern\",\"web\":\"www.hauff-braeu.com\\u003c/a>\",\"founded\":null,\"category\":\"kein Schaden\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.685605,49.276265]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Wiethaler\",\"address\":\"Welserplatz 6-7\",\"zipcode\":91207,\"village\":\"Neunhof bei Lauf a.d. Pegnitz\",\"state\":\"Bayern\",\"web\":\"www.brauerei-wiethaler.de\\u003c/a>\",\"founded\":1498,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.22997,49.554706]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Gasthof Ott\",\"address\":\"Oberleinleiter 6\",\"zipcode\":91332,\"village\":\"Heiligenstadt i. Ofr.\",\"state\":\"Bayern\",\"web\":\"www.brauerei-ott.de\\u003c/a>\",\"founded\":1678,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.129541,49.882777]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Penning-Zeissler\",\"address\":\"Hetzelsdorf 9\",\"zipcode\":91362,\"village\":\"Pretzfeld\",\"state\":\"Bayern\",\"web\":null,\"founded\":1623,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.202701,49.727998]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Meister\",\"address\":\"Unterzaunsbach 8\",\"zipcode\":91362,\"village\":\"Pretzfeld\",\"state\":\"Bayern\",\"web\":\"www.meisterbr%C3%A4u.de\\u003c/a>\",\"founded\":1865,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.223148,49.737703]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Nikl\",\"address\":\"Egloffsteiner Strasse 19\",\"zipcode\":91363,\"village\":\"Pretzfeld\",\"state\":\"Bayern\",\"web\":\"www.brauerei-nikl.de\\u003c/a>\",\"founded\":2008,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.175664,49.755953]}}]},null,\"clustermarkers\",\"bar\",{\"rmax\":30,\"size\":[20,20],\"width\":40,\"height\":50,\"strokeWidth\":1,\"innerRadius\":10,\"labelBackground\":false,\"labelFill\":\"white\",\"labelStroke\":\"black\",\"labelColor\":\"black\",\"labelOpacity\":0.9,\"digits\":2,\"sortTitlebyCount\":true,\"aggregation\":\"sum\"},null,null,null,null,\"brewery\",{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null,null,\"category\",{\"1\":\"Schwer\",\"2\":\"Mäßig\",\"3\":\"Leicht\",\"4\":\"kein Schaden\"},[\"brewery\",\"address\",\"zipcode\",\"category\"],[\"Brauerei\",\"Adresse\",\"PLZ\",\"Art\"],null,{\"title\":\"\",\"position\":\"topright\"}]}],\"limits\":{\"lat\":[48.900742,49.884229],\"lng\":[10.316987,11.509409]}},\"evals\":[],\"jsHooks\":[]} ## Custom Pie Chart with \"mean\" aggregation on column \"value\" data <- sf::st_as_sf(breweries91) categories <- c(\"Schwer\", \"Mäßig\", \"Leicht\", \"kein Schaden\") data$category <- sample(categories, size = nrow(data), replace = TRUE) data$value <- round(runif(nrow(data), 0, 100), 0) leaflet() %>% addProviderTiles(\"CartoDB.Positron\") %>% leaflet::addLayersControl(overlayGroups = \"clustermarkers\") %>% addClusterCharts(data = data , type = \"custom\" , valueField = \"value\" , aggregation = \"mean\" , categoryField = \"category\" , categoryMap = data.frame(labels = categories, colors = c(\"#F88\", \"#FA0\", \"#FF3\", \"#BFB\"), strokes = \"gray\") , options = clusterchartOptions(rmax=50, digits=0, innerRadius = 20) , group = \"clustermarkers\" , popupFields = c(\"brewery\", \"address\", \"zipcode\", \"category\",\"value\") , popupLabels = c(\"Brauerei\", \"Adresse\", \"PLZ\", \"Art\", \"Value\") , label = \"brewery\" ) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addProviderTiles\",\"args\":[\"CartoDB.Positron\",null,null,{\"errorTileUrl\":\"\",\"noWrap\":false,\"detectRetina\":false}]},{\"method\":\"addLayersControl\",\"args\":[[],\"clustermarkers\",{\"collapsed\":true,\"autoZIndex\":true,\"position\":\"topright\"}]},{\"method\":\"addClusterCharts\",\"args\":[{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Rittmayer\",\"address\":\"Aischer Hauptstrasse 5\",\"zipcode\":91325,\"village\":\"Adelsdorf\",\"state\":\"Bayern\",\"web\":\"www.rittmayer-aisch.de\\u003c/a>\",\"founded\":1422,\"category\":\"kein Schaden\",\"value\":60.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.889217,49.71979]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Aufsesser Brauerei\",\"address\":\"Im Tal 70b\",\"zipcode\":91347,\"village\":\"Aufsess\",\"state\":\"Bayern\",\"web\":\"www.aufsesser.de\\u003c/a>\",\"founded\":1886,\"category\":\"kein Schaden\",\"value\":19.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.228988,49.884051]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauhaus Doebler\",\"address\":\"Kornmarkt 6\",\"zipcode\":91438,\"village\":\"Bad Windsheim\",\"state\":\"Bayern\",\"web\":\"www.brauhaus-doebler.de\\u003c/a>\",\"founded\":1867,\"category\":\"Mäßig\",\"value\":95.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.416021,49.502098]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Gundel GmbH\",\"address\":\"Noerdlinger Strasse 15\",\"zipcode\":91126,\"village\":\"Barthelmesaurach\",\"state\":\"Bayern\",\"web\":\"www.brauerei-gundel.de\\u003c/a>\",\"founded\":1887,\"category\":\"Leicht\",\"value\":54.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.928096,49.274716]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Krug-Braeu\",\"address\":\"Breitenlesau 1b\",\"zipcode\":91344,\"village\":\"Waischenfeld\",\"state\":\"Bayern\",\"web\":\"www.krug-braeu.de\\u003c/a>\",\"founded\":1834,\"category\":\"Schwer\",\"value\":54.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.291932,49.861905]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei-Gasthof Herold\",\"address\":\"Marktstrasse 29\",\"zipcode\":91257,\"village\":\"Buechenbach\",\"state\":\"Bayern\",\"web\":\"www.beckn-bier.de\\u003c/a>\",\"founded\":1568,\"category\":\"Mäßig\",\"value\":28.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.509409,49.794334]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Alt Dietzhof\",\"address\":\"Dietzhof 42\",\"zipcode\":91359,\"village\":\"Leutenbach\",\"state\":\"Bayern\",\"web\":\"www.brauerei-alt.de\\u003c/a>\",\"founded\":1886,\"category\":\"Leicht\",\"value\":45.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.163238,49.701477]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Hauf KG\",\"address\":\"Heiningerstrasse 28\",\"zipcode\":91550,\"village\":\"Dinkelsbuehl\",\"state\":\"Bayern\",\"web\":\"www.hauf-bier.de\\u003c/a>\",\"founded\":1901,\"category\":\"Leicht\",\"value\":37.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.34418,49.067436]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Weib's Brauhaus Dinkelsbuehl\",\"address\":\"Untere Schmiedgasse 13\",\"zipcode\":91550,\"village\":\"Dinkelsbuehl\",\"state\":\"Bayern\",\"web\":\"www.weibsbrauhaus.de\\u003c/a>\",\"founded\":1999,\"category\":\"kein Schaden\",\"value\":3.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.316987,49.070292]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Schwanenbraeu\",\"address\":\"Am Marktplatz 2\",\"zipcode\":91320,\"village\":\"Ebermannstadt\",\"state\":\"Bayern\",\"web\":\"www.schwanenbraeu.de\\u003c/a>\",\"founded\":null,\"category\":\"Schwer\",\"value\":47.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.186931,49.77994]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Fuerst Carl Schlossbrauerei Ellingen\",\"address\":\"Schloss-Strasse 10\",\"zipcode\":91792,\"village\":\"Ellingen\",\"state\":\"Bayern\",\"web\":\"www.fuerst-carl.de\\u003c/a>\",\"founded\":1690,\"category\":\"Mäßig\",\"value\":39.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.965571,49.060542]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Enzensteiner\",\"address\":\"Enzenreuth 8\",\"zipcode\":91220,\"village\":\"Schnaittach\",\"state\":\"Bayern\",\"web\":\"www.enzensteiner.de\\u003c/a>\",\"founded\":1998,\"category\":\"Schwer\",\"value\":2.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.368508,49.561804]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Kitzmann-Braeu GmbH & Co. Kg\",\"address\":\"Suedliche Stadtmauerstrasse 25\",\"zipcode\":91054,\"village\":\"Erlangen\",\"state\":\"Bayern\",\"web\":\"www.kitzmann.de\\u003c/a>\",\"founded\":1712,\"category\":\"Mäßig\",\"value\":38.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.009011,49.595108]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Steinbach Braeu\",\"address\":\"Vierzigmannstrasse 4\",\"zipcode\":91054,\"village\":\"Erlangen\",\"state\":\"Bayern\",\"web\":\"www.steinbach-braeu.de\\u003c/a>\",\"founded\":1861,\"category\":\"Leicht\",\"value\":56.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.005049,49.602554]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Greif\",\"address\":\"Serlbacher Strasse 10\",\"zipcode\":91301,\"village\":\"Forchheim\",\"state\":\"Bayern\",\"web\":\"www.brauerei-greif.de\\u003c/a>\",\"founded\":1848,\"category\":\"Mäßig\",\"value\":86.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.059662,49.72581]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Hebendanz GmbH\",\"address\":\"Sattlertorstrasse 14\",\"zipcode\":91301,\"village\":\"Forchheim\",\"state\":\"Bayern\",\"web\":\"www.brauerei-hebendanz.de\\u003c/a>\",\"founded\":1579,\"category\":\"kein Schaden\",\"value\":38.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.056749,49.7202]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Friedmann\",\"address\":\"Jaegersberg 16\",\"zipcode\":91322,\"village\":\"Graefenberg\",\"state\":\"Bayern\",\"web\":\"www.brauerei-friedmann.de\\u003c/a>\",\"founded\":1875,\"category\":\"Schwer\",\"value\":53.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.252699,49.644533]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Lindenbraeu\",\"address\":\"Am Bach 3\",\"zipcode\":91322,\"village\":\"Graefenberg\",\"state\":\"Bayern\",\"web\":\"www.lindenbraeu.de\\u003c/a>\",\"founded\":1932,\"category\":\"Mäßig\",\"value\":60.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.248618,49.645651]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Windsheimer GmbH\",\"address\":\"Hauptstrasse 13\",\"zipcode\":91468,\"village\":\"Gutenstetten\",\"state\":\"Bayern\",\"web\":\"www.brauerei-windsheimer.de\\u003c/a>\",\"founded\":1767,\"category\":\"Schwer\",\"value\":26.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.630027,49.615866]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Buergerbraeu Hersbruck, Deinlein & Co.\",\"address\":\"Lohweg 38\",\"zipcode\":91217,\"village\":\"Hersbruck\",\"state\":\"Bayern\",\"web\":\"www.hersbrucker-bier.de\\u003c/a>\",\"founded\":1920,\"category\":\"kein Schaden\",\"value\":29.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.428338,49.50683]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Hochholzer Brauhaus Poeverlein GbR\",\"address\":\"Hochholz 4a\",\"zipcode\":91807,\"village\":\"Solnhofen\",\"state\":\"Bayern\",\"web\":\"www.hochholzer-brauhaus.de\\u003c/a>\",\"founded\":2005,\"category\":\"kein Schaden\",\"value\":48.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.029479,48.900742]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauhaus Hoechstadt\",\"address\":\"Kellerstrasse 11\",\"zipcode\":91315,\"village\":\"Hoechstadt\",\"state\":\"Bayern\",\"web\":\"www.brauhaus-hoechstadt.de\\u003c/a>\",\"founded\":1926,\"category\":\"Mäßig\",\"value\":92.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.806113,49.707329]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei und Gasthof Reichold GmbH\",\"address\":\"Hochstahl 24\",\"zipcode\":91347,\"village\":\"Aufsess\",\"state\":\"Bayern\",\"web\":\"www.brauerei-reichold.de\\u003c/a>\",\"founded\":1906,\"category\":\"Leicht\",\"value\":40.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.267583,49.884229]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Hofmann/Nentwig GbR\",\"address\":\"Hohenschwaerz 16\",\"zipcode\":91322,\"village\":\"Graefenberg\",\"state\":\"Bayern\",\"web\":\"www.brauerei-hofmann.de\\u003c/a>\",\"founded\":1897,\"category\":\"Schwer\",\"value\":21.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.252911,49.677827]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Leinburger Bier\",\"address\":\"Marktplatz 14\",\"zipcode\":91227,\"village\":\"Leinburg\",\"state\":\"Bayern\",\"web\":\"www.leinburgerbier.de\\u003c/a>\",\"founded\":1617,\"category\":\"Mäßig\",\"value\":67.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.308721,49.450083]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Gasthof Drummer\",\"address\":\"Dorfstrasse 10\",\"zipcode\":91359,\"village\":\"Lautenbach\",\"state\":\"Bayern\",\"web\":\"www.brauerei-gasthof-drummer.de\\u003c/a>\",\"founded\":1738,\"category\":\"Mäßig\",\"value\":6.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.172792,49.710838]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Hauff Braeu Lichtnerau GmbH & Co. KG\",\"address\":\"Marktplatz 1\",\"zipcode\":91586,\"village\":\"Lichtenau\",\"state\":\"Bayern\",\"web\":\"www.hauff-braeu.com\\u003c/a>\",\"founded\":null,\"category\":\"Leicht\",\"value\":100.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.685605,49.276265]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Wiethaler\",\"address\":\"Welserplatz 6-7\",\"zipcode\":91207,\"village\":\"Neunhof bei Lauf a.d. Pegnitz\",\"state\":\"Bayern\",\"web\":\"www.brauerei-wiethaler.de\\u003c/a>\",\"founded\":1498,\"category\":\"Mäßig\",\"value\":15.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.22997,49.554706]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Gasthof Ott\",\"address\":\"Oberleinleiter 6\",\"zipcode\":91332,\"village\":\"Heiligenstadt i. Ofr.\",\"state\":\"Bayern\",\"web\":\"www.brauerei-ott.de\\u003c/a>\",\"founded\":1678,\"category\":\"Schwer\",\"value\":52.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.129541,49.882777]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Penning-Zeissler\",\"address\":\"Hetzelsdorf 9\",\"zipcode\":91362,\"village\":\"Pretzfeld\",\"state\":\"Bayern\",\"web\":null,\"founded\":1623,\"category\":\"Schwer\",\"value\":85.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.202701,49.727998]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Meister\",\"address\":\"Unterzaunsbach 8\",\"zipcode\":91362,\"village\":\"Pretzfeld\",\"state\":\"Bayern\",\"web\":\"www.meisterbr%C3%A4u.de\\u003c/a>\",\"founded\":1865,\"category\":\"Leicht\",\"value\":72.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.223148,49.737703]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Nikl\",\"address\":\"Egloffsteiner Strasse 19\",\"zipcode\":91363,\"village\":\"Pretzfeld\",\"state\":\"Bayern\",\"web\":\"www.brauerei-nikl.de\\u003c/a>\",\"founded\":2008,\"category\":\"Mäßig\",\"value\":24.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.175664,49.755953]}}]},null,\"clustermarkers\",\"custom\",{\"rmax\":50,\"size\":[20,20],\"width\":40,\"height\":50,\"strokeWidth\":1,\"innerRadius\":20,\"labelBackground\":false,\"labelFill\":\"white\",\"labelStroke\":\"black\",\"labelColor\":\"black\",\"labelOpacity\":0.9,\"digits\":0,\"sortTitlebyCount\":true,\"aggregation\":\"mean\",\"valueField\":\"value\"},null,null,null,null,\"brewery\",{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null,null,\"category\",{\"1\":\"Schwer\",\"2\":\"Mäßig\",\"3\":\"Leicht\",\"4\":\"kein Schaden\"},[\"brewery\",\"address\",\"zipcode\",\"category\",\"value\"],[\"Brauerei\",\"Adresse\",\"PLZ\",\"Art\",\"Value\"],null,{\"title\":\"\",\"position\":\"topright\"}]}],\"limits\":{\"lat\":[48.900742,49.884229],\"lng\":[10.316987,11.509409]}},\"evals\":[],\"jsHooks\":[]} ## For Shiny examples, please run: # runApp(system.file(\"examples/clusterCharts_app.R\", package = \"leaflet.extras2\")) # runApp(system.file(\"examples/clustercharts_sum.R\", package = \"leaflet.extras2\"))"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"Add contextmenu Plugin — addContextmenu","title":"Add contextmenu Plugin — addContextmenu","text":"Add contextmenu map markers/vector layers.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add contextmenu Plugin — addContextmenu","text":"","code":"addContextmenu(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add contextmenu Plugin — addContextmenu","text":"map map widget object created leaflet","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add contextmenu Plugin — addContextmenu","text":"leaflet map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addContextmenu.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Add contextmenu Plugin — addContextmenu","text":"function used include required JavaScript CSS bindings set Shiny event handlers.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addContextmenu.html","id":"contextmenu-initialization","dir":"Reference","previous_headings":"","what":"Contextmenu initialization","title":"Add contextmenu Plugin — addContextmenu","text":"contextmenu map must defined leafletOptions. markers/vector layers must defined markerOptions pathOptions.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addContextmenu.html","id":"contextmenu-selection","dir":"Reference","previous_headings":"","what":"Contextmenu selection","title":"Add contextmenu Plugin — addContextmenu","text":"contextmenu selected, Shiny input ID \"MAPID_contextmenu_select\" set (`MAPID` refers map's id). selected contextmenu item triggered : map, returned list contains text item. markers, returned list also contains layerId, group, lat, lng label. vector layers, returned list also contains layerId, group label.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addContextmenu.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add contextmenu Plugin — addContextmenu","text":"https://github.com/aratcliffe/Leaflet.contextmenu","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addContextmenu.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add contextmenu Plugin — addContextmenu","text":"","code":"library(leaflet) leaflet(options = leafletOptions( contextmenu = TRUE, contextmenuWidth = 200, contextmenuItems = context_mapmenuItems( context_menuItem(\"Zoom Out\", \"function(e) {this.zoomOut()}\", disabled=FALSE), \"-\", context_menuItem(\"Zoom In\", \"function(e) {this.zoomIn()}\")))) %>% addTiles(group = \"base\") %>% addContextmenu() %>% addMarkers(data = breweries91, label = ~brewery, layerId = ~founded, group = \"marker\", options = markerOptions( contextmenu = TRUE, contextmenuWidth = 200, contextmenuItems = context_markermenuItems( context_menuItem(text = \"Show Marker Coords\", callback = \"function(e) {alert(e.latlng);}\", index = 1) ) )) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}},\"contextmenu\":true,\"contextmenuWidth\":200,\"contextmenuItems\":[{\"text\":\"Zoom Out\",\"callback\":\"function(e) {this.zoomOut()}\",\"disabled\":false},\"-\",{\"text\":\"Zoom In\",\"callback\":\"function(e) {this.zoomIn()}\"}]},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,\"base\",{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addContextmenu\",\"args\":[]},{\"method\":\"addMarkers\",\"args\":[[49.71979,49.884051,49.502098,49.274716,49.861905,49.794334,49.701477,49.067436,49.070292,49.77994,49.060542,49.561804,49.595108,49.602554,49.72581,49.7202,49.644533,49.645651,49.615866,49.50683,48.900742,49.707329,49.884229,49.677827,49.450083,49.710838,49.276265,49.554706,49.882777,49.727998,49.737703,49.755953],[10.889217,11.228988,10.416021,10.928096,11.291932,11.509409,11.163238,10.34418,10.316987,11.186931,10.965571,11.368508,11.009011,11.005049,11.059662,11.056749,11.252699,11.248618,10.630027,11.428338,11.029479,10.806113,11.267583,11.252911,11.308721,11.172792,10.685605,11.22997,11.129541,11.202701,11.223148,11.175664],null,[1422,1886,1867,1887,1834,1568,1886,1901,1999,null,1690,1998,1712,1861,1848,1579,1875,1932,1767,1920,2005,1926,1906,1897,1617,1738,null,1498,1678,1623,1865,2008],\"marker\",{\"interactive\":true,\"draggable\":false,\"keyboard\":true,\"title\":\"\",\"alt\":\"\",\"zIndexOffset\":0,\"opacity\":1,\"riseOnHover\":false,\"riseOffset\":250,\"contextmenu\":true,\"contextmenuWidth\":200,\"contextmenuItems\":[[{\"text\":\"Show Marker Coords\",\"callback\":\"function(e) {alert(e.latlng);}\",\"index\":1}]]},null,null,null,null,[\"Brauerei Rittmayer\",\"Aufsesser Brauerei\",\"Brauhaus Doebler\",\"Brauerei Gundel GmbH\",\"Krug-Braeu\",\"Brauerei-Gasthof Herold\",\"Brauerei Alt Dietzhof\",\"Brauerei Hauf KG\",\"Weib's Brauhaus Dinkelsbuehl\",\"Schwanenbraeu\",\"Fuerst Carl Schlossbrauerei Ellingen\",\"Brauerei Enzensteiner\",\"Kitzmann-Braeu GmbH & Co. Kg\",\"Steinbach Braeu\",\"Brauerei Greif\",\"Brauerei Hebendanz GmbH\",\"Brauerei Friedmann\",\"Lindenbraeu\",\"Brauerei Windsheimer GmbH\",\"Buergerbraeu Hersbruck, Deinlein & Co.\",\"Hochholzer Brauhaus Poeverlein GbR\",\"Brauhaus Hoechstadt\",\"Brauerei und Gasthof Reichold GmbH\",\"Brauerei Hofmann/Nentwig GbR\",\"Leinburger Bier\",\"Brauerei Gasthof Drummer\",\"Hauff Braeu Lichtnerau GmbH & Co. KG\",\"Brauerei Wiethaler\",\"Brauerei Gasthof Ott\",\"Brauerei Penning-Zeissler\",\"Brauerei Meister\",\"Brauerei Nikl\"],{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null]}],\"limits\":{\"lat\":[48.900742,49.884229],\"lng\":[10.316987,11.509409]}},\"evals\":[\"options.contextmenuItems.0.callback\",\"options.contextmenuItems.2.callback\",\"calls.2.args.5.contextmenuItems.0.0.callback\"],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addDivicon.html","id":null,"dir":"Reference","previous_headings":"","what":"Add DivIcon Markers to a Leaflet Map — addDivicon","title":"Add DivIcon Markers to a Leaflet Map — addDivicon","text":"Adds customizable DivIcon markers Leaflet map. function can accept either spatial data (lines points) form Simple Feature (sf) object numeric vectors latitude longitude coordinates. allows application custom HTML content CSS classes marker, providing high flexibility marker design.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addDivicon.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add DivIcon Markers to a Leaflet Map — addDivicon","text":"","code":"addDivicon( map, lng = NULL, lat = NULL, layerId = NULL, group = NULL, popup = NULL, popupOptions = NULL, label = NULL, labelOptions = NULL, className = NULL, html = NULL, options = markerOptions(), clusterOptions = NULL, clusterId = NULL, divOptions = list(), data = getMapData(map) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addDivicon.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add DivIcon Markers to a Leaflet Map — addDivicon","text":"map Leaflet map object DivIcon markers added. lng numeric vector longitudes, one-sided formula form ~x x variable data; default (explicitly provided), automatically inferred data looking column named lng, long, longitude (case-insensitively) lat vector latitudes formula (similar lng argument; names lat latitude used guessing latitude column data) layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. popup character vector HTML content popups (recommended escape text using htmlEscape() security reasons) popupOptions Vector popupOptions provide popups label character vector HTML content labels labelOptions Vector labelOptions provide label options label. Default NULL className single CSS class vector CSS classes apply DivIcon markers. html single HTML string vector HTML strings display within DivIcon markers. options list extra options markers. See markerOptions details. clusterOptions NULL, markers clustered using Leaflet.markercluster; can use markerClusterOptions() specify marker cluster options clusterId id marker cluster layer divOptions list extra options Leaflet DivIcon. data data object argument values derived; default, data object provided leaflet() initially, can overridden","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addDivicon.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add DivIcon Markers to a Leaflet Map — addDivicon","text":"modified Leaflet map object.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addDivicon.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add DivIcon Markers to a Leaflet Map — addDivicon","text":"","code":"library(sf) library(leaflet) library(leaflet.extras2) # Sample data df <- sf::st_as_sf(atlStorms2005) df <- suppressWarnings(st_cast(df, \"POINT\")) df <- df[sample(1:nrow(df), 50, replace = FALSE),] df$classes = sample(x = c(\"myclass1\",\"myclass2\",\"myclass3\"), nrow(df), replace = TRUE) df$ID <- paste0(\"ID_\", 1:nrow(df)) leaflet() %>% addTiles() %>% addDivicon(data = df , html = ~paste0( '
    ', '
    ', Name, '<\/div>', '
    MaxWind: ', MaxWind, '<\/div>', '<\/div>' ) , label = ~Name , layerId = ~ID , group = \"Divicons\" , popup = ~paste(\"ID: \", ID, \"
    \", \"Name: \", Name, \"
    \", \"MaxWind:\", MaxWind, \"
    \", \"MinPress:\", MinPress) , options = markerOptions(draggable = TRUE) ) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"©
    OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addDivicon\",\"args\":[[16.9,36.5,21.8,20.8,30.5,23.8,17.9,29,26.2,38,37,39.6,29.3,16,17.4,28.9,22.4,36,32.2,13.3,23,25.9,67.5,24.4,39.4,23.1,13.6,32.6,18.5,32.5,33.9,39,18.3,20.3,21.3,39.4,17.8,22.8,27.2,28.6,16.4,19.1,43.3,26.1,26,17.6,25.7,32.1,22,32.6],[-84,-66.5,-86.8,-97.3,-63.8,-39.3,-84,-50.4,-76.40000000000001,-73.40000000000001,-87,-48.6,-62,-79.8,-83.90000000000001,-79.3,-57.2,-40.6,-68.3,-66.7,-52,-40.5,1.9,-84.7,-46.4,-75.09999999999999,-62.8,-57.1,-57.2,-49.8,-55.4,-85.59999999999999,-86.7,-87.3,-47.2,-86.5,-70.5,-58.1,-45.9,-79.59999999999999,-78,-85.8,-30.7,-85,-89.90000000000001,-58.9,-75.90000000000001,-70.2,-90.3,-89.09999999999999],[\"ID_1\",\"ID_2\",\"ID_3\",\"ID_4\",\"ID_5\",\"ID_6\",\"ID_7\",\"ID_8\",\"ID_9\",\"ID_10\",\"ID_11\",\"ID_12\",\"ID_13\",\"ID_14\",\"ID_15\",\"ID_16\",\"ID_17\",\"ID_18\",\"ID_19\",\"ID_20\",\"ID_21\",\"ID_22\",\"ID_23\",\"ID_24\",\"ID_25\",\"ID_26\",\"ID_27\",\"ID_28\",\"ID_29\",\"ID_30\",\"ID_31\",\"ID_32\",\"ID_33\",\"ID_34\",\"ID_35\",\"ID_36\",\"ID_37\",\"ID_38\",\"ID_39\",\"ID_40\",\"ID_41\",\"ID_42\",\"ID_43\",\"ID_44\",\"ID_45\",\"ID_46\",\"ID_47\",\"ID_48\",\"ID_49\",\"ID_50\"],\"Divicons\",{\"interactive\":true,\"draggable\":true,\"keyboard\":true,\"title\":\"\",\"alt\":\"\",\"zIndexOffset\":0,\"opacity\":1,\"riseOnHover\":false,\"riseOffset\":250},null,[\"
    ARLENE<\\/div>
    MaxWind: 60<\\/div><\\/div>\",\"
    IRENE<\\/div>
    MaxWind: 90<\\/div><\\/div>\",\"
    WILMA<\\/div>
    MaxWind: 160<\\/div><\\/div>\",\"
    BRET<\\/div>
    MaxWind: 35<\\/div><\\/div>\",\"
    NATE<\\/div>
    MaxWind: 80<\\/div><\\/div>\",\"
    DELTA<\\/div>
    MaxWind: 60<\\/div><\\/div>\",\"
    WILMA<\\/div>
    MaxWind: 160<\\/div><\\/div>\",\"
    LEE<\\/div>
    MaxWind: 35<\\/div><\\/div>\",\"
    FRANKLIN<\\/div>
    MaxWind: 60<\\/div><\\/div>\",\"
    TWENTY-TWO<\\/div>
    MaxWind: 40<\\/div><\\/div>\",\"
    KATRINA<\\/div>
    MaxWind: 150<\\/div><\\/div>\",\"
    HARVEY<\\/div>
    MaxWind: 55<\\/div><\\/div>\",\"
    TWENTY-TWO<\\/div>
    MaxWind: 40<\\/div><\\/div>\",\"
    WILMA<\\/div>
    MaxWind: 160<\\/div><\\/div>\",\"
    ARLENE<\\/div>
    MaxWind: 60<\\/div><\\/div>\",\"
    OPHELIA<\\/div>
    MaxWind: 75<\\/div><\\/div>\",\"
    IRENE<\\/div>
    MaxWind: 90<\\/div><\\/div>\",\"
    NATE<\\/div>
    MaxWind: 80<\\/div><\\/div>\",\"
    FRANKLIN<\\/div>
    MaxWind: 60<\\/div><\\/div>\",\"
    EMILY<\\/div>
    MaxWind: 140<\\/div><\\/div>\",\"
    MARIA<\\/div>
    MaxWind: 100<\\/div><\\/div>\",\"
    EPSILON<\\/div>
    MaxWind: 75<\\/div><\\/div>\",\"
    OPHELIA<\\/div>
    MaxWind: 75<\\/div><\\/div>\",\"
    KATRINA<\\/div>
    MaxWind: 150<\\/div><\\/div>\",\"
    MARIA<\\/div>
    MaxWind: 100<\\/div><\\/div>\",\"
    KATRINA<\\/div>
    MaxWind: 150<\\/div><\\/div>\",\"
    GAMMA<\\/div>
    MaxWind: 45<\\/div><\\/div>\",\"
    HARVEY<\\/div>
    MaxWind: 55<\\/div><\\/div>\",\"
    PHILIPPE<\\/div>
    MaxWind: 70<\\/div><\\/div>\",\"
    EPSILON<\\/div>
    MaxWind: 75<\\/div><\\/div>\",\"
    MARIA<\\/div>
    MaxWind: 100<\\/div><\\/div>\",\"
    DENNIS<\\/div>
    MaxWind: 130<\\/div><\\/div>\",\"
    CINDY<\\/div>
    MaxWind: 65<\\/div><\\/div>\",\"
    EMILY<\\/div>
    MaxWind: 140<\\/div><\\/div>\",\"
    IRENE<\\/div>
    MaxWind: 90<\\/div><\\/div>\",\"
    DENNIS<\\/div>
    MaxWind: 130<\\/div><\\/div>\",\"
    ALPHA<\\/div>
    MaxWind: 45<\\/div><\\/div>\",\"
    IRENE<\\/div>
    MaxWind: 90<\\/div><\\/div>\",\"
    DELTA<\\/div>
    MaxWind: 60<\\/div><\\/div>\",\"
    OPHELIA<\\/div>
    MaxWind: 75<\\/div><\\/div>\",\"
    EMILY<\\/div>
    MaxWind: 140<\\/div><\\/div>\",\"
    WILMA<\\/div>
    MaxWind: 160<\\/div><\\/div>\",\"
    HARVEY<\\/div>
    MaxWind: 55<\\/div><\\/div>\",\"
    DENNIS<\\/div>
    MaxWind: 130<\\/div><\\/div>\",\"
    RITA<\\/div>
    MaxWind: 155<\\/div><\\/div>\",\"
    TEN<\\/div>
    MaxWind: 30<\\/div><\\/div>\",\"
    FRANKLIN<\\/div>
    MaxWind: 60<\\/div><\\/div>\",\"
    IRENE<\\/div>
    MaxWind: 90<\\/div><\\/div>\",\"
    EMILY<\\/div>
    MaxWind: 140<\\/div><\\/div>\",\"
    KATRINA<\\/div>
    MaxWind: 150<\\/div><\\/div>\"],[\"ID: ID_1
    Name: ARLENE
    MaxWind: 60
    MinPress: 989\",\"ID: ID_2
    Name: IRENE
    MaxWind: 90
    MinPress: 970\",\"ID: ID_3
    Name: WILMA
    MaxWind: 160
    MinPress: 882\",\"ID: ID_4
    Name: BRET
    MaxWind: 35
    MinPress: 1002\",\"ID: ID_5
    Name: NATE
    MaxWind: 80
    MinPress: 979\",\"ID: ID_6
    Name: DELTA
    MaxWind: 60
    MinPress: 980\",\"ID: ID_7
    Name: WILMA
    MaxWind: 160
    MinPress: 882\",\"ID: ID_8
    Name: LEE
    MaxWind: 35
    MinPress: 1006\",\"ID: ID_9
    Name: FRANKLIN
    MaxWind: 60
    MinPress: 997\",\"ID: ID_10
    Name: TWENTY-TWO
    MaxWind: 40
    MinPress: 1005\",\"ID: ID_11
    Name: KATRINA
    MaxWind: 150
    MinPress: 902\",\"ID: ID_12
    Name: HARVEY
    MaxWind: 55
    MinPress: 994\",\"ID: ID_13
    Name: TWENTY-TWO
    MaxWind: 40
    MinPress: 1005\",\"ID: ID_14
    Name: WILMA
    MaxWind: 160
    MinPress: 882\",\"ID: ID_15
    Name: ARLENE
    MaxWind: 60
    MinPress: 989\",\"ID: ID_16
    Name: OPHELIA
    MaxWind: 75
    MinPress: 976\",\"ID: ID_17
    Name: IRENE
    MaxWind: 90
    MinPress: 970\",\"ID: ID_18
    Name: NATE
    MaxWind: 80
    MinPress: 979\",\"ID: ID_19
    Name: FRANKLIN
    MaxWind: 60
    MinPress: 997\",\"ID: ID_20
    Name: EMILY
    MaxWind: 140
    MinPress: 929\",\"ID: ID_21
    Name: MARIA
    MaxWind: 100
    MinPress: 962\",\"ID: ID_22
    Name: EPSILON
    MaxWind: 75
    MinPress: 981\",\"ID: ID_23
    Name: OPHELIA
    MaxWind: 75
    MinPress: 976\",\"ID: ID_24
    Name: KATRINA
    MaxWind: 150
    MinPress: 902\",\"ID: ID_25
    Name: MARIA
    MaxWind: 100
    MinPress: 962\",\"ID: ID_26
    Name: KATRINA
    MaxWind: 150
    MinPress: 902\",\"ID: ID_27
    Name: GAMMA
    MaxWind: 45
    MinPress: 1002\",\"ID: ID_28
    Name: HARVEY
    MaxWind: 55
    MinPress: 994\",\"ID: ID_29
    Name: PHILIPPE
    MaxWind: 70
    MinPress: 985\",\"ID: ID_30
    Name: EPSILON
    MaxWind: 75
    MinPress: 981\",\"ID: ID_31
    Name: MARIA
    MaxWind: 100
    MinPress: 962\",\"ID: ID_32
    Name: DENNIS
    MaxWind: 130
    MinPress: 930\",\"ID: ID_33
    Name: CINDY
    MaxWind: 65
    MinPress: 991\",\"ID: ID_34
    Name: EMILY
    MaxWind: 140
    MinPress: 929\",\"ID: ID_35
    Name: IRENE
    MaxWind: 90
    MinPress: 970\",\"ID: ID_36
    Name: DENNIS
    MaxWind: 130
    MinPress: 930\",\"ID: ID_37
    Name: ALPHA
    MaxWind: 45
    MinPress: 998\",\"ID: ID_38
    Name: IRENE
    MaxWind: 90
    MinPress: 970\",\"ID: ID_39
    Name: DELTA
    MaxWind: 60
    MinPress: 980\",\"ID: ID_40
    Name: OPHELIA
    MaxWind: 75
    MinPress: 976\",\"ID: ID_41
    Name: EMILY
    MaxWind: 140
    MinPress: 929\",\"ID: ID_42
    Name: WILMA
    MaxWind: 160
    MinPress: 882\",\"ID: ID_43
    Name: HARVEY
    MaxWind: 55
    MinPress: 994\",\"ID: ID_44
    Name: DENNIS
    MaxWind: 130
    MinPress: 930\",\"ID: ID_45
    Name: RITA
    MaxWind: 155
    MinPress: 895\",\"ID: ID_46
    Name: TEN
    MaxWind: 30
    MinPress: 1008\",\"ID: ID_47
    Name: FRANKLIN
    MaxWind: 60
    MinPress: 997\",\"ID: ID_48
    Name: IRENE
    MaxWind: 90
    MinPress: 970\",\"ID: ID_49
    Name: EMILY
    MaxWind: 140
    MinPress: 929\",\"ID: ID_50
    Name: KATRINA
    MaxWind: 150
    MinPress: 902\"],null,[\"ARLENE\",\"IRENE\",\"WILMA\",\"BRET\",\"NATE\",\"DELTA\",\"WILMA\",\"LEE\",\"FRANKLIN\",\"TWENTY-TWO\",\"KATRINA\",\"HARVEY\",\"TWENTY-TWO\",\"WILMA\",\"ARLENE\",\"OPHELIA\",\"IRENE\",\"NATE\",\"FRANKLIN\",\"EMILY\",\"MARIA\",\"EPSILON\",\"OPHELIA\",\"KATRINA\",\"MARIA\",\"KATRINA\",\"GAMMA\",\"HARVEY\",\"PHILIPPE\",\"EPSILON\",\"MARIA\",\"DENNIS\",\"CINDY\",\"EMILY\",\"IRENE\",\"DENNIS\",\"ALPHA\",\"IRENE\",\"DELTA\",\"OPHELIA\",\"EMILY\",\"WILMA\",\"HARVEY\",\"DENNIS\",\"RITA\",\"TEN\",\"FRANKLIN\",\"IRENE\",\"EMILY\",\"KATRINA\"],{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null,null,[],null]}],\"limits\":{\"lat\":[13.3,67.5],\"lng\":[-97.3,1.9]}},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addEasyprint.html","id":null,"dir":"Reference","previous_headings":"","what":"Add easyPrint Plugin — addEasyprint","title":"Add easyPrint Plugin — addEasyprint","text":"Add control, allows print export map .PNG.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addEasyprint.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add easyPrint Plugin — addEasyprint","text":"","code":"addEasyprint(map, options = easyprintOptions())"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addEasyprint.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add easyPrint Plugin — addEasyprint","text":"map map widget object created leaflet options named list options. See easyprintOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addEasyprint.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add easyPrint Plugin — addEasyprint","text":"leaflet map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addEasyprint.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add easyPrint Plugin — addEasyprint","text":"https://github.com/rowanwins/leaflet-easyPrint","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addEasyprint.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add easyPrint Plugin — addEasyprint","text":"","code":"library(leaflet) leaflet() %>% addTiles() %>% addEasyprint(options = easyprintOptions( title = 'Print map', position = 'bottomleft', exportOnly = TRUE)) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addEasyprint\",\"args\":[{\"title\":\"Print map\",\"position\":\"bottomleft\",\"sizeModes\":[\"A4Portrait\",\"A4Landscape\",\"CurrentSize\"],\"exportOnly\":true,\"tileWait\":500,\"filename\":\"map\",\"hidden\":false,\"hideControlContainer\":true,\"spinnerBgColor\":\"#0DC5C1\",\"customSpinnerClass\":\"epLoader\"}]}]},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addGIBS.html","id":null,"dir":"Reference","previous_headings":"","what":"Add GIBS Layers — addGIBS","title":"Add GIBS Layers — addGIBS","text":"leaflet plugin NASA EOSDIS GIBS imagery integration. 154 products available. date can set dynamically multi-temporal products. -data pixels MODIS Multiband Imagery can made transparent.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addGIBS.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add GIBS Layers — addGIBS","text":"","code":"addGIBS( map, layers = NULL, group = NULL, dates = NULL, opacity = 0.5, transparent = TRUE )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addGIBS.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add GIBS Layers — addGIBS","text":"map map widget object created leaflet() layers character vector GIBS-layers. See gibs_layers group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. dates Date object. multiple layers added, can add Date vector length opacity Numeric value determining opacity. multiple layers added, can add numeric vector length transparent layer transparent. multiple layers added, can add boolean vector length","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addGIBS.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add GIBS Layers — addGIBS","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addGIBS.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add GIBS Layers — addGIBS","text":"https://github.com/aparshin/leaflet-GIBS","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addGIBS.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add GIBS Layers — addGIBS","text":"","code":"library(leaflet) library(leaflet.extras2) layers <- gibs_layers$title[c(35, 128, 185)] leaflet() %>% addTiles() %>% setView(9, 50, 4) %>% addGIBS(layers = layers, dates = Sys.Date() - 1, group = layers) %>% addLayersControl(overlayGroups = layers) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addGIBS\",\"args\":[[\"AIRS_Precipitation_Day\",\"MODIS_Terra_Chlorophyll_A\",\"MODIS_Aqua_AOD_Deep_Blue_Combined\"],[\"AIRS_Precipitation_Day\",\"MODIS_Terra_Chlorophyll_A\",\"MODIS_Aqua_AOD_Deep_Blue_Combined\"],[\"2024-08-31\",\"2024-08-31\",\"2024-08-31\"],[0.5,0.5,0.5],[true,true,true]]},{\"method\":\"addLayersControl\",\"args\":[[],[\"AIRS_Precipitation_Day\",\"MODIS_Terra_Chlorophyll_A\",\"MODIS_Aqua_AOD_Deep_Blue_Combined\"],{\"collapsed\":true,\"autoZIndex\":true,\"position\":\"topright\"}]}],\"setView\":[[50,9],4,[]]},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHeightgraph.html","id":null,"dir":"Reference","previous_headings":"","what":"Add a Heightgraph layer — addHeightgraph","title":"Add a Heightgraph layer — addHeightgraph","text":"Visualize height information road attributes linestring segments. linestrings must Simple Feature LINESTRING Z transformed GeoJSON. function therefore inherits arguments addGeoJSON.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHeightgraph.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add a Heightgraph layer — addHeightgraph","text":"","code":"addHeightgraph( map, data = NULL, columns = NULL, layerId = NULL, group = NULL, color = \"#03F\", weight = 5, opacity = 0.5, dashArray = NULL, smoothFactor = 1, noClip = FALSE, pathOpts = leaflet::pathOptions(), options = heightgraphOptions() )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHeightgraph.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add a Heightgraph layer — addHeightgraph","text":"map map widget object created leaflet() data Simple Feature LINESTRING Z dimension. columns character vector columns want include heightgraph control layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. color stroke color weight stroke width pixels opacity stroke opacity (layer opacity tile layers) dashArray string defines stroke dash pattern smoothFactor much simplify polyline zoom level (means better performance less accurate representation) noClip whether disable polyline clipping pathOpts List options path. See pathOptions options List plugin options. See heightgraphOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHeightgraph.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add a Heightgraph layer — addHeightgraph","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHeightgraph.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Add a Heightgraph layer — addHeightgraph","text":"used Shiny, 3 events update certain Shiny Input: click updates input$MAPID_heightgraph_click mouseover updates input$MAPID_heightgraph_mouseover mouseout updates input$MAPID_heightgraph_mouseout want explicitly remove Heightgraph control, please use removeControl layerId = \"hg_control\".","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHeightgraph.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add a Heightgraph layer — addHeightgraph","text":"https://github.com/GIScience/Leaflet.Heightgraph","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHeightgraph.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add a Heightgraph layer — addHeightgraph","text":"","code":"library(leaflet) library(leaflet.extras2) library(sf) data <- st_cast(st_as_sf(leaflet::atlStorms2005[4,]), \"LINESTRING\") data <- st_transform(data, 4326) data <- data.frame(st_coordinates(data)) data$elev <- round(runif(nrow(data), 10, 500), 2) data$L1 <- NULL L1 <- round(seq.int(1, 4, length.out = nrow(data))) data <- st_as_sf(st_sfc(lapply(split(data, L1), function(x) { st_linestring(as.matrix(x)) }))) data$steepness <- 1:nrow(data) data$suitability <- nrow(data):1 data$popup <- apply(data, 1, function(x) { sprintf(\"Steepness: %s
    Suitability: %s\", x$steepness, x$suitability) }) leaflet() %>% addTiles(group = \"base\") %>% addHeightgraph(color = \"red\", columns = c(\"steepness\", \"suitability\"), opacity = 1, data = data, group = \"heightgraph\", options = heightgraphOptions(width = 400)) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,\"base\",{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"©
    OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addHeightgraph\",\"args\":[[{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"properties\":{\"attributeType\":1,\"suitability\":4,\"popup\":\"Steepness: 1
    Suitability: 4\"},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[-86.7,18.3,437.59],[-87.2,18.6,491.81],[-87.6,19.0,117.1],[-87.9,19.3,335.62],[-88.5,20.9,200.89],[-89.0,22.3,32.57]]}},{\"type\":\"Feature\",\"properties\":{\"attributeType\":2,\"suitability\":3,\"popup\":\"Steepness: 2
    Suitability: 3\"},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[-89.7,23.9,312.29],[-90.2,25.1,303.25],[-90.4,26.4,209.36],[-90.5,27.6,430.58],[-90.3,28.5,263.66],[-90.1,29.2,489.85],[-90.0,29.6,18.34],[-89.5,30.2,339.99],[-88.9,30.8,191.92],[-88.1,31.6,459.83],[-87.2,32.4,342.21]]}},{\"type\":\"Feature\",\"properties\":{\"attributeType\":3,\"suitability\":2,\"popup\":\"Steepness: 3
    Suitability: 2\"},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[-86.2,33.2,335.92],[-84.1,34.6,380.46],[-81.8,35.6,275.99],[-80.0,37.1,127.25],[-78.3,37.8,259.36],[-76.7,38.4,214.46],[-74.8,39.1,366.2],[-72.0,39.5,322.47],[-70.7,40.8,204.24],[-69.8,41.6,480.15],[-69.6,43.5,156.34]]}},{\"type\":\"Feature\",\"properties\":{\"attributeType\":4,\"suitability\":1,\"popup\":\"Steepness: 4
    Suitability: 1\"},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[-69.8,44.9,34.6],[-70.0,45.5,292.33],[-67.6,46.5,116.77],[-66.4,48.0,71.67],[-64.5,48.5,469.69],[-62.5,48.5,402.62]]}}]},{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"properties\":{\"steepness\":1,\"attributeType\":4,\"popup\":\"Steepness: 1
    Suitability: 4\"},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[-86.7,18.3,437.59],[-87.2,18.6,491.81],[-87.6,19.0,117.1],[-87.9,19.3,335.62],[-88.5,20.9,200.89],[-89.0,22.3,32.57]]}},{\"type\":\"Feature\",\"properties\":{\"steepness\":2,\"attributeType\":3,\"popup\":\"Steepness: 2
    Suitability: 3\"},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[-89.7,23.9,312.29],[-90.2,25.1,303.25],[-90.4,26.4,209.36],[-90.5,27.6,430.58],[-90.3,28.5,263.66],[-90.1,29.2,489.85],[-90.0,29.6,18.34],[-89.5,30.2,339.99],[-88.9,30.8,191.92],[-88.1,31.6,459.83],[-87.2,32.4,342.21]]}},{\"type\":\"Feature\",\"properties\":{\"steepness\":3,\"attributeType\":2,\"popup\":\"Steepness: 3
    Suitability: 2\"},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[-86.2,33.2,335.92],[-84.1,34.6,380.46],[-81.8,35.6,275.99],[-80.0,37.1,127.25],[-78.3,37.8,259.36],[-76.7,38.4,214.46],[-74.8,39.1,366.2],[-72.0,39.5,322.47],[-70.7,40.8,204.24],[-69.8,41.6,480.15],[-69.6,43.5,156.34]]}},{\"type\":\"Feature\",\"properties\":{\"steepness\":4,\"attributeType\":1,\"popup\":\"Steepness: 4
    Suitability: 1\"},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[-69.8,44.9,34.6],[-70.0,45.5,292.33],[-67.6,46.5,116.77],[-66.4,48.0,71.67],[-64.5,48.5,469.69],[-62.5,48.5,402.62]]}}]}],{\"steepness\":[1,2,3,4],\"suitability\":[4,3,2,1]},null,\"heightgraph\",{\"interactive\":true,\"className\":\"\",\"color\":\"red\",\"weight\":5,\"opacity\":1,\"smoothFactor\":1,\"noClip\":false},{\"position\":\"bottomright\",\"width\":400,\"height\":200,\"margins\":{\"top\":10,\"right\":30,\"bottom\":55,\"left\":50},\"expand\":true,\"highlightStyle\":{\"color\":\"red\"},\"xTicks\":3,\"yTicks\":3}]}],\"limits\":{\"lat\":[18.3,48.5],\"lng\":[-90.5,-62.5]}},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHexbin.html","id":null,"dir":"Reference","previous_headings":"","what":"Add a Hexbin layer — addHexbin","title":"Add a Hexbin layer — addHexbin","text":"Create dynamic hexbin-based heatmaps Leaflet maps. plugin leverages data-binding power d3 allow dynamically update data visualize transitions.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHexbin.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add a Hexbin layer — addHexbin","text":"","code":"addHexbin( map, lng = NULL, lat = NULL, radius = 20, layerId = NULL, group = NULL, opacity = 0.5, options = hexbinOptions(), data = getMapData(map) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHexbin.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add a Hexbin layer — addHexbin","text":"map map widget object created leaflet() lng numeric vector longitudes, one-sided formula form ~x x variable data; default (explicitly provided), automatically inferred data looking column named lng, long, longitude (case-insensitively) lat vector latitudes formula (similar lng argument; names lat latitude used guessing latitude column data) radius Radius hexbin layer layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. opacity Opacity hexbin layer options List options. See hexbinOptions data data object argument values derived; default, data object provided leaflet() initially, can overridden","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHexbin.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add a Hexbin layer — addHexbin","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHexbin.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Add a Hexbin layer — addHexbin","text":"Currently respect layerId group.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHexbin.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add a Hexbin layer — addHexbin","text":"https://github.com/bluehalo/leaflet-d3#hexbins-api","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHexbin.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add a Hexbin layer — addHexbin","text":"","code":"library(leaflet) library(leaflet.extras2) n <- 1000 df <- data.frame(lat = rnorm(n, 42.0285, .01), lng = rnorm(n, -93.65, .01)) leaflet() %>% addTiles() %>% addHexbin(lng = df$lng, lat = df$lat, options = hexbinOptions( colorRange = c(\"red\", \"yellow\", \"blue\"), radiusRange = c(10, 20) )) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"©
    OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addHexbin\",\"args\":[[[-93.6256203190796,42.03550055314643],[-93.641579056967,42.02967592614755],[-93.64161371685307,42.02566377250114],[-93.6517779876809,42.03347908843553],[-93.65337828786998,42.04459942962147],[-93.63116213566015,42.04711135799808],[-93.65115525568089,42.03236249093656],[-93.66072619498854,42.01381356630063],[-93.64826326623857,42.03567524784186],[-93.64398599866958,42.02981910181035],[-93.64903199308789,42.00984076297109],[-93.65345193170315,42.01929336598634],[-93.64631024158257,42.0405402894526],[-93.66539204524435,42.03117267619977],[-93.67565885119181,42.01049740073829],[-93.6455258652052,42.01533662355095],[-93.65454570556111,42.02611453741093],[-93.65060526601299,42.0170687152434],[-93.65589556414336,42.02065523314848],[-93.64749352603526,42.0202223106018],[-93.6486973742026,42.03794337555047],[-93.64790388805328,42.02210307043004],[-93.66263310840215,42.00673769551356],[-93.65663480993794,42.02632855398212],[-93.65444005565355,42.03429914778938],[-93.65589947305588,42.04807169960058],[-93.65509446903918,42.01897396520457],[-93.65319052393026,42.00982614712282],[-93.64059943219451,42.01882326294918],[-93.64454080873658,42.03642451144506],[-93.64112697464768,42.0466503083213],[-93.65576802659731,42.01913027403188],[-93.65652275997267,42.037113005427],[-93.64413672570696,42.03471639911452],[-93.66590766030146,42.0070566782531],[-93.64396397504595,42.03334721682703],[-93.64234198956295,42.02402725725696],[-93.64201723473501,42.03396097078102],[-93.65092398311772,42.04294186711743],[-93.65932317440586,42.03092888733918],[-93.64697645007264,42.03018512104988],[-93.63410914803497,42.03089064666838],[-93.64086140885659,42.03086321420783],[-93.65476254330487,42.02590880832084],[-93.66533084542787,42.03499045697574],[-93.66742228968943,42.01632359023472],[-93.64810963832252,42.03691970418143],[-93.63790717534147,42.0123078935266],[-93.65203970419145,42.03114165925402],[-93.66557476513047,42.02947310701907],[-93.6462837801259,42.04638865362249],[-93.64540460043466,42.01861317214278],[-93.65862775942853,42.04740903211196],[-93.64327076067271,42.04050827464498],[-93.6559329735109,42.0103678897957],[-93.65134899063948,42.03220432228095],[-93.65046335164735,42.0236732322109],[-93.64648003071939,42.02951284477045],[-93.63377194063627,42.0288907730569],[-93.65794645071978,42.03914825695229],[-93.65230499864532,41.99140150533729],[-93.66443511772435,42.04450178342938],[-93.65524252065613,42.04029669840682],[-93.63733710573641,42.0019948453688],[-93.65716171991585,42.02075223863773],[-93.6485451787631,42.03455877804665],[-93.64039469017756,42.02549719363164],[-93.65674246913755,42.03860492429244],[-93.63875321971568,42.01080616786525],[-93.62527062649977,42.03522202668443],[-93.63259796646938,42.02023742654083],[-93.6653075669343,42.02558104072979],[-93.63582979056429,42.02072182924487],[-93.65396850312459,42.02501446159399],[-93.64510005992788,42.03861717340599],[-93.64281378370956,42.02535227843165],[-93.6678788581138,42.02844618158728],[-93.63793247980868,42.01491697197792],[-93.66571492223315,42.04422927577731],[-93.63896433006707,42.01650615838797],[-93.63271125546909,42.02777344269444],[-93.6511600011298,42.02825916023745],[-93.65073191568203,42.04434497497674],[-93.64697853076659,42.02855675626925],[-93.64853487956908,42.02201795516387],[-93.63494711492338,42.04708663206343],[-93.64925326542186,42.03678303183275],[-93.6459504076084,42.04049035271656],[-93.64868029407535,42.03450051241629],[-93.64203947849774,42.02908760120956],[-93.6464031002314,42.01560236469617],[-93.64284249417635,42.02723666140879],[-93.64880250949014,42.03233987624705],[-93.65726018104041,42.02307539895415],[-93.65279741405779,42.0307260526349],[-93.65574141456135,42.02205141600845],[-93.64479517781022,42.02435499732946],[-93.66237501815036,42.00555205826922],[-93.65745412111234,42.02218453996837],[-93.63414427253275,42.02318568876757],[-93.65355862847227,42.03560346515686],[-93.66513059560179,42.02601801443947],[-93.63484425863066,42.03525270015431],[-93.64155719945104,42.02254651040041],[-93.64660989276049,42.02960090411152],[-93.64500268718977,42.03222003230868],[-93.6412199422152,42.02240141699907],[-93.65829692253496,42.03893938895892],[-93.64568904613535,42.02547293715474],[-93.66250980503936,42.04267281260641],[-93.64316716547199,42.01982898935371],[-93.65799310994214,42.00631858852056],[-93.64598756185113,42.02574697982855],[-93.65027807256538,42.0322664508187],[-93.66309722382199,42.03822136286485],[-93.65707087208254,42.03108902502532],[-93.66467377041724,42.0405746914788],[-93.65084216245737,42.02580513636526],[-93.64941828547374,42.02151693211253],[-93.66413435747729,42.0136174405737],[-93.65229451937107,42.05313369124052],[-93.64338722432963,42.03419298098773],[-93.65975090559381,42.01739299083614],[-93.65695569013936,42.04098755016302],[-93.6628258947016,42.02197325025567],[-93.66307464324426,42.02702830668482],[-93.66508476172272,42.0157589868904],[-93.64808974011764,42.03245327502411],[-93.63383481338691,42.00917106653309],[-93.65190854950801,42.0390450295571],[-93.65038559502212,42.02029020092835],[-93.64437974916549,42.02212368972112],[-93.64356729024263,42.0269687537759],[-93.64695504626111,42.01433593489478],[-93.65397419178476,42.03457317769907],[-93.64628534052854,42.02938392362775],[-93.64038048813705,42.01279725647971],[-93.64289684013922,42.03162839820448],[-93.66145498383807,42.03502678559531],[-93.65981852647796,42.02842041993159],[-93.65921175080963,42.04577032918539],[-93.65066505594994,42.04936467404774],[-93.66318925852615,42.0249165454955],[-93.6558514070595,42.01407875557116],[-93.65267594523431,42.03231277467116],[-93.64761386424989,42.0294069683636],[-93.65316641164266,42.03012098186462],[-93.66289557739643,42.03205949971889],[-93.64094159990978,42.0249028642934],[-93.64970233686049,42.0274137301896],[-93.65349271837272,42.04677786512182],[-93.64415919945303,42.00888082270276],[-93.65270649058417,42.03795982801513],[-93.65597926330307,42.03398962073857],[-93.63887392512754,42.02272534679906],[-93.65273655343475,42.01621715093946],[-93.637990683417,42.03889532088862],[-93.64632769078767,42.03305602011422],[-93.65747241241959,42.00470074831723],[-93.66414870851398,42.03447565620228],[-93.65931088644879,42.02977840486754],[-93.63565815130571,42.01133128118651],[-93.63554965623679,42.0288610956161],[-93.66027847133817,42.0385726776584],[-93.64722097623778,42.03563109217416],[-93.65397619157926,42.01740037845585],[-93.64746259688599,42.02999405696124],[-93.6626047621801,42.02463857266136],[-93.65114656028378,42.02619505777729],[-93.63604976814361,42.03242105946791],[-93.66476151105824,42.03319933174096],[-93.65084413577598,42.03838842881547],[-93.64453491764972,42.02136272146483],[-93.65820549720127,42.04119690248689],[-93.64471203849919,42.03559065963535],[-93.65225451935461,42.0389692267028],[-93.64841549413104,42.01639520638343],[-93.66754295752297,42.03230149499792],[-93.6538745576327,42.02782613725271],[-93.64245731424138,42.03130100026868],[-93.64365989959462,42.03180308351234],[-93.64644327296159,42.03134751619049],[-93.64133563810555,42.03278594396507],[-93.64728733263482,42.02729032635654],[-93.64366841049677,42.03308242253333],[-93.64214716221267,42.03466534670979],[-93.66394311047037,42.02674951226671],[-93.6512315526017,42.02727168661328],[-93.63343743680552,42.01377308495079],[-93.65588261452659,42.02973692710569],[-93.64275064051046,42.01754407579197],[-93.66045061803877,42.03238342324322],[-93.63346645532847,42.02094969683139],[-93.66096391331672,42.01618397398285],[-93.65516115853194,42.03614265604268],[-93.65266870124523,42.02204194762796],[-93.64367375525165,42.01808019435919],[-93.65174038823531,42.02012794129521],[-93.65392239281547,42.03876353171844],[-93.65334921801785,42.03703873910592],[-93.6473164002672,42.03675223755797],[-93.6447250470535,42.03103443753201],[-93.64312917368122,42.04256929176383],[-93.64167780704516,42.02688165680436],[-93.64543406386834,42.03585601967482],[-93.64753511925257,42.02946990716439],[-93.64670929091645,42.02877488344485],[-93.64701880752773,42.02149399209161],[-93.65495508694069,42.04474953104592],[-93.65134397209926,42.02886967561164],[-93.64991390049869,42.02475958511018],[-93.64181707059751,42.02077890221415],[-93.65898527731136,42.02516122681384],[-93.65725302885902,42.03492952402512],[-93.64562066873042,42.03286256008709],[-93.65837287466471,42.02945880970892],[-93.65802918123114,42.03178364898589],[-93.65065287583568,42.04066040113695],[-93.66327399032137,42.01760921119362],[-93.65694403409758,42.03394486102906],[-93.65642704061108,42.03311272734583],[-93.6458412995791,42.01362234891206],[-93.64052632390072,42.02158047318171],[-93.64897239806672,42.02856885964673],[-93.65549059985138,42.02695986713507],[-93.65922190756285,42.02791070409631],[-93.64790407832433,42.02317419275359],[-93.64882848393755,42.03929072265989],[-93.63653675745562,42.03724615306615],[-93.66245482016977,42.02183981560638],[-93.64791209987249,42.01723724072867],[-93.65543082093038,42.02480564355162],[-93.63606917147202,42.01668404940818],[-93.63949827795226,42.02909317619817],[-93.65106796940987,42.01018380059469],[-93.65583538320185,42.0366373964706],[-93.65315680196346,42.01365177681286],[-93.64523692228406,42.01425077876056],[-93.66104210984867,42.04786921945606],[-93.6475304641674,42.03538422562603],[-93.65484916160214,42.0317433519279],[-93.65619658967528,42.02711163377764],[-93.65188632206602,42.01666354876167],[-93.6590766226784,42.04462366608594],[-93.6465210291456,42.02206836214298],[-93.6456489848927,42.01684283911988],[-93.66314917473078,42.03163530113295],[-93.65392709469316,42.03398406089722],[-93.64129959418638,42.01592611531352],[-93.66090737731575,42.03850885458183],[-93.65598260937334,42.03163166146523],[-93.6411180965372,42.01869469969555],[-93.6637891353364,42.01784241606998],[-93.6665180584264,42.01836013235261],[-93.65560608080847,42.01483368638948],[-93.67174049105985,42.01082495468683],[-93.66061595905259,42.02284849132223],[-93.63959081222553,42.02591456113463],[-93.6393404664603,42.04481227565131],[-93.64305459723732,42.031748851192],[-93.6486090024261,42.01792384483251],[-93.65201092837336,42.01484442749879],[-93.64966095721098,42.03205476659043],[-93.64636034010505,42.02177155970379],[-93.64875292822443,42.03253145967948],[-93.65565872772063,42.03183291660346],[-93.64858160749095,42.04327891117646],[-93.64646126720204,42.02838870005723],[-93.64280425212188,42.02171523687004],[-93.63831956424129,42.02491434601699],[-93.65863860578654,42.03451616616714],[-93.63908568768174,42.02099515016398],[-93.64556703188414,42.02453460663634],[-93.67562523537916,42.00923475365467],[-93.62715433851032,42.00644096317279],[-93.64932144079636,42.04282228405519],[-93.64626787163063,42.02610271077747],[-93.64878231314198,42.02820639778315],[-93.64417629497129,42.00039968166691],[-93.63917207777327,42.02155841106246],[-93.64279837851794,42.02981521919509],[-93.64913405349058,42.03177751355764],[-93.63606145562763,42.04286151592544],[-93.65295764491702,42.01521277691202],[-93.6551116470925,42.03025713636057],[-93.64628246302246,42.0337660920982],[-93.61922911848895,42.0267750044415],[-93.65841773476963,42.030176896368],[-93.65757351583956,42.04026533062655],[-93.64774484688782,42.0437546878184],[-93.64178988567413,42.02285442314433],[-93.64556993993786,42.03146297717134],[-93.65796659634697,42.0260078696643],[-93.65545376677134,42.02642900397414],[-93.64456702370792,42.03672056628043],[-93.66661003664028,42.03553638224128],[-93.6447615056759,42.02692285241046],[-93.63669227517983,42.02673196460552],[-93.63388351768427,42.0427253584478],[-93.64927977700567,42.01533291589777],[-93.65710756752316,42.02788662287482],[-93.6587130671733,42.02945596029583],[-93.65307498250107,42.02307059584128],[-93.66738088974245,42.03348453635133],[-93.63959572021022,42.02808122498532],[-93.62743208055286,42.0334587085373],[-93.63258048521509,42.03750931705649],[-93.64888431921689,42.04469379506808],[-93.64221921680651,42.0322896715331],[-93.63706626959618,42.02681082515794],[-93.65291159884291,42.02307563266901],[-93.64468724925325,42.01396153567299],[-93.64944125153923,42.03030349349795],[-93.62901462588977,42.03347889684039],[-93.64222030214411,42.01556841071751],[-93.64982593337518,42.03604753609403],[-93.64090001439416,42.02582667498719],[-93.64945680296432,42.03492080561535],[-93.63289527926713,42.0243267362873],[-93.64338270768563,42.01632935874699],[-93.65610819108106,42.04982364324707],[-93.65102528387504,42.01760516849108],[-93.65769892027946,42.02966489304547],[-93.66250920392802,42.04111182052277],[-93.64430997952924,42.03890620865246],[-93.65611318615444,42.01880555696321],[-93.64602499054791,42.03240726208526],[-93.64103185651477,42.03457696667819],[-93.64994596966572,42.01852369508357],[-93.65850009852615,42.04047114834158],[-93.63758938934937,42.01077319062249],[-93.64635295629618,42.03634844111882],[-93.65775399744746,42.02412658869066],[-93.65395000654877,42.02498259125582],[-93.68262717400728,42.04153965632514],[-93.65915951797085,42.01766797706951],[-93.63735044927424,42.01625224189143],[-93.64903105614221,42.02934933079059],[-93.66509469689389,42.03431424435401],[-93.64936278338466,42.03300586953345],[-93.67142291258628,42.03346999113149],[-93.64650731576776,42.03629488950724],[-93.63365563818117,42.04357607696976],[-93.62996355646203,42.01025685502886],[-93.64779290797709,42.03638198592633],[-93.65765586295215,42.01877028747425],[-93.66118195565555,42.03742902117144],[-93.6397903649159,42.03613126973448],[-93.64119151643931,42.03501455950504],[-93.66647363167749,42.02314141646881],[-93.64759132938461,42.02765952781508],[-93.67122455318123,42.00838134425149],[-93.64886861735125,42.02336593284595],[-93.64741818644939,42.0295151962352],[-93.65579197348151,42.02793790263502],[-93.65042879055846,42.00417889174692],[-93.642451679256,42.02224414936551],[-93.65167650813383,42.01974037148644],[-93.65752456624061,42.0313551965789],[-93.65592449106012,42.03193848909088],[-93.66321808972268,42.01914899370291],[-93.65457432639275,42.03141729253871],[-93.62097294293039,42.02897796963296],[-93.64380026763045,42.03293769294245],[-93.68518039134334,42.03517733827517],[-93.65043689976299,42.02537533603154],[-93.64742357562061,42.05373761971543],[-93.65226239008187,42.02430289720489],[-93.64592061307596,42.0418719410963],[-93.64923596629019,42.0262677442433],[-93.63613654929824,42.03443122919397],[-93.64065777359019,42.02784732659416],[-93.63698622668295,42.02148814790249],[-93.64672080394085,42.02320832502053],[-93.66160049579088,42.03019774647903],[-93.64245968506935,42.02964111342264],[-93.63906685461302,42.02053832910084],[-93.63776718154651,42.02613950310158],[-93.65416236098648,42.04035836367488],[-93.65663272138035,42.03037955870489],[-93.64008241386604,42.03888809951444],[-93.65189276256294,42.02400207188781],[-93.65363977547736,42.02141359543868],[-93.6482465259507,42.02880427205083],[-93.63790295245995,42.02400125657554],[-93.64674088133955,42.03520523689212],[-93.65109459095153,42.04619219403896],[-93.64966024164463,42.03484502913715],[-93.66217289646052,42.03218470412195],[-93.64488329815273,42.04230148679133],[-93.63829058612512,42.01982899610905],[-93.64655450087994,42.05286294925864],[-93.64450161244905,42.02893842842994],[-93.6595612762784,42.0253173107016],[-93.64692839444731,42.05538651540083],[-93.64908487917242,42.03420437243337],[-93.6593636235749,42.02305267555917],[-93.63094226069811,42.02616261227509],[-93.64666303975817,42.01384136005286],[-93.65446588844581,42.03242023351352],[-93.64662858396221,42.03755928460194],[-93.63991690316055,42.04051635297962],[-93.62566633386341,42.04030096957275],[-93.64314733547194,42.01782812835148],[-93.64710388523741,42.03173830005366],[-93.65135677606057,42.02657574373226],[-93.6515330646567,42.03585715391262],[-93.66016513972525,42.04123432854973],[-93.65061331067196,42.02594856768472],[-93.6540519219438,42.02839950876485],[-93.65683700773911,42.01611387598884],[-93.64266325685595,42.01786613911536],[-93.66687577781248,42.01806952086115],[-93.64665629540141,42.01617866826113],[-93.65540437058884,42.0307919960532],[-93.63979536948018,42.03471821956017],[-93.66004333661701,42.02964863700712],[-93.65117805864929,42.04351279620267],[-93.64504709008659,42.02275926560753],[-93.62419851112597,42.01675220259904],[-93.63196532448745,42.02903991148908],[-93.66232115298365,42.04065291438015],[-93.65065059258011,42.02408374891927],[-93.6613000149659,42.03595984232477],[-93.64174988568908,42.03062927817143],[-93.64407324913101,42.01523859864701],[-93.6566034799127,42.04518880104028],[-93.64940125632799,42.02723774776455],[-93.66055450799649,42.00773116879538],[-93.64011710300898,42.045227287845],[-93.66350486470631,42.02860057705685],[-93.66124419794276,42.04271914464758],[-93.64770089221966,42.03117993172612],[-93.66023741747753,42.03253898808399],[-93.66087696669287,42.02005376947857],[-93.66343634331875,42.03266762582579],[-93.65359551676333,42.01385654175425],[-93.66257456598683,42.02369390152805],[-93.66157645791864,42.03746839572609],[-93.65190597596941,42.02331142855277],[-93.65503791295137,42.01947215460196],[-93.6546928924945,42.03907943930744],[-93.63998316301353,42.04451205337774],[-93.63726536481664,42.03810435239446],[-93.64383749972764,42.02708490258149],[-93.65453358368778,42.01864538437088],[-93.64477089801176,42.03137411623586],[-93.64646599270517,42.02586643468526],[-93.64774878458297,42.03837801258191],[-93.63358156188522,42.03145153875656],[-93.65851813436515,42.04398142066604],[-93.668000534995,42.02463133410139],[-93.6534388198463,42.02922648454344],[-93.67134494443674,42.02466827354478],[-93.65134482408017,42.02784885007838],[-93.65266116527755,42.03687116801969],[-93.64678813768923,42.04189794131325],[-93.64468497526946,42.02295327455133],[-93.65014906646816,42.04248538884248],[-93.63969545531965,42.03294469261938],[-93.66753157699762,42.03019075655862],[-93.66183287726646,42.03020645599442],[-93.66305423746944,42.03555013647938],[-93.65520529284551,42.02664721729346],[-93.66034937207641,42.03403112347813],[-93.64417860532804,42.03598963065671],[-93.6251636108147,42.00832002538936],[-93.65965248566074,42.01287872118151],[-93.64964704956866,42.03495957603369],[-93.64476143240226,42.03336452250212],[-93.64893855321785,42.0275235025207],[-93.64627739455933,41.99747031689078],[-93.64158234350624,42.02078358696143],[-93.63139191296892,42.03467558000154],[-93.66010373716767,42.01567513735881],[-93.65177632028863,42.03148086923963],[-93.62975638238066,42.03658414749151],[-93.64365581282142,42.0366341837249],[-93.63841512735871,42.03119593764789],[-93.63709464012119,42.01992588084798],[-93.65144495121199,42.04412123838886],[-93.65251715293005,42.01755779672933],[-93.6375182695697,42.02824149487279],[-93.64856925363621,42.01335418748121],[-93.66385329844232,42.02542949202119],[-93.64155391103155,42.00968418872566],[-93.64847227596526,42.03316243448214],[-93.64935674365697,42.03234072687453],[-93.64138736238752,42.03102450747329],[-93.65273301257619,42.03468985820458],[-93.64439370631298,42.03815088723709],[-93.63709231509135,42.03412067464043],[-93.63475784236847,42.01687094472068],[-93.65620363004901,42.02365958726805],[-93.64494614305195,42.03877055697877],[-93.65782027287035,42.02775340283096],[-93.66123941254493,42.02362588207948],[-93.64534201844987,42.02451566521785],[-93.64478361407232,42.02249226713757],[-93.64489909697944,42.02640163992469],[-93.64560059327037,42.03335506359728],[-93.6511190318799,42.04278969096464],[-93.6639818853687,42.02370044312023],[-93.65411521208146,42.04145198373718],[-93.65142930662527,42.03015074149553],[-93.64205094040011,42.03175497243342],[-93.65574940439971,42.02283277380066],[-93.65293892923272,42.01799427813623],[-93.65290658114101,42.01903693287153],[-93.64768387131127,42.02774820041022],[-93.65067205397156,42.03037926497147],[-93.6375599518676,42.04099107639433],[-93.65293926346725,42.02301273099079],[-93.65073971454218,42.0113966886555],[-93.64200474358779,42.02149014022407],[-93.6577053360576,42.04747827043072],[-93.64754527231385,42.03964268604967],[-93.66566192019002,42.03696961751579],[-93.6582269677692,42.03240872601754],[-93.65644508314686,42.03903655337491],[-93.65298573709514,42.02294515744232],[-93.66037365349858,42.02220587324098],[-93.64875197362726,42.03153364542094],[-93.64188556445319,42.02811967798059],[-93.62743250328067,42.04612729502355],[-93.65613394723779,42.03464629289397],[-93.65071723616587,42.01189413208107],[-93.65813328645197,42.01801541906202],[-93.64962326517627,42.01920635502535],[-93.6381415226824,42.04391006628726],[-93.64665570810524,42.03029286381162],[-93.64749456004283,42.01505059624],[-93.64703942689911,42.02101095723089],[-93.65509491534903,42.01860575054767],[-93.64798861814701,42.02002032816431],[-93.64993556261319,42.01939703960476],[-93.64644968959006,42.03259961796257],[-93.66391452022451,42.00029947958966],[-93.63725346868783,42.031752107785],[-93.66386808734994,42.02026733469143],[-93.6560308870782,42.02758994302852],[-93.64661785644522,42.0334405515818],[-93.65086534307011,42.03891615594566],[-93.64179330328091,42.02943549265476],[-93.65078786265661,42.02328055555461],[-93.64973034564305,42.02340058241616],[-93.65570338527428,42.03428205220708],[-93.65268144919823,42.00782838509885],[-93.64257933687429,42.03380885776128],[-93.65256792876158,42.01052553291677],[-93.65920429958049,42.0252550351666],[-93.67045600297692,42.02829740289525],[-93.66165839541739,42.03346431230558],[-93.65838151113225,42.02533558386455],[-93.6428514379899,42.04518848910482],[-93.65512552266129,42.02706957602482],[-93.66101897285763,42.04445746692558],[-93.64468496094547,42.02738562224537],[-93.66885063653424,42.01765999925673],[-93.65988782347584,42.02611324657071],[-93.65202846033883,42.00891170161994],[-93.66937313887567,42.03469093273009],[-93.64109637302742,42.03184126116727],[-93.65112423111796,42.01807940935943],[-93.65224072408583,42.03889254510609],[-93.66283825031186,42.02184388992568],[-93.66342499016994,42.03653473370635],[-93.66070571510903,42.01332680281977],[-93.66552867101456,42.02011690145558],[-93.65493495109065,42.03245546178218],[-93.64761679114466,42.03094543128057],[-93.64972581626884,42.05467296949104],[-93.64771146289614,42.02112123552705],[-93.65069811729082,42.03434228410828],[-93.64038275022233,42.0161112744194],[-93.64579992674997,42.01959900318268],[-93.65384825945657,42.01339974628482],[-93.671557429167,42.0226481760162],[-93.6630964531638,42.01296324158179],[-93.64574191654903,42.02273904850715],[-93.66527475419839,42.04076974959089],[-93.65075326634312,42.03311244643162],[-93.66724481024896,42.0177503901044],[-93.64687616512069,42.02600390974241],[-93.65557059748197,42.02361546106462],[-93.66112549886184,42.03316262699264],[-93.6432659860078,42.0307335490084],[-93.65001044417319,42.02284235505901],[-93.66149541691313,42.02977617848505],[-93.64035771427224,42.03218030036266],[-93.64594144522545,42.03458935108918],[-93.65509258780739,42.03764606946429],[-93.65917171363408,42.0334576725016],[-93.64616736664502,42.03227041584138],[-93.63967017934021,42.01701817529456],[-93.64869478600014,42.03791699457249],[-93.64110166036663,42.03848797959191],[-93.65672486250088,42.0358649979842],[-93.64925014703617,42.01322893022214],[-93.62698720352748,42.01498562346726],[-93.64967244916005,42.02105413506244],[-93.65069560797646,42.030055883792],[-93.64484378006317,42.0210436067428],[-93.63607033455025,42.02832044548255],[-93.63981436828769,42.02828348772313],[-93.6494698944272,42.00891908997824],[-93.64419725246965,42.04550215621207],[-93.65594179494299,42.03404184257167],[-93.65371855337753,42.03826761066954],[-93.66423035199885,42.02548007128389],[-93.6614048381664,42.02451095132228],[-93.63731495261305,42.03260035336667],[-93.6528010439043,42.0277446279992],[-93.64088946010342,42.04146061451853],[-93.62995605460111,42.03716002423425],[-93.64752859578927,42.02200594667723],[-93.65429076093815,42.01858048923032],[-93.67183755121548,42.02771090049019],[-93.65123634896034,42.03448054621512],[-93.64712616121301,42.03152688695411],[-93.65371599268835,42.03581362881523],[-93.63373437742929,42.01988866914852],[-93.64690091653986,42.02171824217652],[-93.66564040664069,42.02615359181473],[-93.66230623465026,42.0352609473529],[-93.66370197482105,42.02783147538175],[-93.64893444195171,42.01533159526087],[-93.65398825491961,42.02559392787523],[-93.65353406129935,42.02898993174899],[-93.64765498873788,42.03803771109439],[-93.63230210116443,42.04321338122566],[-93.64542123615772,42.03632765578089],[-93.63856241888207,42.02487158176019],[-93.66307722620806,42.03442050970741],[-93.65942549601122,42.03979756396793],[-93.65094961250817,42.02477621334581],[-93.66130046973728,42.02472198073344],[-93.66456208036649,42.04179455226112],[-93.66698717514463,42.02078641168179],[-93.66240826690525,42.03368812002345],[-93.66058299049435,42.02956576734011],[-93.65754378567293,42.03431726895354],[-93.65585106942325,42.01183592718089],[-93.64441857918507,42.03671326926096],[-93.6501900658281,42.0204028347158],[-93.65169356024384,42.04909445869507],[-93.63704669283834,42.01820729536448],[-93.66426059995804,42.02719437293445],[-93.63245896272919,42.04722110296298],[-93.67115575268809,42.02119982489671],[-93.63990297575576,42.01570565898229],[-93.64745464916992,42.01981640218963],[-93.65377554129218,42.04042816351963],[-93.64627530743378,42.01405655638241],[-93.66462681110464,42.03105458728758],[-93.64096290708177,42.02770119145863],[-93.65565554996294,42.03633372144742],[-93.65279751069315,42.03957952079066],[-93.63840324700558,42.02397345929988],[-93.65122086503898,42.01448584368236],[-93.65597857264157,42.0234000927681],[-93.65580891380812,42.04412905383124],[-93.64880822314859,42.02502665788823],[-93.64649145568563,42.03533714301069],[-93.65148770851957,42.03675479659921],[-93.64549675308686,42.03161709224027],[-93.65262662972323,42.04613198672258],[-93.64335709437852,42.0311183480916],[-93.63015904876058,42.0298868920399],[-93.65589523268447,42.02504973310993],[-93.64581689946628,42.03587805137249],[-93.64718735947604,42.03180902564857],[-93.67000002111831,42.02956067408906],[-93.64596631513274,42.01971325390249],[-93.63635202399345,42.04313621161526],[-93.6409153166999,42.0172818184398],[-93.65639103511479,42.04055909865505],[-93.6520167184286,42.03440022411115],[-93.64910412875219,42.02314258621204],[-93.63908031380392,42.04037797647815],[-93.65887329901385,42.03401681421224],[-93.63616874098334,42.007110927804],[-93.64749632199546,42.02057346152344],[-93.65473305832842,42.02154342626217],[-93.64444278201209,42.03944752616093],[-93.64832719751125,42.02749637386366],[-93.65254902841257,42.04224677920737],[-93.64430422932153,42.03209881635262],[-93.6570545846247,42.01938363889656],[-93.65200650026348,42.03222154102737],[-93.66379594726838,42.03674123997657],[-93.63568431771144,42.02572139124197],[-93.64363732970774,42.03140705252303],[-93.64581756180711,42.01387765592429],[-93.64666026071778,42.01913765953943],[-93.64085163989151,42.02844606274643],[-93.65648525255611,42.03996549254541],[-93.6558381751129,42.02549733793635],[-93.63882915987506,42.01177599278571],[-93.65229160401427,42.03192697385286],[-93.65627103916168,42.0285442106496],[-93.6291426153964,42.01520844779014],[-93.65252181282814,42.02094297803225],[-93.63723453102557,42.02448464816849],[-93.65413556031783,42.02707553503149],[-93.64429729703605,42.02235207883818],[-93.64566027338677,42.01555171264198],[-93.64462018810859,42.01593826509443],[-93.6546463062607,42.03330847545607],[-93.63785710578593,42.02595469040268],[-93.64338051084825,42.02151790535348],[-93.65925800297747,42.0137487907899],[-93.65778266018414,42.02031728553872],[-93.64093781995349,42.04933201459114],[-93.6421832513434,42.03117543327408],[-93.65257065264505,42.0356818535676],[-93.66198556198819,42.03559885113498],[-93.66035120660224,42.00463693761807],[-93.65563871058536,42.04254265691623],[-93.65976150405669,42.02640389278329],[-93.66664477774114,42.01859750628321],[-93.63695709729708,42.04811966620216],[-93.66202279262676,42.03444045909654],[-93.64090005796812,42.02568304350631],[-93.65122059275177,42.02281214037229],[-93.64905915510415,42.02784904494408],[-93.63670824073226,42.01889255920771],[-93.63857694158541,42.04019699560698],[-93.64732885826845,42.0286865944713],[-93.64375299085437,42.04706655616381],[-93.66570581528498,42.01736815546154],[-93.63726020348038,42.02597232021638],[-93.65649271780273,42.01453927756158],[-93.63270427254739,42.02230848452418],[-93.65110558501327,42.03113314005332],[-93.66730261723593,42.01445985203167],[-93.63903364213796,42.03673751531025],[-93.63426573702768,42.02764983993302],[-93.64561093595596,42.03499380818299],[-93.65273846464045,42.03861451412771],[-93.64383778807003,42.04479933410675],[-93.65349969024696,42.03705285024449],[-93.64255818128649,42.0254812427228],[-93.66037884646627,42.02454242987962],[-93.65980420332507,42.03102985426709],[-93.66437665789563,42.02765155144896],[-93.65096613201364,42.03495852681581],[-93.64986787152822,42.01460716393861],[-93.64885406190258,42.04333731454619],[-93.63333727146947,42.02785361267961],[-93.65536503887105,42.02044732346057],[-93.63575975854617,42.00915114533539],[-93.64231531086212,42.02934844130345],[-93.64146916562903,42.03366876217351],[-93.65475382134791,42.04263751608094],[-93.65250874998418,42.03247139827181],[-93.65062043254366,42.03220104244375],[-93.64454807518064,42.04589235887447],[-93.64434157470652,42.02168460121734],[-93.65953866078173,42.01737519554801],[-93.65642680118036,42.02348025725583],[-93.64661185567687,42.02394543802832],[-93.65319873353074,42.01894965459046],[-93.65965144544161,42.02502151510341],[-93.66261022236863,42.03075223930821],[-93.63409097807609,42.0225487945311],[-93.65187444443467,42.04215366325005],[-93.6485657896495,42.04596178182321],[-93.6520102050595,42.02675653346679],[-93.64299407733606,42.03853396768231],[-93.66582536535205,42.02364399884165],[-93.64539374364439,42.02324117099564],[-93.65627447668624,42.02713477503274],[-93.63626034302681,42.03936759267914],[-93.65624138373472,42.02508146083431],[-93.67750277203361,42.04623852322524],[-93.65179829115121,42.02678311506523],[-93.66096357062685,42.01975139563297],[-93.64047071109609,42.01959947497095],[-93.65661030005845,42.01734445361246],[-93.6270879293878,42.02448866682133],[-93.64580823618451,42.03089963807439],[-93.64418483110144,42.03508544309576],[-93.65206274900899,42.03701661079657],[-93.65101227166936,42.02220989887554],[-93.66115241032806,42.02055450305382],[-93.65535611192416,42.0244628056281],[-93.64498900814321,42.04151410755349],[-93.64963480212587,42.04059732428584],[-93.64541131211486,42.05137588435976],[-93.66521969877439,42.0355336470301],[-93.65442283180555,42.02246134140033],[-93.66773276869181,42.03876247792572],[-93.64461048057697,42.03357419091598],[-93.64277675367762,42.0197391885435],[-93.64417042308612,42.02137909547537],[-93.64462646648929,42.02245068082381],[-93.64714430273224,42.03181807910283],[-93.66482057456456,42.02465804177941],[-93.62536381217032,42.04716823842511],[-93.64868206977155,42.02906204877352],[-93.65252806462894,42.00474508066178],[-93.64008948950905,42.02790272033273],[-93.66338089776762,42.0327387511357],[-93.63864157127118,42.04267801530994],[-93.64943604632572,42.04366974967438],[-93.64961894889667,42.03802646685044],[-93.65430235214177,42.02341164063538],[-93.65553782493306,42.01918480436316],[-93.66708852809485,42.01955964746101],[-93.65554707049687,42.035519496951],[-93.64220326843139,42.02554457607354],[-93.64579162342447,42.03201120892434],[-93.65583530064413,42.03886551466167],[-93.6413696980473,42.03134016402338],[-93.66049878387568,42.02359980282515],[-93.66376696316098,42.03368627891101],[-93.64521295982385,42.04690303364146],[-93.6511379976028,42.03866359790388],[-93.65602881765466,42.03360437080862],[-93.65629993268512,42.00864891100328],[-93.65345159402762,42.0502144117274],[-93.64964639104949,42.02226045390596],[-93.67973885881058,42.03789942447536],[-93.66566146013689,42.02422814612979],[-93.63524243415587,42.04469855527452],[-93.64457010861922,42.02562162902548],[-93.66048817881108,42.01750160492009],[-93.65617483221058,42.03152972044343],[-93.65554655207391,42.02102612543904],[-93.64821705008474,42.02225823776661],[-93.64172455253075,42.03259810385285],[-93.63865009614665,42.03113641992384],[-93.64437720901238,42.02522565258351],[-93.6320981242151,42.02585530966393],[-93.65306880223694,42.03180284088396],[-93.65841409786624,42.02578765660404],[-93.6539766978739,42.02291495370424],[-93.65243537341044,42.02362706355414],[-93.64317030372932,42.03767275935854],[-93.6413748725688,42.03311760511023],[-93.65040741918902,42.05257689785975],[-93.64141362303553,42.03536756474308],[-93.66162152117245,42.01597347830262],[-93.6468268336809,42.02977670290186],[-93.66212990119476,42.01961954243944],[-93.64844374414152,42.03783499705583],[-93.65862042388578,42.03786752243123],[-93.65349729267643,42.03340513527576],[-93.65586681455501,42.02770463402981],[-93.65849060725076,42.03590454136981],[-93.64410307000117,42.03094370975938],[-93.64332756587662,42.02788969916264],[-93.63895947704735,42.01291331908472],[-93.66149450995327,42.02665422773747],[-93.65453019857799,42.01962107984208],[-93.6276107518126,42.03477634465123],[-93.65304553953214,42.03632085949835],[-93.65319894764986,42.01146980034021],[-93.64595756520723,42.04154016523561],[-93.64704301884834,42.01904397266947],[-93.64872819322476,42.025510480809],[-93.64839147993828,42.02737293117901],[-93.6443842861557,42.02341117407193],[-93.64924220526122,42.02207370451353],[-93.63776198017885,42.03901896852175],[-93.64422654019363,42.01869891730097],[-93.66858473531995,42.03427853970982],[-93.65727858218989,42.03124727469431],[-93.65265113988491,42.03133934221364],[-93.64287777896372,42.02051850668561],[-93.64901357249778,42.02748520499506],[-93.6484548025275,42.03589368862752],[-93.65860153676819,42.00904214247262],[-93.63499374394719,42.02401218460127],[-93.65251282933164,42.03040150212831],[-93.65032197216577,42.01364395195617],[-93.65151554267761,42.01317805674632],[-93.63498382525141,42.02298867982664],[-93.64388572763998,42.02684951899712],[-93.64834841350275,42.02051716016226],[-93.66902026286084,42.03776650420951],[-93.66752261966002,42.00733748851736],[-93.6747583432476,42.01873225744378],[-93.65208157174324,42.02884312675376],[-93.64523303428503,42.03306294744628],[-93.64710617698842,42.02756801286324],[-93.64718542927359,42.02911202602257],[-93.66622647563403,42.01626172916918],[-93.647458235738,42.02672994138228],[-93.63659538817227,42.03008609709237],[-93.65113112800348,42.05498916112399],[-93.64696549866974,42.03004546083468],[-93.64260821962294,42.02724388409372],[-93.64566618957873,42.03548670878293],[-93.63804542649849,42.01455535760908],[-93.66159848371211,42.02451530798715],[-93.6452559326175,42.03312394619343],[-93.6526624575925,42.01670549064074],[-93.64171526273066,42.04240890086618],[-93.64148983208177,42.02246383790619],[-93.65100854103189,42.03559695010561],[-93.65524300620437,42.02027505583703],[-93.67658255509883,42.03098695709748],[-93.65043710517239,42.03681135478349],[-93.65500363303187,42.03818400347808],[-93.65261313217522,42.03103009528945],[-93.64029882804998,42.02573155120461],[-93.66315732896882,42.01305385571874],[-93.63565995715948,42.03644946416561],[-93.65136702036166,42.01447799571763],[-93.66829164262295,42.01382033167471],[-93.64842891033911,42.03271302477575],[-93.6530102954806,42.03629037109741],[-93.66408629199147,42.01504143249767],[-93.65566369126709,42.04169267713687],[-93.6333083302078,42.03210042283497],[-93.65126347314734,42.00924996166255],[-93.63794376640966,42.02513411020201],[-93.6509595720007,42.03861115196874],[-93.66034744297937,42.03224007494623],[-93.64501153273025,42.03512637364847],[-93.64787750500818,42.03386609453965],[-93.65471558100698,42.02777587195186],[-93.63206653406706,42.03471193470818],[-93.64349163286303,42.0456447523211],[-93.6560549927006,42.02259740211498],[-93.64023507902856,42.02143678278974],[-93.65505771988521,42.02360379955235],[-93.63645043694774,42.02055907497251],[-93.65325341182108,42.03263360255728],[-93.63648109786089,42.03291552619756],[-93.64101370609144,42.02200022605398],[-93.65705072534941,42.03857883142112],[-93.64245268800767,42.02747868309692],[-93.633534987723,42.03171177482101],[-93.68251352444798,42.02450955296938],[-93.65650990590728,42.01429658857349],[-93.65322373883076,42.0194344886813],[-93.64135491732507,42.03677854480445],[-93.64744056845919,42.01538726796354],[-93.66663056701353,42.03919182030852],[-93.65720636148203,42.0297117447375],[-93.64749919457462,42.04425295720031],[-93.66518201239803,42.04436886045901],[-93.64552992104177,42.01388749947705],[-93.64099679100349,42.03825184287753],[-93.64740178512037,42.03964554944122],[-93.63982034310962,42.05467780809045],[-93.64385728650116,42.0108004484944],[-93.65239408011936,41.99612599788983],[-93.66803149280854,42.03157004133327],[-93.64986574323747,42.02675734248169],[-93.650673286867,42.03507495409871],[-93.63321244581704,42.02841168477019],[-93.65251457212629,42.03271837595292],[-93.6585524887784,42.03500005771909],[-93.6497068169509,42.03240177072282],[-93.65352089487553,42.02081442706299],[-93.66368045164702,42.03706942396191],[-93.64515386609524,42.02496651012951],[-93.65700377012661,42.03256633202249],[-93.65164878929551,42.0303289146169],[-93.64541984842272,42.0097328462051],[-93.64630503664834,42.02339258482183],[-93.64185347006386,42.0269199988449],[-93.65432285044882,42.04065151658755],[-93.63845622955692,42.02892218893386],[-93.63484738550774,42.03247407043324],[-93.64782106474777,42.04140503157296],[-93.64659552358502,42.03716671361983],[-93.63706908144783,42.03466154224743],[-93.63393306958635,42.01367442456849],[-93.65473503982193,42.02986187368045],[-93.64655730824927,42.04144988671787],[-93.66095789361601,42.01559349983778],[-93.63963849760921,42.01872906596817],[-93.6470853068509,42.04430500625746],[-93.66330055811443,42.02651281215935],[-93.63800388392265,42.03028222356247],[-93.65130335180083,42.03792686622764],[-93.65429998986268,42.02126715609812],[-93.65946828713966,42.02453517641397],[-93.65976948469029,42.03165830272437],[-93.64743893228547,42.01545306010463],[-93.64497137297336,42.01040622799057],[-93.64926163910624,42.01931659814777],[-93.64139137957943,42.0317806119387],[-93.65724545593081,42.03047851880506],[-93.66840381482244,42.01706120313559],[-93.64757119012803,42.02785492543299],[-93.66413357825331,42.02138298030508],[-93.66730918600001,42.00901365279706],[-93.6537310646209,42.03155012422383],[-93.64643370488277,42.01339105341803],[-93.63310991250081,42.02361370472858],[-93.65241926715706,42.04791073935908],[-93.65079813034482,42.02938127170002],[-93.63803851837568,42.02378453915039],[-93.64612039772837,42.03206480834454]],null,null,{\"duration\":200,\"colorRange\":[\"red\",\"yellow\",\"blue\"],\"radiusRange\":[10,20],\"pointerEvents\":\"all\",\"resizetoCount\":false,\"tooltip\":\"Count \",\"radius\":20,\"extraJS\":\"function(d) { return d.length; }\",\"opacity\":0.5}]}],\"limits\":{\"lat\":[41.99140150533729,42.05538651540083],\"lng\":[-93.68518039134334,-93.61922911848895]}},\"evals\":[\"calls.1.args.3.extraJS\"],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHistory.html","id":null,"dir":"Reference","previous_headings":"","what":"Add History Plugin — addHistory","title":"Add History Plugin — addHistory","text":"plugin enables tracking map movements history similar web browser. default, simple pair buttons – back forward.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHistory.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add History Plugin — addHistory","text":"","code":"addHistory(map, layerId = NULL, options = historyOptions())"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHistory.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add History Plugin — addHistory","text":"map map widget object created leaflet layerId control id options named list options. See historyOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHistory.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add History Plugin — addHistory","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHistory.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add History Plugin — addHistory","text":"https://github.com/cscott530/leaflet-history","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHistory.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add History Plugin — addHistory","text":"","code":"library(leaflet) leaflet() %>% addTiles() %>% addHistory() {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addHistory\",\"args\":[null,{\"position\":\"topright\",\"maxMovesToSave\":10,\"backImage\":\"fa fa-caret-left\",\"forwardImage\":\"fa fa-caret-right\",\"backText\":\"\",\"forwardText\":\"\",\"backTooltip\":\"Go to Previous Extent\",\"forwardTooltip\":\"Go to Next Extent\",\"backImageBeforeText\":true,\"forwardImageBeforeText\":false,\"orientation\":\"horizontal\"}]}]},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addItemContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"addItemContextmenu — addItemContextmenu","title":"addItemContextmenu — addItemContextmenu","text":"Add new contextmenu menu item","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addItemContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"addItemContextmenu — addItemContextmenu","text":"","code":"addItemContextmenu(map, option)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addItemContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"addItemContextmenu — addItemContextmenu","text":"map map widget object created leaflet option new menu item add","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addItemContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"addItemContextmenu — addItemContextmenu","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLabelgun.html","id":null,"dir":"Reference","previous_headings":"","what":"Add addLabelgun Plugin — addLabelgun","title":"Add addLabelgun Plugin — addLabelgun","text":"plugin allows avoid cluttering marker labels gives priority labels choice (higher weight).","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLabelgun.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add addLabelgun Plugin — addLabelgun","text":"","code":"addLabelgun(map, group = NULL, weight = NULL, entries = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLabelgun.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add addLabelgun Plugin — addLabelgun","text":"map map widget object created leaflet group group name layer/s label collisions avoided. see effects plugin labelOptions markers must configured either permanent = TRUE noHide = TRUE. weight optional weight markers. vector given, length match number markers corresponding groups. numeric value specified, used marker thus prioritization labels takes place. cases random integer calculated. entries numeric value, higher value relates faster insertion slower search, vice versa. default 10","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLabelgun.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add addLabelgun Plugin — addLabelgun","text":"leaflet map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLabelgun.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Add addLabelgun Plugin — addLabelgun","text":"important invoke function markers added map. Otherwise nothing happen.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLabelgun.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add addLabelgun Plugin — addLabelgun","text":"https://github.com/Geovation/labelgun","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLabelgun.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add addLabelgun Plugin — addLabelgun","text":"","code":"library(leaflet) library(leaflet.extras2) leaflet() %>% addTiles() %>% addMarkers(data = breweries91, label = ~brewery, group = \"markers\", labelOptions = labelOptions(permanent = TRUE)) %>% addLabelgun(\"markers\", 1) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addMarkers\",\"args\":[[49.71979,49.884051,49.502098,49.274716,49.861905,49.794334,49.701477,49.067436,49.070292,49.77994,49.060542,49.561804,49.595108,49.602554,49.72581,49.7202,49.644533,49.645651,49.615866,49.50683,48.900742,49.707329,49.884229,49.677827,49.450083,49.710838,49.276265,49.554706,49.882777,49.727998,49.737703,49.755953],[10.889217,11.228988,10.416021,10.928096,11.291932,11.509409,11.163238,10.34418,10.316987,11.186931,10.965571,11.368508,11.009011,11.005049,11.059662,11.056749,11.252699,11.248618,10.630027,11.428338,11.029479,10.806113,11.267583,11.252911,11.308721,11.172792,10.685605,11.22997,11.129541,11.202701,11.223148,11.175664],null,null,\"markers\",{\"interactive\":true,\"draggable\":false,\"keyboard\":true,\"title\":\"\",\"alt\":\"\",\"zIndexOffset\":0,\"opacity\":1,\"riseOnHover\":false,\"riseOffset\":250},null,null,null,null,[\"Brauerei Rittmayer\",\"Aufsesser Brauerei\",\"Brauhaus Doebler\",\"Brauerei Gundel GmbH\",\"Krug-Braeu\",\"Brauerei-Gasthof Herold\",\"Brauerei Alt Dietzhof\",\"Brauerei Hauf KG\",\"Weib's Brauhaus Dinkelsbuehl\",\"Schwanenbraeu\",\"Fuerst Carl Schlossbrauerei Ellingen\",\"Brauerei Enzensteiner\",\"Kitzmann-Braeu GmbH & Co. Kg\",\"Steinbach Braeu\",\"Brauerei Greif\",\"Brauerei Hebendanz GmbH\",\"Brauerei Friedmann\",\"Lindenbraeu\",\"Brauerei Windsheimer GmbH\",\"Buergerbraeu Hersbruck, Deinlein & Co.\",\"Hochholzer Brauhaus Poeverlein GbR\",\"Brauhaus Hoechstadt\",\"Brauerei und Gasthof Reichold GmbH\",\"Brauerei Hofmann/Nentwig GbR\",\"Leinburger Bier\",\"Brauerei Gasthof Drummer\",\"Hauff Braeu Lichtnerau GmbH & Co. KG\",\"Brauerei Wiethaler\",\"Brauerei Gasthof Ott\",\"Brauerei Penning-Zeissler\",\"Brauerei Meister\",\"Brauerei Nikl\"],{\"interactive\":false,\"permanent\":true,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null]},{\"method\":\"addLabelgun\",\"args\":[\"markers\",1,null]}],\"limits\":{\"lat\":[48.900742,49.884229],\"lng\":[10.316987,11.509409]}},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsync.html","id":null,"dir":"Reference","previous_headings":"","what":"Synchronize multiple Leaflet map — addLeafletsync","title":"Synchronize multiple Leaflet map — addLeafletsync","text":"plugin allows synchronize unsynchronize multiple leaflet maps Shiny application. can pass additional options leafletsyncOptions. information see Leaflet.Sync","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsync.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Synchronize multiple Leaflet map — addLeafletsync","text":"","code":"addLeafletsync( map, ids = NULL, synclist = \"all\", options = leafletsyncOptions() )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsync.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Synchronize multiple Leaflet map — addLeafletsync","text":"map map ids map ids synced. use synclist, may leave NULL. unique names values synclist used. synclist synchronization list. default '', creates list possible combinations ids. detailed control, named list can passed form list(m1 = c(\"m2\", \"m3\"), m2 = c(\"m1\", \"m3\"), m3 = c(\"m1\", \"m2\")), names values represent map-ids. names lists serve basis list values maps kept sync basemap. options named list options. See leafletsyncOptions. want add different options multiple maps, can wrap options named list, names map-ids. See example ./inst/examples/offset_continuous.R","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsync.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Synchronize multiple Leaflet map — addLeafletsync","text":"modified leaflet map","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsync.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Synchronize multiple Leaflet map — addLeafletsync","text":"synchronize multiple maps, map may yet initialized therefore used. Make sure use addLeafletsync maps rendered.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsync.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Synchronize multiple Leaflet map — addLeafletsync","text":"https://github.com/jieter/Leaflet.Sync","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsyncDependency.html","id":null,"dir":"Reference","previous_headings":"","what":"Add the Leaflet Sync JS dependencies — addLeafletsyncDependency","title":"Add the Leaflet Sync JS dependencies — addLeafletsyncDependency","text":"Sometimes makes sense include Leaflet Sync dependencies already synchronizing maps. example, want use `L.Sync.offsetHelper`. See example ./inst/examples/offsetHelper.R","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsyncDependency.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add the Leaflet Sync JS dependencies — addLeafletsyncDependency","text":"","code":"addLeafletsyncDependency(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsyncDependency.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add the Leaflet Sync JS dependencies — addLeafletsyncDependency","text":"map map","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsyncDependency.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add the Leaflet Sync JS dependencies — addLeafletsyncDependency","text":"modified leaflet map","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMapkeyMarkers.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Mapkey Markers — addMapkeyMarkers","title":"Add Mapkey Markers — addMapkeyMarkers","text":"Add Mapkey Markers","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMapkeyMarkers.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Mapkey Markers — addMapkeyMarkers","text":"","code":"addMapkeyMarkers( map, lng = NULL, lat = NULL, layerId = NULL, group = NULL, icon = NULL, popup = NULL, popupOptions = NULL, label = NULL, labelOptions = NULL, options = leaflet::markerOptions(), clusterOptions = NULL, clusterId = NULL, data = leaflet::getMapData(map) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMapkeyMarkers.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Mapkey Markers — addMapkeyMarkers","text":"map map add mapkey Markers . lng numeric vector longitudes, one-sided formula form ~x x variable data; default (explicitly provided), automatically inferred data looking column named lng, long, longitude (case-insensitively) lat vector latitudes formula (similar lng argument; names lat latitude used guessing latitude column data) layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. icon icon(s) markers; popup character vector HTML content popups (recommended escape text using htmlEscape() security reasons) popupOptions Vector popupOptions provide popups label character vector HTML content labels labelOptions Vector labelOptions provide label options label. Default NULL options list extra options markers. See markerOptions clusterOptions NULL, markers clustered using Leaflet.markercluster; can use markerClusterOptions() specify marker cluster options clusterId id marker cluster layer data data object argument values derived; default, data object provided leaflet() initially, can overridden","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMapkeyMarkers.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Mapkey Markers — addMapkeyMarkers","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMapkeyMarkers.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Mapkey Markers — addMapkeyMarkers","text":"https://github.com/mapshakers/leaflet-mapkey-icon","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMapkeyMarkers.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Mapkey Markers — addMapkeyMarkers","text":"","code":"library(leaflet) leaflet() %>% addTiles() %>% addMapkeyMarkers(data = breweries91, icon = makeMapkeyIcon(icon = \"mapkey\", iconSize = 30, boxShadow = FALSE, background = \"transparent\"), group = \"mapkey\", label = ~state, popup = ~village) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addMapkeyMarkers\",\"args\":[[49.71979,49.884051,49.502098,49.274716,49.861905,49.794334,49.701477,49.067436,49.070292,49.77994,49.060542,49.561804,49.595108,49.602554,49.72581,49.7202,49.644533,49.645651,49.615866,49.50683,48.900742,49.707329,49.884229,49.677827,49.450083,49.710838,49.276265,49.554706,49.882777,49.727998,49.737703,49.755953],[10.889217,11.228988,10.416021,10.928096,11.291932,11.509409,11.163238,10.34418,10.316987,11.186931,10.965571,11.368508,11.009011,11.005049,11.059662,11.056749,11.252699,11.248618,10.630027,11.428338,11.029479,10.806113,11.267583,11.252911,11.308721,11.172792,10.685605,11.22997,11.129541,11.202701,11.223148,11.175664],{\"icon\":\"mapkey\",\"color\":\"#ff0000\",\"size\":30,\"background\":\"transparent\",\"borderRadius\":\"100%\",\"hoverScale\":1.4,\"hoverEffect\":true,\"boxShadow\":false},null,\"mapkey\",{\"interactive\":true,\"draggable\":false,\"keyboard\":true,\"title\":\"\",\"alt\":\"\",\"zIndexOffset\":0,\"opacity\":1,\"riseOnHover\":false,\"riseOffset\":250},[\"Adelsdorf\",\"Aufsess\",\"Bad Windsheim\",\"Barthelmesaurach\",\"Waischenfeld\",\"Buechenbach\",\"Leutenbach\",\"Dinkelsbuehl\",\"Dinkelsbuehl\",\"Ebermannstadt\",\"Ellingen\",\"Schnaittach\",\"Erlangen\",\"Erlangen\",\"Forchheim\",\"Forchheim\",\"Graefenberg\",\"Graefenberg\",\"Gutenstetten\",\"Hersbruck\",\"Solnhofen\",\"Hoechstadt\",\"Aufsess\",\"Graefenberg\",\"Leinburg\",\"Lautenbach\",\"Lichtenau\",\"Neunhof bei Lauf a.d. Pegnitz\",\"Heiligenstadt i. Ofr.\",\"Pretzfeld\",\"Pretzfeld\",\"Pretzfeld\"],null,null,null,[\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\"],null]}],\"limits\":{\"lat\":[48.900742,49.884229],\"lng\":[10.316987,11.509409]}},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMovingMarker.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Moving Markers — addMovingMarker","title":"Add Moving Markers — addMovingMarker","text":"function expects either line point data spatial data Simple Feature. Alternatively, coordinates can also passed numeric vectors.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMovingMarker.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Moving Markers — addMovingMarker","text":"","code":"addMovingMarker( map, lng = NULL, lat = NULL, layerId = NULL, group = NULL, duration = 2000, icon = NULL, popup = NULL, popupOptions = NULL, label = NULL, labelOptions = NULL, movingOptions = movingMarkerOptions(), options = leaflet::markerOptions(), data = leaflet::getMapData(map) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMovingMarker.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Moving Markers — addMovingMarker","text":"map map add moving markers lng numeric vector longitudes, one-sided formula form ~x x variable data; default (explicitly provided), automatically inferred data looking column named lng, long, longitude (case-insensitively) lat vector latitudes formula (similar lng argument; names lat latitude used guessing latitude column data) layerId order able address moving markings individually, layerId required. none specified, one created derived current timestamp. group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. duration Duration milliseconds per line segment 2 points. Can vector single number. Default 1000 icon icon(s) markers; popup character vector HTML content popups (recommended escape text using htmlEscape() security reasons) popupOptions Vector popupOptions provide popups label character vector HTML content labels labelOptions Vector labelOptions provide label options label. Default NULL movingOptions list extra options moving markers. See movingMarkerOptions options list extra options markers. See markerOptions data data object argument values derived; default, data object provided leaflet() initially, can overridden","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMovingMarker.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Moving Markers — addMovingMarker","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMovingMarker.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Moving Markers — addMovingMarker","text":"https://github.com/ewoken/Leaflet.MovingMarker","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMovingMarker.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Moving Markers — addMovingMarker","text":"","code":"library(sf) library(leaflet) library(leaflet.extras2) crds <- data.frame(structure(c(-67.5, -68.5, -69.6, -70.5, -71.3, -72.2, -72.7, -72.9, -73, -72.4, -70.8, 15.8, 16.5, 17.3, 17.8, 18.3, 18.6, 19.8, 21.6, 23.5, 25.1, 27.9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), dim = c(11L, 3L), dimnames = list(NULL, c(\"X\", \"Y\", \"L1\")))) df <- st_sf(st_sfc(st_linestring(as.matrix(crds), dim=\"XYZ\"), crs = 4326)) st_geometry(df) <- \"geometry\"; df <- st_zm(df) leaflet() %>% addTiles() %>% addPolylines(data = df) %>% addMovingMarker(data = df, movingOptions = movingMarkerOptions(autostart = TRUE, loop = TRUE), label=\"I am a pirate!\", popup=\"Arrr\") {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addPolylines\",\"args\":[[[[{\"lng\":[-67.5,-68.5,-69.59999999999999,-70.5,-71.3,-72.2,-72.7,-72.90000000000001,-73,-72.40000000000001,-70.8],\"lat\":[15.8,16.5,17.3,17.8,18.3,18.6,19.8,21.6,23.5,25.1,27.9]}]]],null,null,{\"interactive\":true,\"className\":\"\",\"stroke\":true,\"color\":\"#03F\",\"weight\":5,\"opacity\":0.5,\"fill\":false,\"fillColor\":\"#03F\",\"fillOpacity\":0.2,\"smoothFactor\":1,\"noClip\":false},null,null,null,{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null]},{\"method\":\"addMovingMarker\",\"args\":[[[15.8,-67.5],[16.5,-68.5],[17.3,-69.59999999999999],[17.8,-70.5],[18.3,-71.3],[18.6,-72.2],[19.8,-72.7],[21.6,-72.90000000000001],[23.5,-73],[25.1,-72.40000000000001],[27.9,-70.8]],2000,null,\"_1725225073.30461\",null,{\"interactive\":true,\"draggable\":false,\"keyboard\":true,\"title\":\"\",\"alt\":\"\",\"zIndexOffset\":0,\"opacity\":1,\"riseOnHover\":false,\"riseOffset\":250,\"autostart\":true,\"loop\":true,\"pauseOnZoom\":false},\"Arrr\",null,\"I am a pirate!\",{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true}]}],\"limits\":{\"lat\":[15.8,27.9],\"lng\":[-73,-67.5]}},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherCurrent.html","id":null,"dir":"Reference","previous_headings":"","what":"Add current OpenWeatherMap Marker — addOpenweatherCurrent","title":"Add current OpenWeatherMap Marker — addOpenweatherCurrent","text":"Add current OpenWeatherMap Marker","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherCurrent.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add current OpenWeatherMap Marker — addOpenweatherCurrent","text":"","code":"addOpenweatherCurrent( map, apikey = NULL, group = NULL, layerId = NULL, options = openweatherCurrentOptions() )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherCurrent.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add current OpenWeatherMap Marker — addOpenweatherCurrent","text":"map map widget object created leaflet() apikey valid Openweathermap-API key. group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. layerId layer id options List options. See openweatherCurrentOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherCurrent.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add current OpenWeatherMap Marker — addOpenweatherCurrent","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherCurrent.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Add current OpenWeatherMap Marker — addOpenweatherCurrent","text":"current weather icons appear beginning zoom level 9 used Shiny, click icon update Shiny input input$MAPID_owm_click.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherCurrent.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add current OpenWeatherMap Marker — addOpenweatherCurrent","text":"https://github.com/trafficonese/leaflet-openweathermap","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherCurrent.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add current OpenWeatherMap Marker — addOpenweatherCurrent","text":"","code":"if (FALSE) { # \\dontrun{ library(leaflet) library(leaflet.extras2) Sys.setenv(\"OPENWEATHERMAP\" = 'Your_API_Key') leaflet() %>% addTiles() %>% setView(9, 50, 9) %>% addOpenweatherCurrent(options = openweatherCurrentOptions( lang = \"en\", popup = TRUE)) } # }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherTiles.html","id":null,"dir":"Reference","previous_headings":"","what":"Add OpenWeatherMap Tiles — addOpenweatherTiles","title":"Add OpenWeatherMap Tiles — addOpenweatherTiles","text":"Add OpenWeatherMap Tiles","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherTiles.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add OpenWeatherMap Tiles — addOpenweatherTiles","text":"","code":"addOpenweatherTiles( map, apikey = NULL, layers = NULL, group = NULL, layerId = NULL, opacity = 0.5, options = openweatherOptions() )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherTiles.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add OpenWeatherMap Tiles — addOpenweatherTiles","text":"map map widget object created leaflet() apikey valid OpenWeatherMap-API key. layers character vector layers wish add map. following layers currently possible c(\"clouds\", \"cloudsClassic\", \"precipitation\", \"precipitationClassic\", \"rain\", \"rainClassic\", \"snow\", \"pressure\", \"pressureContour\", \"temperature\", \"wind\"). group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. layerId layer id opacity opacity layer options List options. See openweatherOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherTiles.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add OpenWeatherMap Tiles — addOpenweatherTiles","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherTiles.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Add OpenWeatherMap Tiles — addOpenweatherTiles","text":"box legend image available Pressure, Precipitation Classic, Clouds Classic, Rain Classic, Snow, Temperature Wind Speed. Please add images need .","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherTiles.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add OpenWeatherMap Tiles — addOpenweatherTiles","text":"https://github.com/trafficonese/leaflet-openweathermap","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherTiles.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add OpenWeatherMap Tiles — addOpenweatherTiles","text":"","code":"if (FALSE) { # \\dontrun{ library(leaflet) library(leaflet.extras2) Sys.setenv(\"OPENWEATHERMAP\" = 'Your_API_Key') leaflet() %>% addTiles() %>% setView(9, 50, 6) %>% addOpenweatherTiles(layers = \"wind\") } # }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addPlayback.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Playback to Leaflet — addPlayback","title":"Add Playback to Leaflet — addPlayback","text":"LeafletPlayback plugin provides ability replay GPS Points form POINT Simple Features. Rather simply animating marker along polyline, speed animation synchronized clock. playback functionality similar video player; can start stop playback change playback speed.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addPlayback.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Playback to Leaflet — addPlayback","text":"","code":"addPlayback( map, data, time = \"time\", icon = NULL, pathOpts = pathOptions(), popup = NULL, label = NULL, popupOptions = NULL, labelOptions = NULL, options = playbackOptions(), name = NULL )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addPlayback.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Playback to Leaflet — addPlayback","text":"map map widget data data must POINT Simple Feature list POINT Simple Feature's time column. time column name time column. Default \"time\". icon icon can created makeIcon pathOpts style CircleMarkers pathOptions popup formula column names popup content label formula column names label content popupOptions Vector popupOptions provide popups labelOptions Vector labelOptions provide label options label. Default NULL options List additional options. See playbackOptions name formula column names feature name","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addPlayback.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Playback to Leaflet — addPlayback","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addPlayback.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Add Playback to Leaflet — addPlayback","text":"used Shiny, can listen 2 events `map-ID`+\"_pb_mouseover\" `map-ID`+\"_pb_click\"","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addPlayback.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Playback to Leaflet — addPlayback","text":"https://github.com/hallahan/LeafletPlayback","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addPlayback.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Playback to Leaflet — addPlayback","text":"","code":"if (FALSE) { # \\dontrun{ library(leaflet) library(leaflet.extras2) library(sf) ## Single Elements data <- sf::st_as_sf(leaflet::atlStorms2005[1,]) data <- st_cast(data, \"POINT\") data$time = as.POSIXct( seq.POSIXt(Sys.time() - 1000, Sys.time(), length.out = nrow(data))) data$label <- as.character(data$time) leaflet() %>% addTiles() %>% addPlayback(data = data, label = ~label, popup = ~sprintf(\"I am a popup for %s<\/b> and %s<\/b>\", Name, label), popupOptions = popupOptions(offset = c(0, -35)), options = playbackOptions(radius = 3, tickLen = 36000, speed = 50, maxInterpolationTime = 1000), pathOpts = pathOptions(weight = 5)) ## Multiple Elements data <- sf::st_as_sf(leaflet::atlStorms2005[1:5,]) data$Name <- as.character(data$Name) data <- st_cast(data, \"POINT\") data$time <- unlist(lapply(rle(data$Name)$lengths, function(x) { seq.POSIXt(as.POSIXct(Sys.Date()-2), as.POSIXct(Sys.Date()), length.out = x) })) data$time <- as.POSIXct(data$time, origin=\"1970-01-01\") data$label <- paste0(\"Time: \", data$time) data$popup = sprintf(\"

    Customized Popup<\/h3>Name<\/b>: %s
    Time<\/b>: %s\", data$Name, data$time) data <- split(data, f = data$Name) leaflet() %>% addTiles() %>% addPlayback(data = data, popup = ~popup, label = ~label, popupOptions = popupOptions(offset=c(0,-35)), labelOptions = labelOptions(noHide = TRUE), options = playbackOptions(radius = 3, tickLen = 1000000, speed = 5000, maxInterpolationTime = 10000, transitionpopup = FALSE, transitionlabel = FALSE, playCommand = \"Let's go\", stopCommand = \"Stop it!\", color = c(\"red\",\"green\",\"blue\", \"orange\",\"yellow\")), pathOpts = pathOptions(weight = 5)) } # }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addReachability.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Isochrones to Leaflet — addReachability","title":"Add Isochrones to Leaflet — addReachability","text":"leaflet plugin shows areas reachability based time distance different modes travel using openrouteservice isochrones API. Based leaflet.reachability plugin","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addReachability.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Isochrones to Leaflet — addReachability","text":"","code":"addReachability(map, apikey = NULL, options = reachabilityOptions())"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addReachability.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Isochrones to Leaflet — addReachability","text":"map map widget apikey valid Openrouteservice API-key. Can obtained Openrouteservice options list options. See reachabilityOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addReachability.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Isochrones to Leaflet — addReachability","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addReachability.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Add Isochrones to Leaflet — addReachability","text":"used Shiny, 3 events update certain shiny Input: reachability:displayed updates input$MAPID_reachability_displayed reachability:delete updates input$MAPID_reachability_delete reachability:error updates input$MAPID_reachability_error","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addReachability.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Isochrones to Leaflet — addReachability","text":"https://github.com/traffordDataLab/leaflet.reachability","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addReachability.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Isochrones to Leaflet — addReachability","text":"","code":"if (FALSE) { # \\dontrun{ library(leaflet) library(leaflet.extras2) Sys.setenv(\"OPRS\" = 'Your_API_Key') leaflet() %>% addTiles() %>% setView(8, 50, 10) %>% addReachability() } # }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebar.html","id":null,"dir":"Reference","previous_headings":"","what":"Add a Sidebar Leaflet Control — addSidebar","title":"Add a Sidebar Leaflet Control — addSidebar","text":"sidebar HTML must created sidebar_tabs sidebar_pane leafletOutput called.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebar.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add a Sidebar Leaflet Control — addSidebar","text":"","code":"addSidebar(map, id = \"sidebar\", options = list(position = \"left\"), ns = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebar.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add a Sidebar Leaflet Control — addSidebar","text":"map leaflet map widget id Id sidebar-div. Must match id sidebar_tabs options named list option position, either left right. ns namespace function, used Shiny modules.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebar.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add a Sidebar Leaflet Control — addSidebar","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebar.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add a Sidebar Leaflet Control — addSidebar","text":"https://github.com/Turbo87/sidebar-v2","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebar.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add a Sidebar Leaflet Control — addSidebar","text":"","code":"if (FALSE) { # \\dontrun{ library(shiny) # run example app showing a single sidebar runApp(paste0(system.file(\"examples\", package = \"leaflet.extras2\"), \"/sidebar_app.R\")) # run example app showing two sidebars runApp(paste0(system.file(\"examples\", package = \"leaflet.extras2\"), \"/multi_sidebar_app.R\")) } # }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebyside.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Side by Side View — addSidebyside","title":"Add Side by Side View — addSidebyside","text":"Leaflet control add split screen compare two map overlays. plugin works Panes, see example.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebyside.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Side by Side View — addSidebyside","text":"","code":"addSidebyside( map, layerId = NULL, leftId = NULL, rightId = NULL, options = list(thumbSize = 42, padding = 0) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebyside.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Side by Side View — addSidebyside","text":"map map widget layerId layer id, needed removeSidebyside leftId layerId Tile layer visible left side rightId layerId Tile layer visible right side options list options. Currently thumbSize padding can changed.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebyside.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Side by Side View — addSidebyside","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebyside.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Add Side by Side View — addSidebyside","text":"currently working correctly baseGroups defined addLayersControl.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebyside.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Side by Side View — addSidebyside","text":"https://github.com/digidem/leaflet-side--side","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebyside.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Side by Side View — addSidebyside","text":"","code":"library(leaflet) library(leaflet.extras2) leaflet(quakes) %>% addMapPane(\"left\", zIndex = 0) %>% addMapPane(\"right\", zIndex = 0) %>% addTiles(group = \"base\", layerId = \"baseid\", options = pathOptions(pane = \"right\")) %>% addProviderTiles(providers$CartoDB.DarkMatter, group=\"carto\", layerId = \"cartoid\", options = pathOptions(pane = \"left\")) %>% addCircleMarkers(data = breweries91[1:15,], color = \"blue\", group = \"blue\", options = pathOptions(pane = \"left\")) %>% addCircleMarkers(data = breweries91[15:20,], color = \"yellow\", group = \"yellow\") %>% addCircleMarkers(data = breweries91[15:30,], color = \"red\", group = \"red\", options = pathOptions(pane = \"right\")) %>% addLayersControl(overlayGroups = c(\"blue\",\"red\", \"yellow\")) %>% addSidebyside(layerId = \"sidecontrols\", rightId = \"baseid\", leftId = \"cartoid\") {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"createMapPane\",\"args\":[\"left\",0]},{\"method\":\"createMapPane\",\"args\":[\"right\",0]},{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",\"baseid\",\"base\",{\"interactive\":true,\"className\":\"\",\"pane\":\"right\",\"attribution\":\"©
    OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addProviderTiles\",\"args\":[\"CartoDB.DarkMatter\",\"cartoid\",\"carto\",{\"interactive\":true,\"className\":\"\",\"pane\":\"left\"}]},{\"method\":\"addCircleMarkers\",\"args\":[[49.71979,49.884051,49.502098,49.274716,49.861905,49.794334,49.701477,49.067436,49.070292,49.77994,49.060542,49.561804,49.595108,49.602554,49.72581],[10.889217,11.228988,10.416021,10.928096,11.291932,11.509409,11.163238,10.34418,10.316987,11.186931,10.965571,11.368508,11.009011,11.005049,11.059662],10,null,\"blue\",{\"interactive\":true,\"className\":\"\",\"pane\":\"left\",\"stroke\":true,\"color\":\"blue\",\"weight\":5,\"opacity\":0.5,\"fill\":true,\"fillColor\":\"blue\",\"fillOpacity\":0.2},null,null,null,null,null,{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null]},{\"method\":\"addCircleMarkers\",\"args\":[[49.72581,49.7202,49.644533,49.645651,49.615866,49.50683],[11.059662,11.056749,11.252699,11.248618,10.630027,11.428338],10,null,\"yellow\",{\"interactive\":true,\"className\":\"\",\"stroke\":true,\"color\":\"yellow\",\"weight\":5,\"opacity\":0.5,\"fill\":true,\"fillColor\":\"yellow\",\"fillOpacity\":0.2},null,null,null,null,null,{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null]},{\"method\":\"addCircleMarkers\",\"args\":[[49.72581,49.7202,49.644533,49.645651,49.615866,49.50683,48.900742,49.707329,49.884229,49.677827,49.450083,49.710838,49.276265,49.554706,49.882777,49.727998],[11.059662,11.056749,11.252699,11.248618,10.630027,11.428338,11.029479,10.806113,11.267583,11.252911,11.308721,11.172792,10.685605,11.22997,11.129541,11.202701],10,null,\"red\",{\"interactive\":true,\"className\":\"\",\"pane\":\"right\",\"stroke\":true,\"color\":\"red\",\"weight\":5,\"opacity\":0.5,\"fill\":true,\"fillColor\":\"red\",\"fillOpacity\":0.2},null,null,null,null,null,{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null]},{\"method\":\"addLayersControl\",\"args\":[[],[\"blue\",\"red\",\"yellow\"],{\"collapsed\":true,\"autoZIndex\":true,\"position\":\"topright\"}]},{\"method\":\"addSidebyside\",\"args\":[\"sidecontrols\",\"cartoid\",\"baseid\",{\"thumbSize\":42,\"padding\":0}]}],\"limits\":{\"lat\":[48.900742,49.884229],\"lng\":[10.316987,11.509409]}},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSpinner.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Spin Plugin — addSpinner","title":"Add Spin Plugin — addSpinner","text":"Adds animated loading spinning map.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSpinner.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Spin Plugin — addSpinner","text":"","code":"addSpinner(map) startSpinner(map, options = NULL) stopSpinner(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSpinner.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Spin Plugin — addSpinner","text":"map map widget object created leaflet options Spin.js options. Named list. See http://spin.js.org","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSpinner.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Spin Plugin — addSpinner","text":"leaflet map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSpinner.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Spin Plugin — addSpinner","text":"https://github.com/makinacorpus/Leaflet.Spin https://github.com/fgnass/spin.js","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSpinner.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Spin Plugin — addSpinner","text":"","code":"library(leaflet) library(leaflet.extras2) leaflet(data = quakes) %>% addTiles() %>% addSpinner() %>% startSpinner(options = list(\"lines\" = 7, \"length\" = 20)) %>% addMarkers(~long, ~lat, popup = ~as.character(mag), label = ~as.character(mag)) %>% stopSpinner() {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"spinner\",\"args\":[true,{\"lines\":7,\"length\":20}]},{\"method\":\"addMarkers\",\"args\":[[-20.42,-20.62,-26,-17.97,-20.42,-19.68,-11.7,-28.11,-28.74,-17.47,-21.44,-12.26,-18.54,-21,-20.7,-15.94,-13.64,-17.83,-23.5,-22.63,-20.84,-10.98,-23.3,-30.2,-19.66,-17.94,-14.72,-16.46,-20.97,-19.84,-22.58,-16.32,-15.55,-23.55,-16.3,-25.82,-18.73,-17.64,-17.66,-18.82,-37.37,-15.31,-24.97,-15.49,-19.23,-30.1,-26.4,-11.77,-24.12,-18.97,-18.75,-19.26,-22.75,-21.37,-20.1,-19.85,-22.7,-22.06,-17.8,-24.2,-20.69,-21.16,-13.82,-11.49,-20.68,-17.1,-20.14,-21.96,-20.42,-15.46,-15.31,-19.86,-11.55,-23.74,-17.7,-23.54,-19.21,-12.11,-21.81,-28.98,-34.02,-23.84,-19.57,-20.12,-17.7,-19.66,-21.5,-23.64,-15.43,-15.41,-15.48,-13.36,-20.64,-19.72,-15.44,-19.73,-27.24,-18.16,-13.66,-24.57,-16.98,-26.2,-21.88,-33,-21.33,-19.44,-34.89,-20.24,-22.55,-36.95,-15.75,-16.85,-19.06,-26.11,-26.2,-26.13,-13.66,-13.47,-14.6,-18.96,-14.65,-19.9,-22.05,-19.22,-31.24,-17.93,-19.3,-26.53,-27.72,-19.19,-17.43,-17.05,-19.52,-23.71,-21.3,-16.24,-16.14,-23.95,-25.2,-18.84,-12.66,-20.65,-13.23,-29.91,-14.31,-20.1,-17.8,-21.27,-23.58,-17.9,-23.34,-15.56,-23.83,-11.8,-15.54,-20.65,-11.75,-24.81,-20.9,-11.34,-17.98,-24.34,-13.86,-35.56,-35.48,-34.2,-26,-19.89,-23.43,-18.89,-17.82,-25.68,-20.2,-15.2,-15.03,-32.22,-22.64,-17.42,-17.84,-15.02,-18.04,-24.6,-19.88,-20.3,-20.45,-17.67,-22.3,-19.85,-24.27,-15.85,-20.02,-18.56,-17.87,-24.08,-32.2,-20.36,-23.85,-24,-20.41,-17.72,-19.67,-17.7,-16.23,-26.72,-12.95,-21.97,-21.96,-20.32,-30.28,-20.2,-30.66,-16.17,-28.25,-20.47,-23.55,-20.94,-26.67,-18.13,-20.21,-18.31,-16.52,-22.36,-22.43,-20.37,-23.77,-13.65,-21.55,-16.24,-23.73,-22.34,-19.4,-24.64,-16,-19.62,-23.84,-23.54,-28.23,-21.68,-13.44,-24.96,-20.08,-24.36,-14.7,-18.2,-16.65,-18.11,-17.95,-15.5,-23.36,-19.15,-10.97,-14.85,-17.8,-22.5,-29.1,-20.32,-16.09,-19.18,-23.81,-23.79,-19.02,-20.9,-19.06,-17.88,-19.41,-26.17,-14.95,-18.73,-20.21,-21.29,-19.76,-22.09,-23.8,-20.16,-22.13,-17.44,-23.33,-24.78,-22,-19.13,-30.72,-22.32,-16.45,-17.7,-17.95,-24.4,-19.3,-21.13,-18.07,-20.6,-18.48,-13.34,-20.92,-25.31,-15.24,-16.4,-24.57,-17.94,-30.64,-18.64,-13.09,-19.68,-16.44,-21.09,-14.99,-23.3,-17.68,-22,-21.38,-32.62,-13.05,-12.93,-18.6,-21.34,-21.48,-17.4,-17.32,-18.77,-26.16,-12.59,-14.82,-21.79,-19.83,-29.5,-12.49,-26.1,-21.04,-10.78,-20.76,-11.41,-19.1,-23.91,-27.33,-12.25,-23.49,-27.18,-25.8,-27.19,-27.27,-27.1,-27.22,-27.38,-27.27,-27.54,-27.2,-27.71,-27.6,-27.38,-21.54,-27.21,-28.96,-12.01,-17.46,-30.17,-27.27,-17.79,-22.19,-17.1,-27.18,-11.64,-17.98,-16.9,-21.98,-32.14,-18.8,-26.78,-20.43,-18.3,-15.83,-23.44,-23.73,-19.89,-17.59,-19.77,-20.31,-15.33,-18.2,-15.36,-15.29,-15.36,-16.24,-13.47,-25.5,-14.32,-20.04,-28.83,-17.82,-27.23,-10.72,-27,-20.36,-27.17,-20.94,-17.46,-21.04,-23.7,-17.72,-15.87,-17.84,-13.45,-30.8,-11.63,-30.4,-26.18,-15.7,-17.95,-20.51,-15.36,-23.61,-33.2,-17.68,-22.24,-20.07,-25.04,-21.5,-14.28,-14.43,-32.7,-34.1,-19.7,-24.19,-26.6,-17.04,-22.1,-32.6,-33,-20.58,-20.61,-19.47,-17.47,-18.4,-23.33,-18.55,-26.16,-21.8,-27.63,-18.89,-20.3,-20.56,-16.1,-12.66,-21.05,-17.97,-19.83,-22.55,-22.28,-15.72,-20.85,-21.11,-25.31,-26.46,-24.09,-16.96,-23.19,-20.81,-15.03,-18.06,-19,-23.53,-18.18,-15.66,-18,-18.08,-18.05,-29.9,-20.9,-15.61,-16.03,-17.68,-31.94,-19.14,-18,-16.95,-10.79,-20.83,-32.9,-37.93,-29.09,-23.56,-19.6,-21.39,-14.85,-22.7,-32.42,-17.9,-23.58,-34.4,-17.61,-21.07,-13.84,-30.24,-18.49,-23.45,-16.04,-17.14,-22.54,-15.9,-30.04,-24.03,-18.89,-16.51,-20.1,-21.06,-13.07,-23.46,-19.41,-11.81,-11.76,-12.08,-25.59,-26.54,-20.9,-16.99,-23.46,-17.81,-15.17,-11.67,-20.75,-19.5,-26.18,-20.66,-19.22,-24.68,-15.43,-32.45,-21.31,-15.44,-13.26,-15.26,-33.57,-15.77,-15.79,-21,-16.28,-23.28,-16.1,-17.7,-15.96,-15.95,-17.56,-15.9,-15.29,-15.86,-16.2,-15.71,-16.45,-11.54,-19.61,-15.61,-21.16,-20.65,-20.33,-15.08,-23.28,-23.44,-23.12,-23.65,-22.91,-22.06,-13.56,-17.99,-23.92,-30.69,-21.92,-25.04,-19.92,-27.75,-17.71,-19.6,-34.68,-14.46,-18.85,-17.02,-20.41,-18.18,-16.49,-17.74,-20.49,-18.51,-27.28,-15.9,-20.57,-11.25,-20.04,-20.89,-16.62,-20.09,-24.96,-20.95,-23.31,-20.95,-21.58,-13.62,-12.72,-21.79,-20.48,-12.84,-17.02,-23.89,-23.07,-27.98,-28.1,-21.24,-21.24,-19.89,-32.82,-22,-21.57,-24.5,-33.03,-30.09,-22.75,-17.99,-19.6,-15.65,-17.78,-22.04,-20.06,-18.07,-12.85,-33.29,-34.63,-24.18,-23.78,-22.37,-23.97,-34.12,-25.25,-22.87,-18.48,-21.46,-28.56,-28.56,-21.3,-20.08,-18.82,-19.51,-12.05,-17.4,-23.93,-21.23,-16.23,-28.15,-20.81,-20.72,-23.29,-38.46,-15.48,-37.03,-20.48,-18.12,-18.17,-11.4,-23.1,-14.28,-22.87,-17.59,-27.6,-17.94,-17.88,-30.01,-19.19,-18.14,-23.46,-18.44,-18.21,-18.26,-15.85,-23.82,-18.6,-17.8,-10.78,-18.12,-19.34,-15.34,-24.97,-15.97,-23.47,-23.11,-20.54,-18.92,-20.16,-25.48,-18.19,-15.35,-18.69,-18.89,-17.61,-20.93,-17.6,-17.96,-18.8,-20.61,-20.74,-25.23,-23.9,-18.07,-15.43,-14.3,-18.04,-13.9,-17.64,-17.98,-25,-19.45,-16.11,-23.73,-17.74,-21.56,-20.97,-15.45,-15.93,-21.47,-21.44,-22.16,-13.36,-21.22,-26.1,-18.35,-17.2,-22.42,-17.91,-26.53,-26.5,-16.31,-18.76,-17.1,-19.28,-23.5,-21.26,-17.97,-26.02,-30.3,-24.89,-14.57,-15.4,-22.06,-25.14,-20.3,-25.28,-20.63,-19.02,-22.1,-38.59,-19.3,-31.03,-30.51,-22.55,-22.14,-25.6,-18.04,-21.29,-21.08,-20.64,-24.41,-12.16,-17.1,-21.13,-12.34,-16.43,-20.7,-21.18,-17.78,-21.57,-13.7,-12.27,-19.1,-19.85,-11.37,-20.7,-20.24,-16.4,-19.6,-21.63,-21.6,-21.77,-21.8,-21.05,-10.8,-17.9,-22.26,-22.33,-24.04,-20.4,-15,-27.87,-14.12,-23.61,-21.56,-21.19,-18.07,-26,-20.21,-28,-20.74,-31.8,-18.91,-20.45,-22.9,-18.11,-23.8,-23.42,-23.2,-12.93,-21.14,-19.13,-21.08,-20.07,-20.9,-25.04,-21.85,-19.34,-15.83,-23.73,-18.1,-22.12,-15.39,-16.21,-21.75,-22.1,-24.97,-19.36,-22.14,-21.48,-18.54,-21.62,-13.4,-15.5,-15.67,-21.78,-30.63,-15.7,-19.2,-19.7,-19.4,-15.85,-17.38,-24.33,-20.89,-18.97,-17.99,-15.8,-25.42,-21.6,-26.06,-17.56,-25.63,-25.46,-22.23,-21.55,-15.18,-13.79,-15.18,-18.78,-17.9,-18.5,-14.82,-15.65,-30.01,-13.16,-21.03,-21.4,-17.93,-20.87,-12.01,-19.1,-22.85,-17.08,-21.14,-12.23,-20.91,-11.38,-11.02,-22.09,-17.8,-18.94,-18.85,-21.91,-22.03,-18.1,-18.4,-21.2,-12,-11.7,-26.72,-24.39,-19.64,-21.35,-22.82,-38.28,-12.57,-22.24,-13.8,-21.07,-17.74,-23.87,-21.29,-22.2,-15.24,-17.82,-32.14,-19.3,-33.09,-20.18,-17.46,-17.44,-24.71,-21.53,-19.17,-28.05,-23.39,-22.33,-15.28,-20.27,-10.96,-21.52,-19.57,-23.08,-25.06,-17.85,-15.99,-20.56,-17.98,-18.4,-27.64,-20.99,-14.86,-29.33,-25.81,-14.1,-17.63,-23.47,-23.92,-20.88,-20.25,-19.33,-18.14,-22.41,-20.77,-17.95,-20.83,-27.84,-19.94,-23.6,-23.7,-30.39,-18.98,-27.89,-23.5,-23.73,-17.93,-35.94,-18.68,-23.47,-23.49,-23.85,-27.08,-20.88,-20.97,-21.71,-23.9,-15.78,-12.57,-19.69,-22.04,-17.99,-23.5,-21.4,-15.86,-23.95,-25.79,-23.75,-24.1,-18.56,-23.3,-17.03,-20.77,-28.1,-18.83,-23,-20.82,-22.95,-28.22,-27.99,-15.54,-12.37,-22.33,-22.7,-17.86,-16,-20.73,-15.45,-20.05,-17.95,-17.7,-25.93,-12.28,-20.13,-17.4,-21.59],[181.62,181.03,184.1,181.66,181.96,184.31,166.1,181.93,181.74,179.59,180.69,167,182.11,181.66,169.92,184.95,165.96,181.5,179.78,180.31,181.16,166.32,180.16,182,180.28,181.49,167.51,180.79,181.47,182.37,179.24,166.74,185.05,180.8,186,179.33,169.23,181.28,181.4,169.33,176.78,186.1,179.82,186.04,169.41,182.3,181.7,166.32,180.08,185.25,182.35,184.42,173.2,180.67,182.16,182.13,181,180.6,181.35,179.2,181.55,182.4,172.38,166.22,181.41,184.93,181.6,179.62,181.86,187.81,185.8,184.35,166.2,179.99,181.23,180.04,184.7,167.06,181.71,181.11,180.21,180.99,182.38,183.4,181.7,184.31,170.5,179.96,186.3,186.44,167.53,167.06,182.02,169.71,185.26,182.4,181.11,183.41,166.54,179.92,185.61,178.41,180.39,181.6,180.69,183.5,180.6,169.49,185.9,177.81,185.23,182.31,182.45,178.3,178.35,178.31,172.23,172.29,167.4,169.48,166.97,178.9,180.4,182.43,180.6,167.89,183.84,178.57,181.7,183.51,185.43,181.22,168.98,180.3,180.82,168.02,187.32,182.8,182.6,184.16,169.46,181.4,167.1,181.43,173.5,184.4,185.17,173.49,180.17,181.5,184.5,167.62,182.56,165.8,167.68,181.32,166.07,180,169.84,166.24,180.5,179.52,167.16,180.2,179.9,179.43,182.12,183.84,180,169.42,181.83,180.34,180.9,184.68,182.29,180.2,180.64,185.16,181.48,184.24,181.75,183.5,184.3,183,181.85,187.09,181.9,181.85,179.88,185.13,184.09,169.31,182,179.5,179.61,181.19,182.53,182.75,181.74,180.3,182.18,182.2,183.59,183.35,169.09,182.32,180.54,181.69,180.62,182.3,180.13,184.1,181.71,185.68,180.27,181.58,182.4,181.52,183.83,182.39,185.7,171.65,184.48,182.1,180.16,166.66,182.9,185.75,182.53,171.52,180.94,180.81,182.82,185.35,180.13,179.93,182.68,180.63,166.53,180.22,182.74,182.84,166,183.68,185.51,181.67,181.65,186.9,180.01,169.5,166.26,167.24,181.38,170.4,182.1,180.88,184.89,169.33,179.36,179.89,184.23,181.51,169.01,181.47,183.05,184.2,167.24,168.8,182.37,180.85,181.41,180.38,179.9,181.99,180.38,181.4,180.18,179.22,180.52,182.51,180.1,180.54,177.77,185,184.68,179.85,180.6,185.32,181.57,182.28,181.49,166.2,181.5,179.69,186.21,185.86,178.4,181.51,181.2,169.32,169.28,184.14,185.74,181.38,171.39,179.7,181.36,180.53,181.39,181.5,169.58,169.63,181.91,181.41,183.78,181.02,181.03,169.24,179.5,167.1,167.32,183.48,182.04,182.31,166.36,182.3,181.2,165.77,185.77,166.24,183.87,180,182.6,166.6,179.07,182.18,182.1,182.18,182.38,182.18,182.28,181.7,182.5,182.5,182.39,182.47,182.4,182.39,185.48,182.43,182.61,166.29,181.32,182.02,182.36,181.32,171.4,182.68,182.53,166.47,181.58,185.72,179.6,179.9,169.21,183.61,182.37,183.2,182.51,182.93,179.99,184.08,181.09,181.4,184.06,186.75,181.6,186.66,186.42,186.71,167.95,167.14,182.82,167.33,182.01,181.66,181.49,180.98,165.99,183.88,186.16,183.68,181.26,181.9,181.2,179.6,181.42,188.13,181.3,170.3,182.16,166.14,181.4,178.59,184.5,181.5,182.3,167.51,180.23,181.6,186.8,184.56,169.14,180.1,185.2,167.26,167.26,181.7,181.8,186.2,180.38,182.77,186.8,179.71,180.9,182.4,181.24,182.6,169.15,180.96,183.4,180.26,182.23,178.47,183.2,182.93,169.48,182.3,182.04,185.32,166.37,184.68,168.52,182.54,183.81,183.52,185.64,181.59,181.5,180.15,182.5,179.68,167.7,182.8,184.7,167.32,181.59,185.6,179.99,180.63,186.8,180.62,180.7,180.86,181.16,181.9,167.5,185.43,181.11,180.57,184.36,185.48,185.94,166.06,185.9,181.6,177.47,183.2,180.23,185.2,180.68,184.87,183.3,181.21,181.3,183.4,180.5,181.2,181.13,170.62,181.63,169.04,180.23,183.54,185.31,172.91,185.3,181.2,180.22,184.46,187.1,186.3,183.81,166.87,180.09,182.3,165.98,165.96,165.76,180.02,183.63,184.28,187,180.17,181.82,187.2,166.02,184.52,186.9,179.79,185.77,182.54,183.33,167.38,181.15,180.84,167.18,167.01,183.13,180.8,167.01,166.83,183.2,166.94,184.6,167.25,181.31,166.69,167.34,181.59,167.42,166.9,166.85,166.8,166.91,167.54,166.18,181.91,187.15,181.41,182.22,168.71,166.62,184.61,184.6,184.42,184.46,183.95,180.47,166.49,181.57,184.47,182.1,182.8,180.97,183.91,182.26,181.18,183.84,179.82,167.26,187.55,182.41,186.51,182.04,187.8,181.31,181.69,182.64,183.4,167.16,181.33,166.36,181.87,181.25,186.74,168.75,179.87,181.42,179.27,181.06,181.9,167.15,166.28,185,169.76,166.78,182.93,182.39,184.03,181.96,182.25,180.81,180.86,174.46,179.8,185.5,185.62,180.92,180.2,182.4,170.99,168.98,181.87,186.26,181.53,184.91,168.69,181.54,165.67,181.3,179.1,179.02,180.31,171.5,179.91,181.75,179.86,172.65,182.37,181.02,183.47,183.59,180.92,183.22,182.21,183.97,167.39,186.54,180.18,181.09,167.91,183.4,185.01,181.41,184,176.03,186.73,177.52,181.38,181.88,181.98,166.07,180.12,170.34,171.72,180.98,182.1,180.6,180.58,180.8,182.3,180.87,180.11,181.04,180.87,180.98,184.83,180.09,184.28,181.32,166.1,181.71,182.62,167.1,182.85,186.08,180.24,179.15,181.66,169.37,184.27,180.94,181.74,186.4,169.1,181.24,183.32,181.54,181.5,181.4,182.41,182.44,181.53,179.86,179.9,181.58,185.19,167.32,181.57,167.18,177.01,181.51,180,184.48,187.48,179.98,186.78,183.23,181.72,186.73,167.91,185.86,170.45,180.49,172.76,181.51,182.5,185.27,182.9,171.4,181.48,178.3,178.29,168.08,169.71,182.8,182.78,180,181.69,181.48,181.2,180.8,179.67,167.24,186.87,183.95,178.42,181.4,181.17,181.61,186.83,185.3,175.7,183,181.59,181.3,183.34,180.64,180.3,181.84,185.77,180.85,169.66,180.03,167.03,185.9,185.6,167.43,186.73,184.3,180.92,185.33,183.86,166.75,167.41,184.52,184.51,166.55,186.3,185.1,182.73,184.53,180.77,180.5,181,183.6,180.9,165.8,181.5,171.44,171.46,184.85,186.1,184.62,183.4,166.64,180.27,185.5,181.58,181.65,178.43,181.9,182,180.7,180.6,169.46,182.1,183.8,181.63,184.7,180.21,184.8,169.52,181.06,184.97,181.3,181.75,182.02,179.84,180.89,186.59,167.1,183,181.72,180.49,185.1,186.52,180.67,180.4,179.54,186.36,179.62,182.44,168.93,182.4,166.9,185.3,185.23,183.11,180.9,185.1,184.37,182.44,182.29,185.9,168.63,179.97,185.26,169.44,181.62,185.25,182.65,169.9,180.05,181.23,180.26,179.98,180.48,181.39,185.93,166.56,167.23,186.72,181.41,185.4,171.17,185.17,181.15,167.24,180.78,180.78,181.89,181.7,166.66,169.63,181.37,185.96,174.21,167.02,181.57,167.05,167.01,180.58,181.2,182.43,182.2,181.28,179.77,181.63,184.84,181.4,166.2,166.3,182.69,178.98,169.5,170.04,184.52,177.1,167.11,180.28,166.53,183.78,181.25,180.15,185.8,180.58,185.11,181.27,180,185.86,180.94,181.62,181.42,181.33,179.85,170.52,169.53,182.39,179.97,171.51,185.98,181.51,165.97,169.75,184.47,183.45,182.8,181.44,167.95,184.41,181.61,181.77,182.22,181.02,167.32,182.72,182.54,166.01,185.13,180.21,180.21,185.18,184.75,186.16,181.71,183.99,181.16,181.73,181.01,182.1,182.39,183.99,184.13,182.4,182.32,182.92,184.9,184.49,181.62,178.52,184.5,179.95,180.06,180.26,183.44,184.95,181.2,183.58,184.6,167.44,166.72,184.23,183.95,181.59,180.13,180.74,166.98,184.64,182.38,184.5,184.5,169.05,184.68,185.74,183.71,183.5,182.26,170.7,181.67,170.56,183.6,183.5,187.15,166.93,171.66,170.3,181.3,184.53,181.42,181.42,183.86,181.37,188.1,179.54,167.06,184.2,187.8,170.56],null,null,null,{\"interactive\":true,\"draggable\":false,\"keyboard\":true,\"title\":\"\",\"alt\":\"\",\"zIndexOffset\":0,\"opacity\":1,\"riseOnHover\":false,\"riseOffset\":250},[\"4.8\",\"4.2\",\"5.4\",\"4.1\",\"4\",\"4\",\"4.8\",\"4.4\",\"4.7\",\"4.3\",\"4.4\",\"4.6\",\"4.4\",\"4.4\",\"6.1\",\"4.3\",\"6\",\"4.5\",\"4.4\",\"4.4\",\"4.5\",\"4.2\",\"4.4\",\"4.7\",\"5.4\",\"4\",\"4.6\",\"5.2\",\"4.5\",\"4.4\",\"4.6\",\"4.7\",\"4.8\",\"4\",\"4.5\",\"4.3\",\"4.5\",\"4.6\",\"4.1\",\"4.4\",\"4.7\",\"4.6\",\"4.4\",\"4.3\",\"4.6\",\"4.9\",\"4.5\",\"4.4\",\"4.3\",\"5.1\",\"4.2\",\"4\",\"4.6\",\"4.3\",\"4.2\",\"4.4\",\"4.5\",\"4\",\"4.4\",\"4.3\",\"4.7\",\"4.1\",\"5\",\"4.6\",\"4.9\",\"4.7\",\"4.1\",\"5\",\"4.5\",\"5.5\",\"4\",\"4.5\",\"4.3\",\"5.2\",\"4.4\",\"4.3\",\"4.1\",\"4.5\",\"4.2\",\"5.3\",\"5.2\",\"4.5\",\"4.6\",\"4.3\",\"4\",\"4.3\",\"4.7\",\"4.5\",\"4.2\",\"4.3\",\"5.1\",\"4.7\",\"5.2\",\"4.2\",\"4.2\",\"4\",\"4.5\",\"5.2\",\"5.1\",\"4.7\",\"4.1\",\"4.6\",\"4.7\",\"4.7\",\"4.6\",\"4.2\",\"4.4\",\"4.6\",\"5.7\",\"5\",\"4.5\",\"4.2\",\"4\",\"4.8\",\"4.4\",\"4.2\",\"5.3\",\"4.7\",\"4.8\",\"4.2\",\"4.8\",\"4.3\",\"4.7\",\"4.5\",\"4.4\",\"5.1\",\"4.2\",\"5\",\"4.8\",\"4.3\",\"4.5\",\"4.2\",\"4.5\",\"4.6\",\"4.3\",\"4.7\",\"5.1\",\"4.6\",\"4.9\",\"4.2\",\"4.6\",\"4\",\"5\",\"4.4\",\"4.2\",\"4.2\",\"4.4\",\"4.9\",\"5.3\",\"4\",\"5.7\",\"6.4\",\"4.3\",\"4.2\",\"4.7\",\"4.7\",\"4.2\",\"4.3\",\"4.9\",\"4.6\",\"4.1\",\"4.8\",\"4.6\",\"4.6\",\"4.8\",\"5\",\"5.6\",\"5.3\",\"4.7\",\"4.5\",\"4.3\",\"4.6\",\"4.1\",\"4.1\",\"4.1\",\"5.7\",\"5\",\"4.5\",\"4.1\",\"4.6\",\"4.5\",\"4.3\",\"4.4\",\"4.2\",\"4.1\",\"4.9\",\"4.3\",\"4.9\",\"4.6\",\"4.6\",\"5.3\",\"4.7\",\"4.6\",\"4.1\",\"4.6\",\"4.2\",\"4.6\",\"4.5\",\"4.3\",\"5.2\",\"4.3\",\"4\",\"4.7\",\"4.5\",\"4.5\",\"4.3\",\"5.2\",\"4.5\",\"4.7\",\"4.2\",\"4.7\",\"4.3\",\"4.1\",\"5.4\",\"4.3\",\"4.3\",\"4.2\",\"4.6\",\"4.4\",\"4.2\",\"4.7\",\"4.6\",\"4.9\",\"4.2\",\"4.5\",\"4.9\",\"4.2\",\"4.5\",\"5\",\"5\",\"4.7\",\"4.3\",\"4.4\",\"4.9\",\"4.5\",\"4\",\"4.4\",\"5\",\"4.7\",\"4.8\",\"4.5\",\"4.1\",\"5.3\",\"4.8\",\"5\",\"4.6\",\"4.3\",\"4.7\",\"5.3\",\"4.2\",\"4.7\",\"4.5\",\"5.1\",\"4.9\",\"4.4\",\"4.2\",\"4.6\",\"4.7\",\"4.2\",\"4.9\",\"5.1\",\"4.7\",\"4.4\",\"4.4\",\"4.2\",\"4.9\",\"4.6\",\"4.4\",\"4.6\",\"4.5\",\"4.4\",\"4.9\",\"4.1\",\"4.2\",\"5.7\",\"4.6\",\"5\",\"4.3\",\"4.5\",\"5.2\",\"4.4\",\"4.2\",\"4.6\",\"4\",\"4.4\",\"4.7\",\"4.2\",\"4.7\",\"4.5\",\"5\",\"5\",\"4.8\",\"4.6\",\"4.6\",\"5\",\"5\",\"5.6\",\"4\",\"4\",\"4.6\",\"4.4\",\"4.8\",\"4.7\",\"4.6\",\"4.3\",\"4.7\",\"4.1\",\"4.9\",\"4.6\",\"4.8\",\"4.9\",\"5.1\",\"5.4\",\"4.5\",\"4.9\",\"4.4\",\"4.1\",\"5.3\",\"4.5\",\"4.9\",\"4.8\",\"5.2\",\"4.4\",\"4.4\",\"4.9\",\"4.4\",\"4.2\",\"4.6\",\"4.6\",\"5.3\",\"5.3\",\"4.5\",\"4.4\",\"5\",\"5.1\",\"4.5\",\"4.5\",\"5.4\",\"4.5\",\"4.7\",\"4.2\",\"4.8\",\"4.5\",\"4.3\",\"4.3\",\"4.3\",\"4.6\",\"4.5\",\"5\",\"4.6\",\"4.6\",\"4.9\",\"4.1\",\"5.5\",\"4.7\",\"5\",\"5.1\",\"5.5\",\"4.6\",\"4.7\",\"4.2\",\"4\",\"5.4\",\"4.3\",\"4.4\",\"4.6\",\"5.1\",\"4.5\",\"4.2\",\"4.1\",\"5.1\",\"5.4\",\"5.1\",\"5.1\",\"4.4\",\"5.7\",\"4.4\",\"5.1\",\"4.6\",\"5.5\",\"5.1\",\"4.4\",\"5\",\"5\",\"5.1\",\"5.1\",\"4.2\",\"4.5\",\"4\",\"4.9\",\"4.3\",\"4.8\",\"4.4\",\"4.2\",\"4.9\",\"4.2\",\"5.3\",\"5\",\"5.7\",\"5.3\",\"4.7\",\"4.6\",\"4.3\",\"5.4\",\"4.4\",\"4.3\",\"4.3\",\"4.7\",\"4.4\",\"4.2\",\"4.5\",\"4.8\",\"4.8\",\"4.3\",\"4.4\",\"5.1\",\"4.4\",\"4.4\",\"4.3\",\"4.8\",\"4.3\",\"4.5\",\"4.1\",\"5.1\",\"4.7\",\"4.6\",\"4.7\",\"4.6\",\"4.4\",\"4.2\",\"4.1\",\"4.7\",\"4\",\"4.8\",\"4.4\",\"4.3\",\"4.4\",\"4.5\",\"4.5\",\"4.7\",\"4.3\",\"4.7\",\"4.8\",\"4.6\",\"5.1\",\"4.7\",\"4.3\",\"5.1\",\"5.5\",\"4.5\",\"4.3\",\"4.3\",\"4.7\",\"4.3\",\"4.3\",\"4.6\",\"4.5\",\"4.5\",\"5.4\",\"4.6\",\"4.4\",\"5\",\"5.2\",\"4.4\",\"5.1\",\"4.4\",\"4.4\",\"4.8\",\"4.4\",\"4.7\",\"4.7\",\"4.4\",\"4.3\",\"5\",\"4.5\",\"4.6\",\"5.4\",\"4.6\",\"4.5\",\"4.4\",\"4.5\",\"4.1\",\"4\",\"4.9\",\"4.1\",\"5.2\",\"4.4\",\"4.1\",\"4.9\",\"4.6\",\"4.5\",\"4.8\",\"4.2\",\"4.2\",\"4.1\",\"5.5\",\"4.4\",\"4.8\",\"4.2\",\"4.8\",\"4.9\",\"4.6\",\"4.5\",\"4.4\",\"4.6\",\"4.2\",\"4.7\",\"4.4\",\"4.5\",\"4.9\",\"4.7\",\"5.5\",\"4.7\",\"4.6\",\"4.1\",\"4.7\",\"4.6\",\"4.3\",\"4.4\",\"4.7\",\"4.3\",\"4.1\",\"4.7\",\"4.5\",\"5.5\",\"4.5\",\"4.6\",\"5.1\",\"4.4\",\"4.7\",\"5.5\",\"4.6\",\"4\",\"4.6\",\"4.8\",\"4.7\",\"4.7\",\"4.2\",\"5.4\",\"4.6\",\"5.5\",\"4.2\",\"4.5\",\"4.5\",\"4.8\",\"4.6\",\"5.4\",\"4.6\",\"5\",\"4.3\",\"4.3\",\"4.8\",\"4.7\",\"4.7\",\"4.8\",\"4.2\",\"4.2\",\"5.9\",\"4.6\",\"4.5\",\"4.9\",\"4.7\",\"4.9\",\"5.3\",\"4.2\",\"4.2\",\"4.5\",\"5.2\",\"4.5\",\"5.6\",\"5.2\",\"4.8\",\"4.5\",\"5\",\"4.4\",\"4.5\",\"4.6\",\"4.5\",\"5.2\",\"5.1\",\"4.8\",\"4.3\",\"5.1\",\"4.7\",\"4.6\",\"4.8\",\"4.6\",\"4.4\",\"4.6\",\"5.1\",\"4.3\",\"4.4\",\"4.7\",\"4.8\",\"4.1\",\"4.6\",\"4.9\",\"4\",\"4.7\",\"4.7\",\"5.2\",\"4.6\",\"4.6\",\"4.9\",\"5.7\",\"4.7\",\"4.4\",\"4.9\",\"4.8\",\"4.6\",\"4.4\",\"4.8\",\"4.7\",\"4.2\",\"5.1\",\"4.8\",\"4.9\",\"5.1\",\"4.3\",\"4.4\",\"4.7\",\"4.7\",\"5.3\",\"5.1\",\"4.9\",\"4.5\",\"4.7\",\"4.2\",\"5.1\",\"4.8\",\"4.2\",\"4.8\",\"4.4\",\"4.5\",\"4.3\",\"5.6\",\"4\",\"5\",\"4.2\",\"4.6\",\"4.6\",\"4.5\",\"5\",\"4.7\",\"4.6\",\"4.8\",\"4.6\",\"4.4\",\"5.6\",\"4.2\",\"5.4\",\"4.8\",\"5.6\",\"4.4\",\"4.7\",\"4.6\",\"5.1\",\"4.6\",\"4.5\",\"4.2\",\"4.8\",\"4.9\",\"5.5\",\"5\",\"4.2\",\"5.2\",\"4.8\",\"4.4\",\"4.8\",\"4.4\",\"4.1\",\"4.9\",\"4.6\",\"4.5\",\"5.3\",\"4.8\",\"4.6\",\"4.8\",\"4.7\",\"4.9\",\"5.3\",\"4.4\",\"4.6\",\"4.3\",\"4.4\",\"4.2\",\"4.1\",\"4.2\",\"5\",\"4.1\",\"4.3\",\"5.2\",\"4.2\",\"4.5\",\"4.4\",\"4.4\",\"5\",\"4\",\"4.8\",\"5\",\"4.2\",\"5.2\",\"5.2\",\"4.5\",\"4.3\",\"4.5\",\"4.6\",\"5.1\",\"4.4\",\"4.3\",\"4.7\",\"5.6\",\"4.9\",\"5.1\",\"4.6\",\"4.4\",\"4.8\",\"4.2\",\"4.7\",\"4.1\",\"4.7\",\"4\",\"4.9\",\"5\",\"4.5\",\"4.4\",\"4\",\"4.5\",\"4.7\",\"4.4\",\"4.7\",\"4.7\",\"4\",\"4.2\",\"4.5\",\"4.7\",\"4.5\",\"4.1\",\"4.6\",\"4.3\",\"4.6\",\"5.2\",\"4.6\",\"4.7\",\"5\",\"5.2\",\"4.4\",\"4.6\",\"4.5\",\"4\",\"4.2\",\"5.3\",\"5.9\",\"4.9\",\"4.5\",\"4.4\",\"5.4\",\"5.3\",\"5.1\",\"4.1\",\"4.3\",\"4.5\",\"4.1\",\"5.1\",\"5.3\",\"4.5\",\"4.1\",\"4.4\",\"4.7\",\"4\",\"5.1\",\"4\",\"4.3\",\"4.3\",\"4\",\"4.1\",\"4.4\",\"4.3\",\"4.2\",\"4\",\"4.5\",\"4.7\",\"5\",\"4.3\",\"5.1\",\"4.7\",\"5.3\",\"5\",\"4.5\",\"5\",\"4.1\",\"4.9\",\"4.1\",\"4\",\"4.4\",\"4.5\",\"4.4\",\"4.5\",\"4.3\",\"4.3\",\"5\",\"4.5\",\"4.5\",\"4.4\",\"4.5\",\"4.1\",\"4.9\",\"4.7\",\"4.3\",\"4.6\",\"4.6\",\"5.2\",\"4.5\",\"4.3\",\"4.6\",\"4\",\"4.5\",\"4.8\",\"4.6\",\"4.1\",\"4.9\",\"4.7\",\"4.1\",\"4.3\",\"4.4\",\"4\",\"4.8\",\"4.4\",\"4.4\",\"4.6\",\"4.2\",\"4.1\",\"4.2\",\"4\",\"4.1\",\"4.1\",\"4.7\",\"4.8\",\"5.1\",\"5\",\"4.8\",\"4.4\",\"5\",\"5.2\",\"4.2\",\"4.1\",\"4.8\",\"4.5\",\"5\",\"5.1\",\"4.1\",\"4.7\",\"5.2\",\"4.8\",\"4.5\",\"4\",\"4.7\",\"4.1\",\"4.3\",\"4.3\",\"4\",\"4.7\",\"4.1\",\"4.2\",\"4.8\",\"4.8\",\"4.2\",\"4.2\",\"5.7\",\"6\",\"4.2\",\"4.5\",\"4.9\",\"4.4\",\"4\",\"4.3\",\"4.2\",\"4.5\",\"4.8\",\"4.4\",\"4.2\",\"4.2\",\"5\",\"4.2\",\"5.2\",\"4.5\",\"4.6\",\"5\",\"5\",\"5.4\",\"4.8\",\"4.2\",\"5.5\",\"4.3\",\"4.1\",\"4.4\",\"4.9\",\"4.5\",\"4.9\",\"4\",\"4.5\",\"5\",\"4.9\",\"4.5\",\"4.2\",\"4.2\",\"4.2\",\"5.2\",\"4.3\",\"5.1\",\"4.6\",\"4.6\",\"4.4\",\"4.4\",\"4.9\",\"5.1\",\"4.2\",\"4.7\",\"4\",\"5.6\",\"5.3\",\"5\",\"4.3\",\"4.1\",\"5.1\",\"4.5\",\"4.9\",\"5.4\",\"4.7\",\"4.8\",\"4.5\",\"4.2\",\"4.6\",\"4.6\",\"5.6\",\"5.4\",\"4\",\"5.2\",\"4.2\",\"4.7\",\"4.3\",\"4.8\",\"4.6\",\"5.4\",\"4.8\",\"4.6\",\"4.2\",\"5.5\",\"4.7\",\"4.7\",\"4.5\",\"5.5\",\"4.5\",\"4.1\",\"4\",\"4.3\",\"4.7\",\"4.9\",\"4.5\",\"4.7\",\"4.5\",\"4.8\",\"4.3\",\"4.1\",\"5.4\",\"4.1\",\"4.8\",\"4.2\",\"4.8\",\"5.4\",\"4.4\",\"5.2\",\"4.7\",\"4.9\",\"4.9\",\"4.2\",\"4.4\",\"4.4\",\"4.3\",\"4.9\",\"5\",\"4.7\",\"4.9\",\"4.3\",\"4.5\",\"4.2\",\"5.2\",\"4.8\",\"4\",\"4.7\",\"4.3\",\"4.3\",\"4.9\",\"4\",\"4.2\",\"4.4\",\"4.7\",\"4.5\",\"4.5\",\"6\"],null,null,null,[\"4.8\",\"4.2\",\"5.4\",\"4.1\",\"4\",\"4\",\"4.8\",\"4.4\",\"4.7\",\"4.3\",\"4.4\",\"4.6\",\"4.4\",\"4.4\",\"6.1\",\"4.3\",\"6\",\"4.5\",\"4.4\",\"4.4\",\"4.5\",\"4.2\",\"4.4\",\"4.7\",\"5.4\",\"4\",\"4.6\",\"5.2\",\"4.5\",\"4.4\",\"4.6\",\"4.7\",\"4.8\",\"4\",\"4.5\",\"4.3\",\"4.5\",\"4.6\",\"4.1\",\"4.4\",\"4.7\",\"4.6\",\"4.4\",\"4.3\",\"4.6\",\"4.9\",\"4.5\",\"4.4\",\"4.3\",\"5.1\",\"4.2\",\"4\",\"4.6\",\"4.3\",\"4.2\",\"4.4\",\"4.5\",\"4\",\"4.4\",\"4.3\",\"4.7\",\"4.1\",\"5\",\"4.6\",\"4.9\",\"4.7\",\"4.1\",\"5\",\"4.5\",\"5.5\",\"4\",\"4.5\",\"4.3\",\"5.2\",\"4.4\",\"4.3\",\"4.1\",\"4.5\",\"4.2\",\"5.3\",\"5.2\",\"4.5\",\"4.6\",\"4.3\",\"4\",\"4.3\",\"4.7\",\"4.5\",\"4.2\",\"4.3\",\"5.1\",\"4.7\",\"5.2\",\"4.2\",\"4.2\",\"4\",\"4.5\",\"5.2\",\"5.1\",\"4.7\",\"4.1\",\"4.6\",\"4.7\",\"4.7\",\"4.6\",\"4.2\",\"4.4\",\"4.6\",\"5.7\",\"5\",\"4.5\",\"4.2\",\"4\",\"4.8\",\"4.4\",\"4.2\",\"5.3\",\"4.7\",\"4.8\",\"4.2\",\"4.8\",\"4.3\",\"4.7\",\"4.5\",\"4.4\",\"5.1\",\"4.2\",\"5\",\"4.8\",\"4.3\",\"4.5\",\"4.2\",\"4.5\",\"4.6\",\"4.3\",\"4.7\",\"5.1\",\"4.6\",\"4.9\",\"4.2\",\"4.6\",\"4\",\"5\",\"4.4\",\"4.2\",\"4.2\",\"4.4\",\"4.9\",\"5.3\",\"4\",\"5.7\",\"6.4\",\"4.3\",\"4.2\",\"4.7\",\"4.7\",\"4.2\",\"4.3\",\"4.9\",\"4.6\",\"4.1\",\"4.8\",\"4.6\",\"4.6\",\"4.8\",\"5\",\"5.6\",\"5.3\",\"4.7\",\"4.5\",\"4.3\",\"4.6\",\"4.1\",\"4.1\",\"4.1\",\"5.7\",\"5\",\"4.5\",\"4.1\",\"4.6\",\"4.5\",\"4.3\",\"4.4\",\"4.2\",\"4.1\",\"4.9\",\"4.3\",\"4.9\",\"4.6\",\"4.6\",\"5.3\",\"4.7\",\"4.6\",\"4.1\",\"4.6\",\"4.2\",\"4.6\",\"4.5\",\"4.3\",\"5.2\",\"4.3\",\"4\",\"4.7\",\"4.5\",\"4.5\",\"4.3\",\"5.2\",\"4.5\",\"4.7\",\"4.2\",\"4.7\",\"4.3\",\"4.1\",\"5.4\",\"4.3\",\"4.3\",\"4.2\",\"4.6\",\"4.4\",\"4.2\",\"4.7\",\"4.6\",\"4.9\",\"4.2\",\"4.5\",\"4.9\",\"4.2\",\"4.5\",\"5\",\"5\",\"4.7\",\"4.3\",\"4.4\",\"4.9\",\"4.5\",\"4\",\"4.4\",\"5\",\"4.7\",\"4.8\",\"4.5\",\"4.1\",\"5.3\",\"4.8\",\"5\",\"4.6\",\"4.3\",\"4.7\",\"5.3\",\"4.2\",\"4.7\",\"4.5\",\"5.1\",\"4.9\",\"4.4\",\"4.2\",\"4.6\",\"4.7\",\"4.2\",\"4.9\",\"5.1\",\"4.7\",\"4.4\",\"4.4\",\"4.2\",\"4.9\",\"4.6\",\"4.4\",\"4.6\",\"4.5\",\"4.4\",\"4.9\",\"4.1\",\"4.2\",\"5.7\",\"4.6\",\"5\",\"4.3\",\"4.5\",\"5.2\",\"4.4\",\"4.2\",\"4.6\",\"4\",\"4.4\",\"4.7\",\"4.2\",\"4.7\",\"4.5\",\"5\",\"5\",\"4.8\",\"4.6\",\"4.6\",\"5\",\"5\",\"5.6\",\"4\",\"4\",\"4.6\",\"4.4\",\"4.8\",\"4.7\",\"4.6\",\"4.3\",\"4.7\",\"4.1\",\"4.9\",\"4.6\",\"4.8\",\"4.9\",\"5.1\",\"5.4\",\"4.5\",\"4.9\",\"4.4\",\"4.1\",\"5.3\",\"4.5\",\"4.9\",\"4.8\",\"5.2\",\"4.4\",\"4.4\",\"4.9\",\"4.4\",\"4.2\",\"4.6\",\"4.6\",\"5.3\",\"5.3\",\"4.5\",\"4.4\",\"5\",\"5.1\",\"4.5\",\"4.5\",\"5.4\",\"4.5\",\"4.7\",\"4.2\",\"4.8\",\"4.5\",\"4.3\",\"4.3\",\"4.3\",\"4.6\",\"4.5\",\"5\",\"4.6\",\"4.6\",\"4.9\",\"4.1\",\"5.5\",\"4.7\",\"5\",\"5.1\",\"5.5\",\"4.6\",\"4.7\",\"4.2\",\"4\",\"5.4\",\"4.3\",\"4.4\",\"4.6\",\"5.1\",\"4.5\",\"4.2\",\"4.1\",\"5.1\",\"5.4\",\"5.1\",\"5.1\",\"4.4\",\"5.7\",\"4.4\",\"5.1\",\"4.6\",\"5.5\",\"5.1\",\"4.4\",\"5\",\"5\",\"5.1\",\"5.1\",\"4.2\",\"4.5\",\"4\",\"4.9\",\"4.3\",\"4.8\",\"4.4\",\"4.2\",\"4.9\",\"4.2\",\"5.3\",\"5\",\"5.7\",\"5.3\",\"4.7\",\"4.6\",\"4.3\",\"5.4\",\"4.4\",\"4.3\",\"4.3\",\"4.7\",\"4.4\",\"4.2\",\"4.5\",\"4.8\",\"4.8\",\"4.3\",\"4.4\",\"5.1\",\"4.4\",\"4.4\",\"4.3\",\"4.8\",\"4.3\",\"4.5\",\"4.1\",\"5.1\",\"4.7\",\"4.6\",\"4.7\",\"4.6\",\"4.4\",\"4.2\",\"4.1\",\"4.7\",\"4\",\"4.8\",\"4.4\",\"4.3\",\"4.4\",\"4.5\",\"4.5\",\"4.7\",\"4.3\",\"4.7\",\"4.8\",\"4.6\",\"5.1\",\"4.7\",\"4.3\",\"5.1\",\"5.5\",\"4.5\",\"4.3\",\"4.3\",\"4.7\",\"4.3\",\"4.3\",\"4.6\",\"4.5\",\"4.5\",\"5.4\",\"4.6\",\"4.4\",\"5\",\"5.2\",\"4.4\",\"5.1\",\"4.4\",\"4.4\",\"4.8\",\"4.4\",\"4.7\",\"4.7\",\"4.4\",\"4.3\",\"5\",\"4.5\",\"4.6\",\"5.4\",\"4.6\",\"4.5\",\"4.4\",\"4.5\",\"4.1\",\"4\",\"4.9\",\"4.1\",\"5.2\",\"4.4\",\"4.1\",\"4.9\",\"4.6\",\"4.5\",\"4.8\",\"4.2\",\"4.2\",\"4.1\",\"5.5\",\"4.4\",\"4.8\",\"4.2\",\"4.8\",\"4.9\",\"4.6\",\"4.5\",\"4.4\",\"4.6\",\"4.2\",\"4.7\",\"4.4\",\"4.5\",\"4.9\",\"4.7\",\"5.5\",\"4.7\",\"4.6\",\"4.1\",\"4.7\",\"4.6\",\"4.3\",\"4.4\",\"4.7\",\"4.3\",\"4.1\",\"4.7\",\"4.5\",\"5.5\",\"4.5\",\"4.6\",\"5.1\",\"4.4\",\"4.7\",\"5.5\",\"4.6\",\"4\",\"4.6\",\"4.8\",\"4.7\",\"4.7\",\"4.2\",\"5.4\",\"4.6\",\"5.5\",\"4.2\",\"4.5\",\"4.5\",\"4.8\",\"4.6\",\"5.4\",\"4.6\",\"5\",\"4.3\",\"4.3\",\"4.8\",\"4.7\",\"4.7\",\"4.8\",\"4.2\",\"4.2\",\"5.9\",\"4.6\",\"4.5\",\"4.9\",\"4.7\",\"4.9\",\"5.3\",\"4.2\",\"4.2\",\"4.5\",\"5.2\",\"4.5\",\"5.6\",\"5.2\",\"4.8\",\"4.5\",\"5\",\"4.4\",\"4.5\",\"4.6\",\"4.5\",\"5.2\",\"5.1\",\"4.8\",\"4.3\",\"5.1\",\"4.7\",\"4.6\",\"4.8\",\"4.6\",\"4.4\",\"4.6\",\"5.1\",\"4.3\",\"4.4\",\"4.7\",\"4.8\",\"4.1\",\"4.6\",\"4.9\",\"4\",\"4.7\",\"4.7\",\"5.2\",\"4.6\",\"4.6\",\"4.9\",\"5.7\",\"4.7\",\"4.4\",\"4.9\",\"4.8\",\"4.6\",\"4.4\",\"4.8\",\"4.7\",\"4.2\",\"5.1\",\"4.8\",\"4.9\",\"5.1\",\"4.3\",\"4.4\",\"4.7\",\"4.7\",\"5.3\",\"5.1\",\"4.9\",\"4.5\",\"4.7\",\"4.2\",\"5.1\",\"4.8\",\"4.2\",\"4.8\",\"4.4\",\"4.5\",\"4.3\",\"5.6\",\"4\",\"5\",\"4.2\",\"4.6\",\"4.6\",\"4.5\",\"5\",\"4.7\",\"4.6\",\"4.8\",\"4.6\",\"4.4\",\"5.6\",\"4.2\",\"5.4\",\"4.8\",\"5.6\",\"4.4\",\"4.7\",\"4.6\",\"5.1\",\"4.6\",\"4.5\",\"4.2\",\"4.8\",\"4.9\",\"5.5\",\"5\",\"4.2\",\"5.2\",\"4.8\",\"4.4\",\"4.8\",\"4.4\",\"4.1\",\"4.9\",\"4.6\",\"4.5\",\"5.3\",\"4.8\",\"4.6\",\"4.8\",\"4.7\",\"4.9\",\"5.3\",\"4.4\",\"4.6\",\"4.3\",\"4.4\",\"4.2\",\"4.1\",\"4.2\",\"5\",\"4.1\",\"4.3\",\"5.2\",\"4.2\",\"4.5\",\"4.4\",\"4.4\",\"5\",\"4\",\"4.8\",\"5\",\"4.2\",\"5.2\",\"5.2\",\"4.5\",\"4.3\",\"4.5\",\"4.6\",\"5.1\",\"4.4\",\"4.3\",\"4.7\",\"5.6\",\"4.9\",\"5.1\",\"4.6\",\"4.4\",\"4.8\",\"4.2\",\"4.7\",\"4.1\",\"4.7\",\"4\",\"4.9\",\"5\",\"4.5\",\"4.4\",\"4\",\"4.5\",\"4.7\",\"4.4\",\"4.7\",\"4.7\",\"4\",\"4.2\",\"4.5\",\"4.7\",\"4.5\",\"4.1\",\"4.6\",\"4.3\",\"4.6\",\"5.2\",\"4.6\",\"4.7\",\"5\",\"5.2\",\"4.4\",\"4.6\",\"4.5\",\"4\",\"4.2\",\"5.3\",\"5.9\",\"4.9\",\"4.5\",\"4.4\",\"5.4\",\"5.3\",\"5.1\",\"4.1\",\"4.3\",\"4.5\",\"4.1\",\"5.1\",\"5.3\",\"4.5\",\"4.1\",\"4.4\",\"4.7\",\"4\",\"5.1\",\"4\",\"4.3\",\"4.3\",\"4\",\"4.1\",\"4.4\",\"4.3\",\"4.2\",\"4\",\"4.5\",\"4.7\",\"5\",\"4.3\",\"5.1\",\"4.7\",\"5.3\",\"5\",\"4.5\",\"5\",\"4.1\",\"4.9\",\"4.1\",\"4\",\"4.4\",\"4.5\",\"4.4\",\"4.5\",\"4.3\",\"4.3\",\"5\",\"4.5\",\"4.5\",\"4.4\",\"4.5\",\"4.1\",\"4.9\",\"4.7\",\"4.3\",\"4.6\",\"4.6\",\"5.2\",\"4.5\",\"4.3\",\"4.6\",\"4\",\"4.5\",\"4.8\",\"4.6\",\"4.1\",\"4.9\",\"4.7\",\"4.1\",\"4.3\",\"4.4\",\"4\",\"4.8\",\"4.4\",\"4.4\",\"4.6\",\"4.2\",\"4.1\",\"4.2\",\"4\",\"4.1\",\"4.1\",\"4.7\",\"4.8\",\"5.1\",\"5\",\"4.8\",\"4.4\",\"5\",\"5.2\",\"4.2\",\"4.1\",\"4.8\",\"4.5\",\"5\",\"5.1\",\"4.1\",\"4.7\",\"5.2\",\"4.8\",\"4.5\",\"4\",\"4.7\",\"4.1\",\"4.3\",\"4.3\",\"4\",\"4.7\",\"4.1\",\"4.2\",\"4.8\",\"4.8\",\"4.2\",\"4.2\",\"5.7\",\"6\",\"4.2\",\"4.5\",\"4.9\",\"4.4\",\"4\",\"4.3\",\"4.2\",\"4.5\",\"4.8\",\"4.4\",\"4.2\",\"4.2\",\"5\",\"4.2\",\"5.2\",\"4.5\",\"4.6\",\"5\",\"5\",\"5.4\",\"4.8\",\"4.2\",\"5.5\",\"4.3\",\"4.1\",\"4.4\",\"4.9\",\"4.5\",\"4.9\",\"4\",\"4.5\",\"5\",\"4.9\",\"4.5\",\"4.2\",\"4.2\",\"4.2\",\"5.2\",\"4.3\",\"5.1\",\"4.6\",\"4.6\",\"4.4\",\"4.4\",\"4.9\",\"5.1\",\"4.2\",\"4.7\",\"4\",\"5.6\",\"5.3\",\"5\",\"4.3\",\"4.1\",\"5.1\",\"4.5\",\"4.9\",\"5.4\",\"4.7\",\"4.8\",\"4.5\",\"4.2\",\"4.6\",\"4.6\",\"5.6\",\"5.4\",\"4\",\"5.2\",\"4.2\",\"4.7\",\"4.3\",\"4.8\",\"4.6\",\"5.4\",\"4.8\",\"4.6\",\"4.2\",\"5.5\",\"4.7\",\"4.7\",\"4.5\",\"5.5\",\"4.5\",\"4.1\",\"4\",\"4.3\",\"4.7\",\"4.9\",\"4.5\",\"4.7\",\"4.5\",\"4.8\",\"4.3\",\"4.1\",\"5.4\",\"4.1\",\"4.8\",\"4.2\",\"4.8\",\"5.4\",\"4.4\",\"5.2\",\"4.7\",\"4.9\",\"4.9\",\"4.2\",\"4.4\",\"4.4\",\"4.3\",\"4.9\",\"5\",\"4.7\",\"4.9\",\"4.3\",\"4.5\",\"4.2\",\"5.2\",\"4.8\",\"4\",\"4.7\",\"4.3\",\"4.3\",\"4.9\",\"4\",\"4.2\",\"4.4\",\"4.7\",\"4.5\",\"4.5\",\"6\"],{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null]},{\"method\":\"spinner\",\"args\":[false]}],\"limits\":{\"lat\":[-38.59,-10.72],\"lng\":[165.67,188.13]}},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTangram.html","id":null,"dir":"Reference","previous_headings":"","what":"Adds a Tangram layer to a Leaflet map in a Shiny App. — addTangram","title":"Adds a Tangram layer to a Leaflet map in a Shiny App. — addTangram","text":"Adds Tangram layer Leaflet map Shiny App.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTangram.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Adds a Tangram layer to a Leaflet map in a Shiny App. — addTangram","text":"","code":"addTangram(map, scene = NULL, layerId = NULL, group = NULL, options = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTangram.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Adds a Tangram layer to a Leaflet map in a Shiny App. — addTangram","text":"map map widget object created leaflet() scene Path required .yaml .zip file. file within /www folder Shiny-App, filename must given, otherwise full path needed. See Tangram repository Tangram docs information edit .yaml file. layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. options list options. See app examples/tangram folder docs information.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTangram.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Adds a Tangram layer to a Leaflet map in a Shiny App. — addTangram","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTangram.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Adds a Tangram layer to a Leaflet map in a Shiny App. — addTangram","text":"works correctly Shiny-App environment.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTangram.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Adds a Tangram layer to a Leaflet map in a Shiny App. — addTangram","text":"https://github.com/tangrams/tangram","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTangram.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Adds a Tangram layer to a Leaflet map in a Shiny App. — addTangram","text":"","code":"if (FALSE) { # \\dontrun{ library(shiny) library(leaflet) library(leaflet.extras2) ## In the /www folder of a ShinyApp. Must contain the Nextzen API-key scene <- \"scene.yaml\" ui <- fluidPage(leafletOutput(\"map\")) server <- function(input, output, session) { output$map <- renderLeaflet({ leaflet() %>% addTiles(group = \"base\") %>% addTangram(scene = scene, group = \"tangram\") %>% addCircleMarkers(data = breweries91, group = \"brews\") %>% setView(11, 49.4, 14) %>% addLayersControl(baseGroups = c(\"tangram\", \"base\"), overlayGroups = c(\"brews\")) }) } shinyApp(ui, server) } # }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTimeslider.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Time Slider to Leaflet — addTimeslider","title":"Add Time Slider to Leaflet — addTimeslider","text":"LeafletSlider plugin enables dynamically add remove Markers/Lines map using JQuery UI slider.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTimeslider.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Time Slider to Leaflet — addTimeslider","text":"","code":"addTimeslider( map, data, radius = 10, stroke = TRUE, color = \"#03F\", weight = 5, opacity = 0.5, fill = TRUE, fillColor = color, fillOpacity = 0.2, dashArray = NULL, popup = NULL, popupOptions = NULL, label = NULL, labelOptions = NULL, ordertime = TRUE, options = timesliderOptions() )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTimeslider.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Time Slider to Leaflet — addTimeslider","text":"map map widget data data must Simple Feature collection type POINT LINESTRING column class Date POSIXct. radius numeric vector radii circles; can also one-sided formula, case radius values derived data (units meters circles, pixels circle markers) stroke whether draw stroke along path (e.g. borders polygons circles) color stroke color weight stroke width pixels opacity stroke opacity (layer opacity tile layers) fill whether fill path color (e.g. filling polygons circles) fillColor fill color fillOpacity fill opacity dashArray string defines stroke dash pattern popup character vector HTML content popups (recommended escape text using htmlEscape() security reasons) popupOptions Vector popupOptions provide popups label character vector HTML content labels labelOptions Vector labelOptions provide label options label. Default NULL ordertime boolean value indicating whether order data time column. slider adopt order timestamps. default TRUE. options List additional options. See timesliderOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTimeslider.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Time Slider to Leaflet — addTimeslider","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTimeslider.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Time Slider to Leaflet — addTimeslider","text":"https://github.com/dwilhelm89/LeafletSlider","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTimeslider.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Time Slider to Leaflet — addTimeslider","text":"","code":"library(leaflet) library(leaflet.extras2) library(sf) data <- sf::st_as_sf(leaflet::atlStorms2005[1,]) data <- st_cast(data, \"POINT\") #> Warning: repeating attributes for all sub-geometries for which they may not be constant data$time = as.POSIXct( seq.POSIXt(Sys.time() - 1000, Sys.time(), length.out = nrow(data))) leaflet() %>% addTiles() %>% addTimeslider(data = data, options = timesliderOptions( position = \"topright\", timeAttribute = \"time\", range = TRUE)) %>% setView(-72, 22, 4) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addTimeslider\",\"args\":[{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 20:54:35\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-67.5,15.8]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 20:56:15\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-68.5,16.5]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 20:57:55\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-69.6,17.3]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 20:59:35\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-70.5,17.8]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 21:01:15\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-71.3,18.3]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 21:02:55\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-72.2,18.6]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 21:04:35\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-72.7,19.8]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 21:06:15\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-72.9,21.6]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 21:07:55\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-73.0,23.5]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 21:09:35\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-72.4,25.1]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 21:11:15\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-70.8,27.9]}}]},{\"position\":\"topright\",\"timeAttribute\":\"time\",\"isEpoch\":false,\"startTimeIdx\":0,\"timeStrLength\":19,\"maxValue\":-1,\"minValue\":0,\"showAllOnStart\":false,\"range\":true,\"follow\":false,\"alwaysShowDate\":false,\"sameDate\":false},null,null]}],\"limits\":{\"lat\":[15.8,27.9],\"lng\":[-73,-67.5]},\"setView\":[[22,-72],4,[]]},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addVelocity.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Velocity Animation — addVelocity","title":"Add Velocity Animation — addVelocity","text":"Add velocity animated data leaflet. Based leaflet-velocity plugin","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addVelocity.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Velocity Animation — addVelocity","text":"","code":"addVelocity( map, layerId = NULL, group = NULL, content = NULL, options = velocityOptions() )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addVelocity.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Velocity Animation — addVelocity","text":"map map widget object created leaflet() layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. content path URL JSON file representing velocity data data.frame can transformed JSON file. Please see demo files example data. options List options. See velocityOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addVelocity.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Velocity Animation — addVelocity","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addVelocity.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Velocity Animation — addVelocity","text":"https://github.com/onaci/leaflet-velocity","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addVelocity.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Velocity Animation — addVelocity","text":"","code":"if (FALSE) { # \\dontrun{ library(leaflet) library(leaflet.extras2) content <- \"https://raw.githubusercontent.com/onaci/leaflet-velocity/master/demo/water-gbr.json\" leaflet() %>% addTiles(group = \"base\") %>% setView(145, -20, 4) %>% addVelocity(content = content, group = \"velo\", layerId = \"veloid\") %>% addLayersControl(baseGroups = \"base\", overlayGroups = \"velo\") } # }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addWMS.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Queryable WMS Layer — addWMS","title":"Add Queryable WMS Layer — addWMS","text":"Leaflet plugin working Web Map services, providing: single-tile/untiled/nontiled layers, shared WMS sources, GetFeatureInfo-powered identify. can also use CQL-Filters appending string 'baseUrl'. Something like 'http://server/wms?cql_filter=attribute=value'","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addWMS.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Queryable WMS Layer — addWMS","text":"","code":"addWMS( map, baseUrl, layerId = NULL, group = NULL, options = WMSTileOptions(), attribution = NULL, layers = NULL, popupOptions = NULL, checkempty = FALSE, data = getMapData(map) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addWMS.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Queryable WMS Layer — addWMS","text":"map map widget object created leaflet() baseUrl base URL WMS service layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. options list extra options tile layers, popups, paths (circles, rectangles, polygons, ...), map elements attribution attribution text tile layer (HTML) layers comma-separated list WMS layers show popupOptions List popup options. See popupOptions. Default NULL. checkempty returned HTML-content checked emptiness? HTML-body empty popup opened. Default FALSE data data object argument values derived; default, data object provided leaflet() initially, can overridden","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addWMS.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Queryable WMS Layer — addWMS","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addWMS.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Queryable WMS Layer — addWMS","text":"https://github.com/heigeo/leaflet.wms","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addWMS.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Queryable WMS Layer — addWMS","text":"","code":"library(leaflet) library(leaflet.extras2) leaflet() %>% addTiles(group = \"base\") %>% setView(9, 50, 5) %>% addWMS(baseUrl = \"https://maps.dwd.de/geoserver/dwd/wms\", layers = \"dwd:BRD_1km_winddaten_10m\", popupOptions = popupOptions(maxWidth = 600), checkempty = TRUE, options = WMSTileOptions( transparent = TRUE, format = \"image/png\", info_format = \"text/html\")) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,\"base\",{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addWMS\",\"args\":[\"https://maps.dwd.de/geoserver/dwd/wms\",null,null,{\"styles\":\"\",\"format\":\"image/png\",\"transparent\":true,\"version\":\"1.1.1\",\"info_format\":\"text/html\",\"layers\":\"dwd:BRD_1km_winddaten_10m\",\"checkempty\":true},{\"maxWidth\":600,\"minWidth\":50,\"autoPan\":true,\"keepInView\":false,\"closeButton\":true,\"className\":\"\"}]}],\"setView\":[[50,9],5,[]]},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/antpathOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"Antpath Options — antpathOptions","title":"Antpath Options — antpathOptions","text":"Additional list options 'ant-path' animated polylines.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/antpathOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Antpath Options — antpathOptions","text":"","code":"antpathOptions( delay = 400, paused = FALSE, reverse = FALSE, hardwareAccelerated = FALSE, dashArray = c(10, 20), pulseColor = \"#ffffff\", lineCap = NULL, lineJoin = NULL, interactive = TRUE, pointerEvents = NULL, className = \"\", ... )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/antpathOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Antpath Options — antpathOptions","text":"delay Add delay animation flux. Default 400 paused animation paused. Default FALSE reverse Defines flow follows path order . Default FALSE hardwareAccelerated Makes animation run hardware acceleration. Default FALSE dashArray size animated dashes. Default c(10, 20) pulseColor Adds color dashed flux. Default #ffffff lineCap string defines shape used end stroke lineJoin string defines shape used corners stroke interactive whether element emits mouse events pointerEvents sets pointer-events attribute path SVG backend used className CSS class name set element ... extra options passed underlying Javascript object constructor.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/antpathOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Antpath Options — antpathOptions","text":"list options addAntpath animated polylines","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/arrowheadOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"Arrowhead Options — arrowheadOptions","title":"Arrowhead Options — arrowheadOptions","text":"Additional list options polylines arrowheads. can also pass options inherited L.Path","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/arrowheadOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Arrowhead Options — arrowheadOptions","text":"","code":"arrowheadOptions( yawn = 60, size = \"15%\", frequency = \"allvertices\", proportionalToTotal = FALSE, offsets = NULL, perArrowheadOptions = NULL, ... )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/arrowheadOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Arrowhead Options — arrowheadOptions","text":"yawn Defines width opening arrowhead, given degrees. larger angle, wider arrowhead. size Determines size arrowhead. Accepts three types values: string suffix 'm', .e. '500m' set size arrowhead number meters. string suffix '%', .e. '15%' render arrows whose size percentage size parent polyline. polyline multiple segments, take percent average size segments. string suffix 'px', .e. '20px' render arrowhead whose size stays constant pixel value, regardless zoom level. look strange low zoom levels smaller parent vectors. Ideal larger parent vectors higher zoom levels. frequency many arrowheads rendered polyline. 'allvertices' renders arrowhead vertex. 'endonly' renders one end. numeric value renders number arrowheads evenly spaced along polyline. string suffix 'm', .e. '100m' render arrowheads spaced evenly along polyline roughly many meters one. string suffix 'px', .e. '30px' render arrowheads spaced evenly roughly many pixels , regardless zoom level. proportionalToTotal relevant size given percent. Useful frequency set 'endonly'. render arrowheads size proportional entire length multi-segmented polyline, rather proportional average length segments. offsets Enables developer arrowheads start end offset start /end polyline. option can list `start` `end` names. values must strings defining size offset either meters pixels, .e. list('start' = '100m', 'end' = '15px'). perArrowheadOptions Enables developer customize arrowheads one--one basis. Must form function , index arrowhead rendered loop arrowheads. Must return options object. Cannnot account frequency proportionalToTotal within perArrowheadOptions callback. See example details. ... Additional options arrowheads, inherited L.Path","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/arrowheadOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Arrowhead Options — arrowheadOptions","text":"list options addArrowhead polylines","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/arrowheadOptions.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Arrowhead Options — arrowheadOptions","text":"https://github.com/slutske22/leaflet-arrowheads#options","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearAntpath.html","id":null,"dir":"Reference","previous_headings":"","what":"clearAntpath — clearAntpath","title":"clearAntpath — clearAntpath","text":"Clear Antpaths","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearAntpath.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"clearAntpath — clearAntpath","text":"","code":"clearAntpath(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearAntpath.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"clearAntpath — clearAntpath","text":"map map widget object, possibly created leaflet() likely leafletProxy()","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearAntpath.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"clearAntpath — clearAntpath","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearArrowhead.html","id":null,"dir":"Reference","previous_headings":"","what":"Remove arrowheads from Lines by group — clearArrowhead","title":"Remove arrowheads from Lines by group — clearArrowhead","text":"Remove arrowheads Lines group","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearArrowhead.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Remove arrowheads from Lines by group — clearArrowhead","text":"","code":"clearArrowhead(map, group)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearArrowhead.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Remove arrowheads from Lines by group — clearArrowhead","text":"map map group group name","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearArrowhead.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Remove arrowheads from Lines by group — clearArrowhead","text":"modified leaflet map","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearFuture.html","id":null,"dir":"Reference","previous_headings":"","what":"clearFuture — clearFuture","title":"clearFuture — clearFuture","text":"Resets stack future items.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearFuture.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"clearFuture — clearFuture","text":"","code":"clearFuture(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearFuture.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"clearFuture — clearFuture","text":"map map widget object created leafletProxy","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearFuture.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"clearFuture — clearFuture","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearFuture.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"clearFuture — clearFuture","text":"https://github.com/cscott530/leaflet-history","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearHexbin.html","id":null,"dir":"Reference","previous_headings":"","what":"clearHexbin — clearHexbin","title":"clearHexbin — clearHexbin","text":"Clears data hexbinLayer.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearHexbin.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"clearHexbin — clearHexbin","text":"","code":"clearHexbin(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearHexbin.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"clearHexbin — clearHexbin","text":"map map widget","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearHexbin.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"clearHexbin — clearHexbin","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearHistory.html","id":null,"dir":"Reference","previous_headings":"","what":"clearHistory — clearHistory","title":"clearHistory — clearHistory","text":"Resets stack history items.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearHistory.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"clearHistory — clearHistory","text":"","code":"clearHistory(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearHistory.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"clearHistory — clearHistory","text":"map map widget object created leafletProxy","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearHistory.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"clearHistory — clearHistory","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearHistory.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"clearHistory — clearHistory","text":"https://github.com/cscott530/leaflet-history","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/closeSidebar.html","id":null,"dir":"Reference","previous_headings":"","what":"Close the Sidebar — closeSidebar","title":"Close the Sidebar — closeSidebar","text":"Close Sidebar","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/closeSidebar.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Close the Sidebar — closeSidebar","text":"","code":"closeSidebar(map, sidebar_id = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/closeSidebar.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Close the Sidebar — closeSidebar","text":"map leaflet map widget sidebar_id id sidebar (per sidebar_tabs). Defaults NULL first sidebar used.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/closeSidebar.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Close the Sidebar — closeSidebar","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clusterchartOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"clusterchartOptions — clusterchartOptions","title":"clusterchartOptions — clusterchartOptions","text":"Adds options clusterCharts","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clusterchartOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"clusterchartOptions — clusterchartOptions","text":"","code":"clusterchartOptions( rmax = 30, size = c(20, 20), width = 40, height = 50, strokeWidth = 1, innerRadius = 10, labelBackground = FALSE, labelFill = \"white\", labelStroke = \"black\", labelColor = \"black\", labelOpacity = 0.9, digits = 2, sortTitlebyCount = TRUE )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clusterchartOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"clusterchartOptions — clusterchartOptions","text":"rmax maximum radius clusters. size size cluster markers. width width bar-charts. height height bar-charts. strokeWidth stroke width chart. innerRadius inner radius pie-charts. labelBackground label background? Default `FALSE` labelFill label background color. Default `white` labelStroke label stroke color. Default `black` labelColor label color. Default `black` labelOpacity label color. Default `0.9` digits amount digits. Default `2` sortTitlebyCount svg-title sorted count categories.","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_mapmenuItems.html","id":null,"dir":"Reference","previous_headings":"","what":"context_mapmenuItems — context_mapmenuItems","title":"context_mapmenuItems — context_mapmenuItems","text":"context_mapmenuItems","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_mapmenuItems.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"context_mapmenuItems — context_mapmenuItems","text":"","code":"context_mapmenuItems(...)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_mapmenuItems.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"context_mapmenuItems — context_mapmenuItems","text":"... contextmenu item/s","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_mapmenuItems.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"context_mapmenuItems — context_mapmenuItems","text":"list context_menuItem map","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_markermenuItems.html","id":null,"dir":"Reference","previous_headings":"","what":"context_markermenuItems — context_markermenuItems","title":"context_markermenuItems — context_markermenuItems","text":"context_markermenuItems","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_markermenuItems.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"context_markermenuItems — context_markermenuItems","text":"","code":"context_markermenuItems(...)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_markermenuItems.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"context_markermenuItems — context_markermenuItems","text":"... contextmenu item/s","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_markermenuItems.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"context_markermenuItems — context_markermenuItems","text":"list context_menuItem markers","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_menuItem.html","id":null,"dir":"Reference","previous_headings":"","what":"context_menuItem — context_menuItem","title":"context_menuItem — context_menuItem","text":"context_menuItem","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_menuItem.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"context_menuItem — context_menuItem","text":"","code":"context_menuItem(text, callback = NULL, ...)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_menuItem.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"context_menuItem — context_menuItem","text":"text label use menu item callback callback function invoked menu item clicked. callback passed object properties identifying location menu opened : latlng, layerPoint containerPoint. callback-function must valid JavaScript wrapped JS. ... options please visit https://github.com/aratcliffe/Leaflet.contextmenu","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_menuItem.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"context_menuItem — context_menuItem","text":"contextmenu item list","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/disableContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"disableContextmenu — disableContextmenu","title":"disableContextmenu — disableContextmenu","text":"Disable contextmenu","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/disableContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"disableContextmenu — disableContextmenu","text":"","code":"disableContextmenu(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/disableContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"disableContextmenu — disableContextmenu","text":"map map widget object created leaflet","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/disableContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"disableContextmenu — disableContextmenu","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintMap.html","id":null,"dir":"Reference","previous_headings":"","what":"easyprintMap — easyprintMap","title":"easyprintMap — easyprintMap","text":"Print export map programmatically (e.g. Shiny environment).","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintMap.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"easyprintMap — easyprintMap","text":"","code":"easyprintMap(map, sizeModes = \"A4Portrait\", filename = \"map\")"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintMap.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"easyprintMap — easyprintMap","text":"map map widget sizeModes Must match one given sizeMode names easyprintOptions. options : CurrentSize, A4Portrait A4Landscape. want print map Custom sizeMode need pass Custom className. Default A4Portrait filename Name file exportOnly option TRUE.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintMap.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"easyprintMap — easyprintMap","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintMap.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"easyprintMap — easyprintMap","text":"","code":"## Only run examples in interactive R sessions if (interactive()) { library(shiny) library(leaflet) library(leaflet.extras2) ui <- fluidPage( leafletOutput(\"map\"), selectInput(\"scene\", \"Select Scene\", choices = c(\"CurrentSize\", \"A4Landscape\", \"A4Portrait\")), actionButton(\"print\", \"Print Map\") ) server <- function(input, output, session) { output$map <- renderLeaflet({ input$print leaflet() %>% addTiles() %>% setView(10, 50, 9) %>% addEasyprint(options = easyprintOptions( exportOnly = TRUE )) }) observeEvent(input$print, { leafletProxy(\"map\") %>% easyprintMap(sizeModes = input$scene) }) } shinyApp(ui, server) }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"easyprintOptions — easyprintOptions","title":"easyprintOptions — easyprintOptions","text":"Create list options easyprint plugin.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"easyprintOptions — easyprintOptions","text":"","code":"easyprintOptions( title = \"Print map\", position = \"topleft\", sizeModes = list(\"A4Portrait\", \"A4Landscape\", \"CurrentSize\"), defaultSizeTitles = NULL, exportOnly = FALSE, tileLayer = NULL, tileWait = 500, filename = \"map\", hidden = FALSE, hideControlContainer = TRUE, hideClasses = NULL, customWindowTitle = NULL, spinnerBgColor = \"#0DC5C1\", customSpinnerClass = \"epLoader\" )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"easyprintOptions — easyprintOptions","text":"title Sets text appears tooltip print/export button position Positions print button sizeModes Either character vector one following options: CurrentSize, A4Portrait, A4Landscape. want include Custom size mode need pass named list, width, height, name className assign background-image CSS. See example ./inst/examples/easyprint_app.R. defaultSizeTitles Button tooltips default page sizes exportOnly set TRUE map exported .png file tileLayer group name one tile layer can wait draw (helpful resizing) tileWait long wait tiles draw (helpful resizing) filename Name file exportOnly option TRUE hidden Set TRUE want display toolbar. Instead can create buttons fire print events programmatically. hideControlContainer Hides leaflet controls like zoom buttons attribution print hideClasses Use character vector list CSS-classes hide output image. customWindowTitle title print window get added printed paper spinnerBgColor valid css colour spinner background color customSpinnerClass class custom css spinner use waiting print.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"easyprintOptions — easyprintOptions","text":"list options 'easyprint' control","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintOptions.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"easyprintOptions — easyprintOptions","text":"https://github.com/rowanwins/leaflet-easyPrint","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/enableContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"enableContextmenu — enableContextmenu","title":"enableContextmenu — enableContextmenu","text":"Enable contextmenu","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/enableContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"enableContextmenu — enableContextmenu","text":"","code":"enableContextmenu(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/enableContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"enableContextmenu — enableContextmenu","text":"map map widget object created leaflet","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/enableContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"enableContextmenu — enableContextmenu","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/gibs_layers.html","id":null,"dir":"Reference","previous_headings":"","what":"The available GIBS layers with attributes — gibs_layers","title":"The available GIBS layers with attributes — gibs_layers","text":"available GIBS layers attributes","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/gibs_layers.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"The available GIBS layers with attributes — gibs_layers","text":"","code":"gibs_layers"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/gibs_layers.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"The available GIBS layers with attributes — gibs_layers","text":"object class data.frame 276 rows 4 columns.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goBackHistory.html","id":null,"dir":"Reference","previous_headings":"","what":"goBackHistory — goBackHistory","title":"goBackHistory — goBackHistory","text":"possible, go previous map extent. Pushes current extent \"future\" stack.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goBackHistory.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"goBackHistory — goBackHistory","text":"","code":"goBackHistory(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goBackHistory.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"goBackHistory — goBackHistory","text":"map map widget object created leafletProxy","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goBackHistory.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"goBackHistory — goBackHistory","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goBackHistory.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"goBackHistory — goBackHistory","text":"https://github.com/cscott530/leaflet-history","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goForwardHistory.html","id":null,"dir":"Reference","previous_headings":"","what":"goForwardHistory — goForwardHistory","title":"goForwardHistory — goForwardHistory","text":"possible, go next map extent. Pushes current extent \"back\" stack.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goForwardHistory.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"goForwardHistory — goForwardHistory","text":"","code":"goForwardHistory(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goForwardHistory.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"goForwardHistory — goForwardHistory","text":"map map widget object created leafletProxy","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goForwardHistory.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"goForwardHistory — goForwardHistory","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goForwardHistory.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"goForwardHistory — goForwardHistory","text":"https://github.com/cscott530/leaflet-history","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/heightgraphOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"heightgraphOptions — heightgraphOptions","title":"heightgraphOptions — heightgraphOptions","text":"Customize heightgraph following additional options.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/heightgraphOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"heightgraphOptions — heightgraphOptions","text":"","code":"heightgraphOptions( position = c(\"bottomright\", \"topleft\", \"topright\", \"bottomleft\"), width = 800, height = 200, margins = list(top = 10, right = 30, bottom = 55, left = 50), expand = TRUE, expandCallback = NULL, mappings = NULL, highlightStyle = list(color = \"red\"), translation = NULL, xTicks = 3, yTicks = 3 )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/heightgraphOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"heightgraphOptions — heightgraphOptions","text":"position position control: \"topleft\", \"topright\", \"bottomleft\", \"bottomright\". Default bottomright. width width expanded heightgraph display pixels. Default 800. height height expanded heightgraph display pixels. Default 200. margins margins define distance border heightgraph actual graph inside. able specify margins top, right, bottom left pixels. Default list(top = 10, right = 30, bottom = 55, left = 50). expand Boolean value defines heightgraph expanded creation. Default 200. expandCallback Function called heightgraph expanded reduced. state heightgraph passed argument. TRUE expanded FALSE reduced. Default NULL. mappings may add mappings object customize colors labels height graph. Without adding custom mappings segments labels within graph displayed random colors. key object must correspond summary key properties within FeatureCollection. Default NULL. highlightStyle can customize highlight style using horizontal line find parts route elevation value. Use Leaflet Path options value highlightStyle parameter. Default list(color = \"red\"). translation can change labels heightgraph info field passing translations distance, elevation, segment_length, type legend. Default NULL. xTicks Specify tick frequency x axis graph. Corresponds approximately 2 power value ticks. Default 3. yTicks Specify tick frequency y axis graph. Corresponds approximately 2 power value ticks. Default 3.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/heightgraphOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"heightgraphOptions — heightgraphOptions","text":"list options addHeightgraph","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hexbinOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"hexbinOptions — hexbinOptions","title":"hexbinOptions — hexbinOptions","text":"list options customizing appearance/behavior hexbin layer.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hexbinOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"hexbinOptions — hexbinOptions","text":"","code":"hexbinOptions( duration = 200, colorScaleExtent = NULL, radiusScaleExtent = NULL, colorRange = c(\"#f7fbff\", \"#08306b\"), radiusRange = c(5, 15), pointerEvents = \"all\", resizetoCount = FALSE, tooltip = \"Count \" )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hexbinOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"hexbinOptions — hexbinOptions","text":"duration Transition duration hexbin layer colorScaleExtent extent color scale hexbin layer. used override derived extent color values specified vector form c(min= numeric, max= numeric). Can numeric vector custom JS array, like (JS(\"[40, undefined]\")) radiusScaleExtent exact configuration option colorScaleExtent, applied radius extent. colorRange Sets range color scale used fill hexbins layer. radiusRange Sets range radius scale used size hexbins layer. pointerEvents value passed directly element-level css style pointer-events. modify config option want change mouse event behavior hexbins. modify events propagated based visibility state /part hexbin hovered. resizetoCount Resizes hexbin count. Default FALSE. set TRUE resize based amount underlying elements. can also pass custom JS function. tooltip tooltips displayed? set TRUE, show amount underlying elements. string given, append string count. disable tooltips, please pass NULL FALSE. can also pass custom JS function.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hexbinOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"hexbinOptions — hexbinOptions","text":"list hexbin-specific options","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hideContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"hideContextmenu — hideContextmenu","title":"hideContextmenu — hideContextmenu","text":"Hide contextmenu","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hideContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"hideContextmenu — hideContextmenu","text":"","code":"hideContextmenu(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hideContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"hideContextmenu — hideContextmenu","text":"map map widget object created leaflet","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hideContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"hideContextmenu — hideContextmenu","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hideHexbin.html","id":null,"dir":"Reference","previous_headings":"","what":"hideHexbin — hideHexbin","title":"hideHexbin — hideHexbin","text":"Hide hexbinLayer.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hideHexbin.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"hideHexbin — hideHexbin","text":"","code":"hideHexbin(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hideHexbin.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"hideHexbin — hideHexbin","text":"map map widget","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hideHexbin.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"hideHexbin — hideHexbin","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/historyOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"History Options — historyOptions","title":"History Options — historyOptions","text":"History Options","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/historyOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"History Options — historyOptions","text":"","code":"historyOptions( position = c(\"topright\", \"topleft\", \"bottomleft\", \"bottomright\"), maxMovesToSave = 10, backImage = \"fa fa-caret-left\", forwardImage = \"fa fa-caret-right\", backText = \"\", forwardText = \"\", backTooltip = \"Go to Previous Extent\", forwardTooltip = \"Go to Next Extent\", backImageBeforeText = TRUE, forwardImageBeforeText = FALSE, orientation = c(\"horizontal\", \"vertical\"), shouldSaveMoveInHistory = NULL )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/historyOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"History Options — historyOptions","text":"position Set position History control. Default topright. maxMovesToSave Number moves history save clearing oldest. Default value 10, use 0 negative number make unlimited. backImage class `back` button icon. Default \"fa fa-caret-left\". forwardImage class `forward` button icon. Default \"fa fa-caret-right\". backText text buttons. Default ”. forwardText text buttons. Default ”. backTooltip Tooltip content. Default \"Go Previous Extent\". forwardTooltip Tooltip content. Default \"Go Next Extent\". backImageBeforeText text image present, whether show image first text first (left right). Default TRUE forwardImageBeforeText text image present, whether show image first text first (left right). Default FALSE orientation Whether position buttons top one another side--side. Default horizontal shouldSaveMoveInHistory JS callback can provide gets called every move. return false save move.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/historyOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"History Options — historyOptions","text":"list options addHistory","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/historyOptions.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"History Options — historyOptions","text":"https://github.com/cscott530/leaflet-history","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/historyOptions.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"History Options — historyOptions","text":"","code":"library(leaflet) leaflet() %>% addTiles() %>% addHistory(options = historyOptions(position = \"bottomright\", maxMovesToSave = 20, backText = \"Go back\", forwardText = \"Go forward\", orientation = \"vertical\" )) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addHistory\",\"args\":[null,{\"position\":\"bottomright\",\"maxMovesToSave\":20,\"backImage\":\"fa fa-caret-left\",\"forwardImage\":\"fa fa-caret-right\",\"backText\":\"Go back\",\"forwardText\":\"Go forward\",\"backTooltip\":\"Go to Previous Extent\",\"forwardTooltip\":\"Go to Next Extent\",\"backImageBeforeText\":true,\"forwardImageBeforeText\":false,\"orientation\":\"vertical\"}]}]},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/insertItemContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"insertItemContextmenu — insertItemContextmenu","title":"insertItemContextmenu — insertItemContextmenu","text":"Insert new contextmenu menu item specific index","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/insertItemContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"insertItemContextmenu — insertItemContextmenu","text":"","code":"insertItemContextmenu(map, option, index)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/insertItemContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"insertItemContextmenu — insertItemContextmenu","text":"map map widget object created leaflet option new menu item add index Index contextmenu. (NOTE: Since index passed JavaScript, zero-based)","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/insertItemContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"insertItemContextmenu — insertItemContextmenu","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/isSynced.html","id":null,"dir":"Reference","previous_headings":"","what":"Is a map synchronized? — isSynced","title":"Is a map synchronized? — isSynced","text":"map snychronized specific map? Invoking method sets Shiny input returns TRUE map synchronized another map. syncwith set, TRUE returned map synchronized exactly map.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/isSynced.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Is a map synchronized? — isSynced","text":"","code":"isSynced(map, id = NULL, syncwith = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/isSynced.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Is a map synchronized? — isSynced","text":"map map id map id syncwith map synchronized one maps?","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/isSynced.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Is a map synchronized? — isSynced","text":"map","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/isSynced.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Is a map synchronized? — isSynced","text":"Siny input name combined map-id \"_synced\". map id map1 input can retrieved input$map1_synced.","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/leaflet.extras2-package.html","id":null,"dir":"Reference","previous_headings":"","what":"leaflet.extras2: Extra Functionality for 'leaflet' Package — leaflet.extras2-package","title":"leaflet.extras2: Extra Functionality for 'leaflet' Package — leaflet.extras2-package","text":"Several 'leaflet' plugins integrated, available extension 'leaflet' package.","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/leaflet.extras2-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"leaflet.extras2: Extra Functionality for 'leaflet' Package — leaflet.extras2-package","text":"Maintainer: Gatscha Sebastian sebastian_gatscha@gmx.contributors: Ricardo Rodrigo Basa radbasa@gmail.com [contributor] Jeffrey O Hanson jeffrey.hanson@uqconnect.edu.au (ORCID) [contributor]","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/leafletsyncOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"leafletsync Options — leafletsyncOptions","title":"leafletsync Options — leafletsyncOptions","text":"Additional list options.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/leafletsyncOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"leafletsync Options — leafletsyncOptions","text":"","code":"leafletsyncOptions( noInitialSync = FALSE, syncCursor = TRUE, offsetFn = JS(\"function (center, zoom, refMap, tgtMap) { return center; }\") )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/leafletsyncOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"leafletsync Options — leafletsyncOptions","text":"noInitialSync Setting TRUE disables initial synchronization maps. default FALSE. syncCursor default TRUE adds circle marker synced map. offsetFn JavaScript-function compute offset center.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/leafletsyncOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"leafletsync Options — leafletsyncOptions","text":"list options addLeafletsync","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/makeMapkeyIcon.html","id":null,"dir":"Reference","previous_headings":"","what":"Make Mapkey Icon — makeMapkeyIcon","title":"Make Mapkey Icon — makeMapkeyIcon","text":"Make Mapkey Icon","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/makeMapkeyIcon.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Make Mapkey Icon — makeMapkeyIcon","text":"","code":"makeMapkeyIcon( icon = \"mapkey\", color = \"#ff0000\", iconSize = 12, background = \"#1F7499\", borderRadius = \"100%\", hoverScale = 1.4, hoverEffect = TRUE, additionalCSS = NULL, hoverCSS = NULL, htmlCode = NULL, boxShadow = TRUE )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/makeMapkeyIcon.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Make Mapkey Icon — makeMapkeyIcon","text":"icon ID mapkey Icon want use. color CSS color (e.g. 'red','rgba(20,160,90,0.5)', '#686868', ...) iconSize Size Icon Pixels. Default 12 background CSS color false background borderRadius number (circle size/2, square 0.001) hoverScale real number (best result range 1 - 2, use 1 effect) hoverEffect Switch /effect hover additionalCSS CSS code (e.g. \"border:4px solid #aa3838;\") hoverCSS CSS code (e.g. \"background-color:#992b00 !important; color:#99defc !important;\") htmlCode e.g. ''. boxShadow shadow visible","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/makeMapkeyIcon.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Make Mapkey Icon — makeMapkeyIcon","text":"list mapkey-icon data can passed argument icon","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/makeMapkeyIcon.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Make Mapkey Icon — makeMapkeyIcon","text":"https://github.com/mapshakers/leaflet-mapkey-icon","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/makeMapkeyIcon.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Make Mapkey Icon — makeMapkeyIcon","text":"","code":"makeMapkeyIcon(icon = \"traffic_signal\", color = \"#0000ff\", iconSize = 12, boxShadow = FALSE, background=\"transparent\") #> $icon #> [1] \"traffic_signal\" #> #> $color #> [1] \"#0000ff\" #> #> $size #> [1] 12 #> #> $background #> [1] \"transparent\" #> #> $borderRadius #> [1] \"100%\" #> #> $hoverScale #> [1] 1.4 #> #> $hoverEffect #> [1] TRUE #> #> $boxShadow #> [1] FALSE #> #> attr(,\"class\") #> [1] \"leaflet_mapkey_icon\""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIconList.html","id":null,"dir":"Reference","previous_headings":"","what":"Make Mapkey-icon set — mapkeyIconList","title":"Make Mapkey-icon set — mapkeyIconList","text":"Make Mapkey-icon set","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIconList.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Make Mapkey-icon set — mapkeyIconList","text":"","code":"mapkeyIconList(...)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIconList.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Make Mapkey-icon set — mapkeyIconList","text":"... icons created makeMapkeyIcon()","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIconList.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Make Mapkey-icon set — mapkeyIconList","text":"list class \"leaflet_mapkey_icon_set\"","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIconList.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Make Mapkey-icon set — mapkeyIconList","text":"https://github.com/mapshakers/leaflet-mapkey-icon","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIconList.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Make Mapkey-icon set — mapkeyIconList","text":"","code":"iconSet = mapkeyIconList( red = makeMapkeyIcon(color = \"#ff0000\"), blue = makeMapkeyIcon(color = \"#0000ff\") ) iconSet[c(\"red\", \"blue\")] #> $red #> $icon #> [1] \"mapkey\" #> #> $color #> [1] \"#ff0000\" #> #> $size #> [1] 12 #> #> $background #> [1] \"#1F7499\" #> #> $borderRadius #> [1] \"100%\" #> #> $hoverScale #> [1] 1.4 #> #> $hoverEffect #> [1] TRUE #> #> $boxShadow #> [1] TRUE #> #> attr(,\"class\") #> [1] \"leaflet_mapkey_icon\" #> #> $blue #> $icon #> [1] \"mapkey\" #> #> $color #> [1] \"#0000ff\" #> #> $size #> [1] 12 #> #> $background #> [1] \"#1F7499\" #> #> $borderRadius #> [1] \"100%\" #> #> $hoverScale #> [1] 1.4 #> #> $hoverEffect #> [1] TRUE #> #> $boxShadow #> [1] TRUE #> #> attr(,\"class\") #> [1] \"leaflet_mapkey_icon\" #> #> attr(,\"class\") #> [1] \"leaflet_mapkey_icon_set\""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIcons.html","id":null,"dir":"Reference","previous_headings":"","what":"Create a list of Mapkey icon data — mapkeyIcons","title":"Create a list of Mapkey icon data — mapkeyIcons","text":"icon can represented list form list(color, iconSize, ...). function vectorized arguments create list icon data. Shorter argument values re-cycled. NULL values arguments ignored.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIcons.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Create a list of Mapkey icon data — mapkeyIcons","text":"","code":"mapkeyIcons( icon = \"mapkey\", color = \"#ff0000\", iconSize = 12, background = \"#1F7499\", borderRadius = \"100%\", hoverScale = 1.4, hoverEffect = TRUE, hoverCSS = NULL, additionalCSS = NULL, htmlCode = NULL, boxShadow = TRUE )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIcons.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Create a list of Mapkey icon data — mapkeyIcons","text":"icon ID mapkey Icon want use. color CSS color (e.g. 'red','rgba(20,160,90,0.5)', '#686868', ...) iconSize Size Icon Pixels. Default 12 background CSS color false background borderRadius number (circle size/2, square 0.001) hoverScale real number (best result range 1 - 2, use 1 effect) hoverEffect Switch /effect hover hoverCSS CSS code (e.g. \"background-color:#992b00 !important; color:#99defc !important;\") additionalCSS CSS code (e.g. \"border:4px solid #aa3838;\") htmlCode e.g. ''. boxShadow shadow visible","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIcons.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Create a list of Mapkey icon data — mapkeyIcons","text":"list mapkey-icon data can passed argument icon","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIcons.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Create a list of Mapkey icon data — mapkeyIcons","text":"https://github.com/mapshakers/leaflet-mapkey-icon","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIcons.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Create a list of Mapkey icon data — mapkeyIcons","text":"","code":"if (FALSE) { # \\dontrun{ library(leaflet) leaflet() %>% addMapkeyMarkers(data = breweries91, icon = mapkeyIcons( color = \"red\", borderRadius = 0, iconSize = 25)) } # }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapmenuItems.html","id":null,"dir":"Reference","previous_headings":"","what":"mapmenuItems — mapmenuItems","title":"mapmenuItems — mapmenuItems","text":"mapmenuItems","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapmenuItems.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"mapmenuItems — mapmenuItems","text":"","code":"mapmenuItems(...)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapmenuItems.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"mapmenuItems — mapmenuItems","text":"... contextmenu item/s","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapmenuItems.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"mapmenuItems — mapmenuItems","text":"list menuItem map","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/markermenuItems.html","id":null,"dir":"Reference","previous_headings":"","what":"markermenuItems — markermenuItems","title":"markermenuItems — markermenuItems","text":"markermenuItems","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/markermenuItems.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"markermenuItems — markermenuItems","text":"","code":"markermenuItems(...)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/markermenuItems.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"markermenuItems — markermenuItems","text":"... contextmenu item/s","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/markermenuItems.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"markermenuItems — markermenuItems","text":"list menuItem markers","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/menuItem.html","id":null,"dir":"Reference","previous_headings":"","what":"menuItem — menuItem","title":"menuItem — menuItem","text":"menuItem","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/menuItem.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"menuItem — menuItem","text":"","code":"menuItem(text, callback = NULL, ...)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/menuItem.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"menuItem — menuItem","text":"text label use menu item callback callback function invoked menu item clicked. callback passed object properties identifying location menu opened : latlng, layerPoint containerPoint. callback-function must valid JavaScript wrapped JS. ... options please visit https://github.com/aratcliffe/Leaflet.contextmenu","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/menuItem.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"menuItem — menuItem","text":"contextmenu item list","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/movingMarkerOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"Set options for Moving Markers — movingMarkerOptions","title":"Set options for Moving Markers — movingMarkerOptions","text":"Set options Moving Markers","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/movingMarkerOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Set options for Moving Markers — movingMarkerOptions","text":"","code":"movingMarkerOptions(autostart = FALSE, loop = FALSE, pauseOnZoom = FALSE)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/movingMarkerOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Set options for Moving Markers — movingMarkerOptions","text":"autostart TRUE marker start automatically added map. Default FALSE loop TRUE marker start automatically beginning polyline arrives end. Default FALSE pauseOnZoom Pause marker zooming. improves animation, recommended animation time lost marker appear correct time next station. Default FALSE","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/movingMarkerOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Set options for Moving Markers — movingMarkerOptions","text":"list extra options moving markers","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/movingMarkerOptions.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Set options for Moving Markers — movingMarkerOptions","text":"https://github.com/ewoken/Leaflet.MovingMarker","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openSidebar.html","id":null,"dir":"Reference","previous_headings":"","what":"Open the Sidebar by ID — openSidebar","title":"Open the Sidebar by ID — openSidebar","text":"Open Sidebar ID","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openSidebar.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Open the Sidebar by ID — openSidebar","text":"","code":"openSidebar(map, id, sidebar_id = NULL, ns = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openSidebar.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Open the Sidebar by ID — openSidebar","text":"map leaflet map widget id id sidebar_pane open. sidebar_id id sidebar (per sidebar_tabs). Defaults NULL first sidebar used. ns namespace function, used Shiny modules.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openSidebar.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Open the Sidebar by ID — openSidebar","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openweatherCurrentOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"openweatherCurrentOptions — openweatherCurrentOptions","title":"openweatherCurrentOptions — openweatherCurrentOptions","text":"openweatherCurrentOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openweatherCurrentOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"openweatherCurrentOptions — openweatherCurrentOptions","text":"","code":"openweatherCurrentOptions(lang = \"en\", minZoom = 7, interval = 10, ...)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openweatherCurrentOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"openweatherCurrentOptions — openweatherCurrentOptions","text":"lang 'en', 'de', 'ru', 'fr', 'es', 'ca'. Language popup texts. Note: every translation finished yet. minZoom Number (7). Minimal zoom level fetching city data. Use smaller values risk. interval Number (0). Time minutes reload city data. Please use less 10 minutes. ... options passed L.OWM.current. See full list options","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openweatherCurrentOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"openweatherCurrentOptions — openweatherCurrentOptions","text":"list options addOpenweatherCurrent","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openweatherOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"OpenWeatherMap Options — openweatherOptions","title":"OpenWeatherMap Options — openweatherOptions","text":"OpenWeatherMap Options","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openweatherOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"OpenWeatherMap Options — openweatherOptions","text":"","code":"openweatherOptions( showLegend = TRUE, legendImagePath = NULL, legendPosition = c(\"bottomleft\", \"bottomright\", \"topleft\", \"topright\") )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openweatherOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"OpenWeatherMap Options — openweatherOptions","text":"showLegend TRUE option legendImagePath set legend image map legendImagePath URL (set default image layers, null others, see ). URL relative path image legend layer legendPosition Position legend images map. Must one 'bottomleft', 'bottomright', 'topleft', 'topright'","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openweatherOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"OpenWeatherMap Options — openweatherOptions","text":"list options addOpenweatherTiles","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/playbackOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"playbackOptions — playbackOptions","title":"playbackOptions — playbackOptions","text":"list options addPlayback. full list please visit plugin repository.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/playbackOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"playbackOptions — playbackOptions","text":"","code":"playbackOptions( color = \"blue\", radius = 5, tickLen = 250, speed = 50, maxInterpolationTime = 5 * 60 * 1000, tracksLayer = TRUE, playControl = TRUE, dateControl = TRUE, sliderControl = TRUE, orientIcons = FALSE, staleTime = 60 * 60 * 1000, transitionpopup = TRUE, transitionlabel = TRUE, ... )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/playbackOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"playbackOptions — playbackOptions","text":"color colors CircleMarkers. radius numeric value radius CircleMarkers. tickLen Set tick length milliseconds. Increasing value, may improve performance, cost animation smoothness. Default 250 speed Set float multiplier default animation speed. Default 50 maxInterpolationTime Set max interpolation time milliseconds. Default 5*60*1000 (5 minutes). tracksLayer Set TRUE want show layer control map. Default TRUE playControl Set TRUE play button needed. Default TRUE dateControl Set TRUE date label needed. Default TRUE sliderControl Set TRUE slider control needed. Default TRUE orientIcons Set TRUE want icons orient tick based bearing towards next location. Default: FALSE staleTime Set time track considered stale faded . Default 60*60*1000 (1 hour) transitionpopup position popup move smoothly, like marker icon? Default: TRUE transitionlabel position label move smoothly, like marker icon? Default: TRUE ... arguments passed `L.Playback`","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/playbackOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"playbackOptions — playbackOptions","text":"list options addPlayback","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/playbackOptions.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"playbackOptions — playbackOptions","text":"https://github.com/hallahan/LeafletPlayback","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/reachabilityOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"reachabilityOptions — reachabilityOptions","title":"reachabilityOptions — reachabilityOptions","text":"Add extra options. full list please visit plugin repository.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/reachabilityOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"reachabilityOptions — reachabilityOptions","text":"","code":"reachabilityOptions( collapsed = TRUE, pane = \"overlayPane\", position = \"topleft\", ... )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/reachabilityOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"reachabilityOptions — reachabilityOptions","text":"collapsed control widget start collapsed mode. Default TRUE pane Leaflet pane add isolines GeoJSON . Default overlayPane position Leaflet control pane position. Default topleft ... arguments passed `L.Control.Reachability`","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/reachabilityOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"reachabilityOptions — reachabilityOptions","text":"list options addReachability","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/reachabilityOptions.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"reachabilityOptions — reachabilityOptions","text":"https://github.com/traffordDataLab/leaflet.reachability","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeAntpath.html","id":null,"dir":"Reference","previous_headings":"","what":"removeAntpath — removeAntpath","title":"removeAntpath — removeAntpath","text":"Remove one Antpaths map, identified layerId.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeAntpath.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"removeAntpath — removeAntpath","text":"","code":"removeAntpath(map, layerId = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeAntpath.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"removeAntpath — removeAntpath","text":"map map widget object, possibly created leaflet() likely leafletProxy() layerId character vector; layer id(s) item remove","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeAntpath.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"removeAntpath — removeAntpath","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeArrowhead.html","id":null,"dir":"Reference","previous_headings":"","what":"Remove arrowheads from Lines by layerId — removeArrowhead","title":"Remove arrowheads from Lines by layerId — removeArrowhead","text":"Remove arrowheads Lines layerId","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeArrowhead.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Remove arrowheads from Lines by layerId — removeArrowhead","text":"","code":"removeArrowhead(map, layerId)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeArrowhead.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Remove arrowheads from Lines by layerId — removeArrowhead","text":"map map layerId single layerId vector layerId's","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeArrowhead.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Remove arrowheads from Lines by layerId — removeArrowhead","text":"modified leaflet map","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeEasyprint.html","id":null,"dir":"Reference","previous_headings":"","what":"removeEasyprint — removeEasyprint","title":"removeEasyprint — removeEasyprint","text":"Removes easyprint control map.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeEasyprint.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"removeEasyprint — removeEasyprint","text":"","code":"removeEasyprint(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeEasyprint.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"removeEasyprint — removeEasyprint","text":"map map widget","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeEasyprint.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"removeEasyprint — removeEasyprint","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeItemContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"removeItemContextmenu — removeItemContextmenu","title":"removeItemContextmenu — removeItemContextmenu","text":"Remove contextmenu item index.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeItemContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"removeItemContextmenu — removeItemContextmenu","text":"","code":"removeItemContextmenu(map, index)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeItemContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"removeItemContextmenu — removeItemContextmenu","text":"map map widget object created leaflet index Index contextmenu. (NOTE: Since index passed JavaScript, zero-based)","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeItemContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"removeItemContextmenu — removeItemContextmenu","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removePlayback.html","id":null,"dir":"Reference","previous_headings":"","what":"removePlayback — removePlayback","title":"removePlayback — removePlayback","text":"Remove Playback controls markers.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removePlayback.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"removePlayback — removePlayback","text":"","code":"removePlayback(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removePlayback.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"removePlayback — removePlayback","text":"map map widget","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removePlayback.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"removePlayback — removePlayback","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeReachability.html","id":null,"dir":"Reference","previous_headings":"","what":"removeReachability — removeReachability","title":"removeReachability — removeReachability","text":"Remove reachability controls.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeReachability.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"removeReachability — removeReachability","text":"","code":"removeReachability(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeReachability.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"removeReachability — removeReachability","text":"map map widget.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeReachability.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"removeReachability — removeReachability","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeSidebar.html","id":null,"dir":"Reference","previous_headings":"","what":"Remove the Sidebar — removeSidebar","title":"Remove the Sidebar — removeSidebar","text":"Remove Sidebar","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeSidebar.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Remove the Sidebar — removeSidebar","text":"","code":"removeSidebar(map, sidebar_id = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeSidebar.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Remove the Sidebar — removeSidebar","text":"map leaflet map widget sidebar_id id sidebar (per sidebar_tabs). Defaults NULL first sidebar removed.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeSidebar.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Remove the Sidebar — removeSidebar","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeSidebyside.html","id":null,"dir":"Reference","previous_headings":"","what":"removeSidebyside — removeSidebyside","title":"removeSidebyside — removeSidebyside","text":"removeSidebyside","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeSidebyside.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"removeSidebyside — removeSidebyside","text":"","code":"removeSidebyside(map, layerId = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeSidebyside.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"removeSidebyside — removeSidebyside","text":"map map widget layerId layer id addSidebyside layer","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeSidebyside.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"removeSidebyside — removeSidebyside","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeTimeslider.html","id":null,"dir":"Reference","previous_headings":"","what":"removeTimeslider — removeTimeslider","title":"removeTimeslider — removeTimeslider","text":"Remove Timeslider controls markers.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeTimeslider.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"removeTimeslider — removeTimeslider","text":"","code":"removeTimeslider(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeTimeslider.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"removeTimeslider — removeTimeslider","text":"map map widget","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeTimeslider.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"removeTimeslider — removeTimeslider","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeVelocity.html","id":null,"dir":"Reference","previous_headings":"","what":"removeVelocity — removeVelocity","title":"removeVelocity — removeVelocity","text":"removeVelocity","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeVelocity.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"removeVelocity — removeVelocity","text":"","code":"removeVelocity(map, group)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeVelocity.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"removeVelocity — removeVelocity","text":"map map widget group group remove","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeVelocity.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"removeVelocity — removeVelocity","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeallItemsContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"removeallItemsContextmenu — removeallItemsContextmenu","title":"removeallItemsContextmenu — removeallItemsContextmenu","text":"Remove contextmenu items map.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeallItemsContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"removeallItemsContextmenu — removeallItemsContextmenu","text":"","code":"removeallItemsContextmenu(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeallItemsContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"removeallItemsContextmenu — removeallItemsContextmenu","text":"map map widget object created leaflet","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeallItemsContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"removeallItemsContextmenu — removeallItemsContextmenu","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setBuildingData.html","id":null,"dir":"Reference","previous_headings":"","what":"Update the OSM-Buildings Data — setBuildingData","title":"Update the OSM-Buildings Data — setBuildingData","text":"Update OSM-Buildings Data","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setBuildingData.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Update the OSM-Buildings Data — setBuildingData","text":"","code":"setBuildingData(map, data)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setBuildingData.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Update the OSM-Buildings Data — setBuildingData","text":"map map widget object created leaflet. data GeoJSON object containing Polygon features representing buildings. properties polygons can include attributes like height, color, roofColor, others specified OSM Buildings documentation.","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setBuildingStyle.html","id":null,"dir":"Reference","previous_headings":"","what":"Update the OSM-Buildings Style — setBuildingStyle","title":"Update the OSM-Buildings Style — setBuildingStyle","text":"Update OSM-Buildings Style","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setBuildingStyle.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Update the OSM-Buildings Style — setBuildingStyle","text":"","code":"setBuildingStyle( map, style = list(color = \"#ffcc00\", wallColor = \"#ffcc00\", roofColor = \"orange\", shadows = TRUE) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setBuildingStyle.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Update the OSM-Buildings Style — setBuildingStyle","text":"map map widget object created leaflet. style named list styles","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setBuildingStyle.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Update the OSM-Buildings Style — setBuildingStyle","text":"","code":"library(leaflet) library(leaflet.extras2) style <- list(color = \"#0000ff\", wallColor = \"gray\", roofColor = \"orange\", shadows = TRUE) leaflet() %>% addTiles() %>% addBuildings() %>% setBuildingStyle(style) %>% setView(13.40, 52.51836,15) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addBuilding\",\"args\":[\"https://{s}.data.osmbuildings.org/0.2/59fcc2e8/tile/{z}/{x}/{y}.json\",null,null,null,null]},{\"method\":\"setBuildingStyle\",\"args\":[{\"color\":\"#0000ff\",\"wallColor\":\"gray\",\"roofColor\":\"orange\",\"shadows\":true}]}],\"setView\":[[52.51836,13.4],15,[]]},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setDate.html","id":null,"dir":"Reference","previous_headings":"","what":"Set Date for GIBS Layers — setDate","title":"Set Date for GIBS Layers — setDate","text":"Set new date multi-temporal layers.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setDate.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Set Date for GIBS Layers — setDate","text":"","code":"setDate(map, layers = NULL, dates = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setDate.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Set Date for GIBS Layers — setDate","text":"map map widget object created leaflet() layers character vector GIBS-layers. See gibs_layers dates Date object. multiple layers added, can add Date vector length","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setDate.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Set Date for GIBS Layers — setDate","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setDisabledContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"setDisabledContextmenu — setDisabledContextmenu","title":"setDisabledContextmenu — setDisabledContextmenu","text":"Enable/Disable contextmenu item index.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setDisabledContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"setDisabledContextmenu — setDisabledContextmenu","text":"","code":"setDisabledContextmenu(map, index, disabled = TRUE)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setDisabledContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"setDisabledContextmenu — setDisabledContextmenu","text":"map map widget object created leaflet index Index contextmenu. (NOTE: Since index passed JavaScript, zero-based) disabled Set TRUE disable element FALSE enable . Default TRUE","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setDisabledContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"setDisabledContextmenu — setDisabledContextmenu","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setOptionsVelocity.html","id":null,"dir":"Reference","previous_headings":"","what":"setOptionsVelocity — setOptionsVelocity","title":"setOptionsVelocity — setOptionsVelocity","text":"setOptionsVelocity","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setOptionsVelocity.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"setOptionsVelocity — setOptionsVelocity","text":"","code":"setOptionsVelocity(map, layerId, options)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setOptionsVelocity.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"setOptionsVelocity — setOptionsVelocity","text":"map map widget layerId layer id options see velocityOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setOptionsVelocity.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"setOptionsVelocity — setOptionsVelocity","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setTransparent.html","id":null,"dir":"Reference","previous_headings":"","what":"Set Transparency for GIBS Layers — setTransparent","title":"Set Transparency for GIBS Layers — setTransparent","text":"Change transparency -data pixels.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setTransparent.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Set Transparency for GIBS Layers — setTransparent","text":"","code":"setTransparent(map, layers = NULL, transparent = TRUE)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setTransparent.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Set Transparency for GIBS Layers — setTransparent","text":"map map widget object created leaflet() layers character vector GIBS-layers. See gibs_layers transparent layer transparent. multiple layers added, can add boolean vector length","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setTransparent.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Set Transparency for GIBS Layers — setTransparent","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/showContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"showContextmenu — showContextmenu","title":"showContextmenu — showContextmenu","text":"Open contextmenu certain lat/lng-coordinates","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/showContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"showContextmenu — showContextmenu","text":"","code":"showContextmenu(map, lat = NULL, lng = NULL, data = leaflet::getMapData(map))"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/showContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"showContextmenu — showContextmenu","text":"map map widget object created leaflet() lat vector latitudes formula (similar lng argument; names lat latitude used guessing latitude column data) lng numeric vector longitudes, one-sided formula form ~x x variable data; default (explicitly provided), automatically inferred data looking column named lng, long, longitude (case-insensitively) data data object argument values derived; default, data object provided leaflet() initially, can overridden","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/showContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"showContextmenu — showContextmenu","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/showHexbin.html","id":null,"dir":"Reference","previous_headings":"","what":"showHexbin — showHexbin","title":"showHexbin — showHexbin","text":"Show hexbinLayer.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/showHexbin.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"showHexbin — showHexbin","text":"","code":"showHexbin(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/showHexbin.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"showHexbin — showHexbin","text":"map map widget","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/showHexbin.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"showHexbin — showHexbin","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_pane.html","id":null,"dir":"Reference","previous_headings":"","what":"Create a Sidebar Pane — sidebar_pane","title":"Create a Sidebar Pane — sidebar_pane","text":"Create Sidebar Pane","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_pane.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Create a Sidebar Pane — sidebar_pane","text":"","code":"sidebar_pane( title = \"Sidebar Title\", id = NULL, icon = icon(\"caret-right\"), ... )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_pane.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Create a Sidebar Pane — sidebar_pane","text":"title title sidebar panel id id sidebar panel icon icon sidebar panel ... List elements include panel","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_pane.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Create a Sidebar Pane — sidebar_pane","text":"shiny.tag sidebar-specific HTML classes","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_pane.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Create a Sidebar Pane — sidebar_pane","text":"https://github.com/Turbo87/sidebar-v2, https://github.com/Turbo87/sidebar-v2/blob/master/doc/usage.md","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_pane.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Create a Sidebar Pane — sidebar_pane","text":"","code":"if (FALSE) { # \\dontrun{ library(shiny) sidebar_pane(id = \"id\", icon = icon(\"cars\"), tags$div()) } # }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_tabs.html","id":null,"dir":"Reference","previous_headings":"","what":"Create a Sidebar — sidebar_tabs","title":"Create a Sidebar — sidebar_tabs","text":"Create Sidebar","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_tabs.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Create a Sidebar — sidebar_tabs","text":"","code":"sidebar_tabs(id = \"sidebar\", iconList = NULL, ...)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_tabs.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Create a Sidebar — sidebar_tabs","text":"id id sidebar, must match id addSidebar. Default \"sidebar\" iconList list icons shown, sidebar collapsed. list required must match amount sidebar_pane. ... individual sidebar_pane's.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_tabs.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Create a Sidebar — sidebar_tabs","text":"shiny.tag individual sidebar panes","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_tabs.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Create a Sidebar — sidebar_tabs","text":"https://github.com/Turbo87/sidebar-v2, https://github.com/Turbo87/sidebar-v2/blob/master/doc/usage.md","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_tabs.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Create a Sidebar — sidebar_tabs","text":"","code":"if (FALSE) { # \\dontrun{ library(shiny) # run example app showing a single sidebar runApp(paste0(system.file(\"examples\", package = \"leaflet.extras2\"), \"/sidebar_app.R\")) # run example app showing two sidebars runApp(paste0(system.file(\"examples\", package = \"leaflet.extras2\"), \"/multi_sidebar_app.R\")) } # }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/startMoving.html","id":null,"dir":"Reference","previous_headings":"","what":"Interact with the moving markers — startMoving","title":"Interact with the moving markers — startMoving","text":"marker begins path resumes paused.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/startMoving.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Interact with the moving markers — startMoving","text":"","code":"startMoving(map, layerId = NULL) stopMoving(map, layerId = NULL) pauseMoving(map, layerId = NULL) resumeMoving(map, layerId = NULL) addLatLngMoving(map, layerId = NULL, latlng, duration) moveToMoving(map, layerId = NULL, latlng, duration) addStationMoving(map, layerId = NULL, pointIndex, duration)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/startMoving.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Interact with the moving markers — startMoving","text":"map leafletProxy object layerId can pass string vector strings moving markers want address. none specified, action applied moving markers. latlng Coordinates list (e.g.: list(33, -67) list(lng=-65, lat=33)) duration Duration milliseconds pointIndex Index certain point","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/startMoving.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Interact with the moving markers — startMoving","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/startMoving.html","id":"functions","dir":"Reference","previous_headings":"","what":"Functions","title":"Interact with the moving markers — startMoving","text":"stopMoving(): Manually stops marker, call start , marker starts polyline beginning. pauseMoving(): Pauses marker resumeMoving(): marker resumes animation addLatLngMoving(): Adds point polyline. Useful, set path one one. moveToMoving(): Stop current animation make marker move latlng duration ms. addStationMoving(): marker stop pointIndex point polyline duration milliseconds. add station first last point polyline.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/startMoving.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Interact with the moving markers — startMoving","text":"https://github.com/ewoken/Leaflet.MovingMarker","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sub-.leaflet_mapkey_icon_set.html","id":null,"dir":"Reference","previous_headings":"","what":"leaflet_mapkey_icon_set — [.leaflet_mapkey_icon_set","title":"leaflet_mapkey_icon_set — [.leaflet_mapkey_icon_set","text":"leaflet_mapkey_icon_set","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sub-.leaflet_mapkey_icon_set.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"leaflet_mapkey_icon_set — [.leaflet_mapkey_icon_set","text":"","code":"# S3 method for class 'leaflet_mapkey_icon_set' x[i]"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sub-.leaflet_mapkey_icon_set.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"leaflet_mapkey_icon_set — [.leaflet_mapkey_icon_set","text":"x icons offset","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/timesliderOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"timesliderOptions — timesliderOptions","title":"timesliderOptions — timesliderOptions","text":"list options addTimeslider.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/timesliderOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"timesliderOptions — timesliderOptions","text":"","code":"timesliderOptions( position = c(\"topright\", \"bottomleft\", \"bottomright\", \"topleft\"), timeAttribute = \"time\", isEpoch = FALSE, startTimeIdx = 0, timeStrLength = 19, maxValue = -1, minValue = 0, showAllOnStart = FALSE, range = FALSE, follow = FALSE, alwaysShowDate = FALSE, rezoom = NULL, sameDate = FALSE )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/timesliderOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"timesliderOptions — timesliderOptions","text":"position position control: \"topleft\", \"topright\", \"bottomleft\", \"bottomright\". Default topright. timeAttribute column name time property. Default \"time\" isEpoch whether time attribute seconds elapsed epoch. Default FALSE startTimeIdx start looking timestring Default 0 timeStrLength size yyyy-mm-dd hh:mm:ss - milliseconds present larger. Default 19 maxValue Set maximum value slider. Default -1 minValue Set minimum value slider. Default 0 showAllOnStart Specify whether markers initially visible. Default FALSE range use range-slider, set TRUE. Default FALSE Default FALSE follow display markers specific timestamp specified slider. Specify value 1 (true) display single data point time, value null (false) display current marker previous markers. range property overrides follow property. Default FALSE alwaysShowDate Date always visible. Default FALSE rezoom Use rezoom property ensure markers displayed remain view. Default NULL sameDate Show data current selected time. Default FALSE","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/timesliderOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"timesliderOptions — timesliderOptions","text":"list options addTimeslider","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/timesliderOptions.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"timesliderOptions — timesliderOptions","text":"https://github.com/dwilhelm89/LeafletSlider","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/to_jsonformat.html","id":null,"dir":"Reference","previous_headings":"","what":"to_jsonformat Transform object to JSON expected format — to_jsonformat","title":"to_jsonformat Transform object to JSON expected format — to_jsonformat","text":"to_jsonformat Transform object JSON expected format","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/to_jsonformat.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"to_jsonformat Transform object to JSON expected format — to_jsonformat","text":"","code":"to_jsonformat(data, time, popup = NULL, label = NULL, name = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/to_jsonformat.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"to_jsonformat Transform object to JSON expected format — to_jsonformat","text":"data data time Name time column. popup Name popup column. label Name label column. name Name name column.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/to_jsonformat.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"to_jsonformat Transform object to JSON expected format — to_jsonformat","text":"list transformed expected JSON format","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/to_ms.html","id":null,"dir":"Reference","previous_headings":"","what":"to_ms Change POSIX or Date to milliseconds — to_ms","title":"to_ms Change POSIX or Date to milliseconds — to_ms","text":"to_ms Change POSIX Date milliseconds","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/to_ms.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"to_ms Change POSIX or Date to milliseconds — to_ms","text":"","code":"to_ms(data, time)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/to_ms.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"to_ms Change POSIX or Date to milliseconds — to_ms","text":"data data time Name time column.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/to_ms.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"to_ms Change POSIX or Date to milliseconds — to_ms","text":"data.frame time column milliseconds","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/unsync.html","id":null,"dir":"Reference","previous_headings":"","what":"Removes synchronization. — unsync","title":"Removes synchronization. — unsync","text":"Removes synchronization multiple maps specific map.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/unsync.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Removes synchronization. — unsync","text":"","code":"unsync(map, id = NULL, unsyncids = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/unsync.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Removes synchronization. — unsync","text":"map map id map id unsynchronize maps unsyncids unsyncids Unsynchronize maps following IDs","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/unsync.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Removes synchronization. — unsync","text":"map","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/updateBuildingTime.html","id":null,"dir":"Reference","previous_headings":"","what":"Update the Shadows OSM-Buildings with a POSIXct timestamp — updateBuildingTime","title":"Update the Shadows OSM-Buildings with a POSIXct timestamp — updateBuildingTime","text":"Update Shadows OSM-Buildings POSIXct timestamp","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/updateBuildingTime.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Update the Shadows OSM-Buildings with a POSIXct timestamp — updateBuildingTime","text":"","code":"updateBuildingTime(map, time)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/updateBuildingTime.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Update the Shadows OSM-Buildings with a POSIXct timestamp — updateBuildingTime","text":"map map widget object created leaflet. time timestamp can converted POSIXct","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/updateBuildingTime.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Update the Shadows OSM-Buildings with a POSIXct timestamp — updateBuildingTime","text":"","code":"library(leaflet) library(leaflet.extras2) leaflet() %>% addTiles() %>% addBuildings() %>% updateBuildingTime(as.POSIXct(\"2024-09-01 19:00:00 CET\")) %>% setView(13.40, 52.51836,15) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addBuilding\",\"args\":[\"https://{s}.data.osmbuildings.org/0.2/59fcc2e8/tile/{z}/{x}/{y}.json\",null,null,null,null]},{\"method\":\"updateBuildingTime\",\"args\":[\"2024-09-01T19:00:00Z\"]}],\"setView\":[[52.51836,13.4],15,[]]},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/updateHexbin.html","id":null,"dir":"Reference","previous_headings":"","what":"updateHexbin — updateHexbin","title":"updateHexbin — updateHexbin","text":"Dynamically change data /colorRange.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/updateHexbin.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"updateHexbin — updateHexbin","text":"","code":"updateHexbin(map, data = NULL, lng = NULL, lat = NULL, colorRange = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/updateHexbin.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"updateHexbin — updateHexbin","text":"map map widget object created leaflet() data data object argument values derived; default, data object provided leaflet() initially, can overridden lng numeric vector longitudes, one-sided formula form ~x x variable data; default (explicitly provided), automatically inferred data looking column named lng, long, longitude (case-insensitively) lat vector latitudes formula (similar lng argument; names lat latitude used guessing latitude column data) colorRange range color scale used fill hexbins","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/updateHexbin.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"updateHexbin — updateHexbin","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/velocityOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"velocityOptions — velocityOptions","title":"velocityOptions — velocityOptions","text":"Define options velocity layer.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/velocityOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"velocityOptions — velocityOptions","text":"","code":"velocityOptions( speedUnit = c(\"m/s\", \"k/h\", \"kt\"), minVelocity = 0, maxVelocity = 10, velocityScale = 0.005, colorScale = NULL, ... )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/velocityOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"velocityOptions — velocityOptions","text":"speedUnit 'm/s' meter per second, 'k/h' kilometer per hour 'kt' knots minVelocity velocity particle intensity minimum maxVelocity velocity particle intensity maximum velocityScale scale wind velocity colorScale vector hex colors RGB matrix ... arguments passed Velocity layer Windy.js. information, please visit leaflet-velocity plugin","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/velocityOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"velocityOptions — velocityOptions","text":"list options addVelocity","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/news/index.html","id":"leafletextras2-development-version","dir":"Changelog","previous_headings":"","what":"leaflet.extras2 (development version)","title":"leaflet.extras2 (development version)","text":"Included OSM Buildings plugin New Function addDivicon adds DivIcon markers Leaflet maps support custom HTML CSS classes. See example ./inst/examples/divicons_html_app.R Added addClusterCharts enable pie bar charts Marker clusters using Leaflet.markercluster, d3 L.DivIcon, support customizable category styling various aggregation methods like sum, min, max, mean, median. opened sidebar tab returned Shiny input using sidebar_tabs ID. #67 allow ... antpathOptions able set pane (e.g.: renderer= JS('L.svg({pane: \"-pane\"})')) Switched geojsonsf yyjsonr (heightgraph, timeslider, clustercharts) Fix roxygen2 > 7.0.0. #1491","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/news/index.html","id":"leafletextras2-122","dir":"Changelog","previous_headings":"","what":"leaflet.extras2 1.2.2","title":"leaflet.extras2 1.2.2","text":"CRAN release: 2023-08-21 Added enableContextmenu disableContextmenu Fixed tests leaflet v2.2.0. Thanks @gadenbuie (#60)","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/news/index.html","id":"leafletextras2-121","dir":"Changelog","previous_headings":"","what":"leaflet.extras2 1.2.1","title":"leaflet.extras2 1.2.1","text":"CRAN release: 2023-04-20 Bugfix Sidebar used inside Shiny modules. sidebar functions addSidebar openSidebar now argument ns, Shiny’s namespacing function (e.g: session$ns) can included. Arrowheads now passes options arrowheadOptions L.polyline Update leaflet.heightgraph 1.3.2. dependency d3 anymore. Skip tests use internet connection Adapted URLs deleted old Mapkey URL","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/news/index.html","id":"leafletextras2-120","dir":"Changelog","previous_headings":"","what":"leaflet.extras2 1.2.0","title":"leaflet.extras2 1.2.0","text":"CRAN release: 2022-05-10 Included Arrowheads plugin Included Leaflet.Sync plugin Included Leaflet MovingMarkers plugin Included Leaflet Spin plugin. Thanks @radbasa Included Labelgun plugin. addTimeslider gained styling options arguments label, labelOptions, sameDate ordertime works Point / Linestring Simple Feature Collections Enable multiple sidebars. Thanks @jeffreyhanson Option fit removed sidebars plugin CSS/JS adapted Deprecated menuItem/mapmenuItems/markermenuItems renamed prefix context_. Fixes #10 #17 now possible include multiple custom sizeModes easyprintOptions. example easyprint_app.R extended demonstrate new functionalities. tileLayer option now accepts group name tilelayer printing wait layer fully loaded. addPlayback now capable displaying labels popups every timestep. transition labels popups can controlled transitionpopup transitionlabel. function addHistory now requires fontawesome package, since dependency included shiny’s shared directory anymore. function addWMS gained argument checkempty, check returning HTML-body tag. body empty, popup opened. function addMovingMarker now accepts icons created makeAwesomeIcon.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/news/index.html","id":"leafletextras2-110","dir":"Changelog","previous_headings":"","what":"leaflet.extras2 1.1.0","title":"leaflet.extras2 1.1.0","text":"CRAN release: 2020-10-20 Included Leaflet Contextmenu plugin Included Leaflet TimeSlider plugin addWMS gained layerId argument works like leaflet::addWMSTiles except popupOptions Side--Side doesn’t propagate click events dragging. Thanks f905a47 #23","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/news/index.html","id":"leafletextras2-100","dir":"Changelog","previous_headings":"","what":"leaflet.extras2 1.0.0","title":"leaflet.extras2 1.0.0","text":"CRAN release: 2020-05-18 Initial release","code":""}] +[{"path":"https://trafficonese.github.io/leaflet.extras2/CODE_OF_CONDUCT.html","id":null,"dir":"","previous_headings":"","what":"Contributor Code of Conduct","title":"Contributor Code of Conduct","text":"contributors maintainers project, pledge respect people contribute reporting issues, posting feature requests, updating documentation, submitting pull requests patches, activities. committed making participation project harassment-free experience everyone, regardless level experience, gender, gender identity expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion. Examples unacceptable behavior participants include use sexual language imagery, derogatory comments personal attacks, trolling, public private harassment, insults, unprofessional conduct. Project maintainers right responsibility remove, edit, reject comments, commits, code, wiki edits, issues, contributions aligned Code Conduct. Project maintainers follow Code Conduct may removed project team. Instances abusive, harassing, otherwise unacceptable behavior may reported opening issue contacting one project maintainers. Code Conduct adapted Contributor Covenant (https://www.contributor-covenant.org), version 1.0.0, available https://contributor-covenant.org/version/1/0/0/.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/HowTo.html","id":"how-to-include-a-new-plugin-","dir":"","previous_headings":"","what":"How to include a new plugin ❓","title":"NA","text":"Fork repo computer create new branch plugin name. plugin leaflet-arrowheads serve example tutorial. Create new directory ./inst/htmlwidgets/ prefix lfx- plugin name. snippet : Install dependencies via npm/bower etc available. package installed, either fork/download plugin-repo copy/paste JavaScript code manually. plugin can installed requires 2 dependencies. installed : add dependencies directory ./node_modules/. Find directories source files copy new directory lfx-arrowhead. case files: leaflet.geometryutil.js leaflet-arrowheads.js Create new R-file name plugin ./R/. case arrowhead.R copy/paste another R-file rename accordingly. copy/pasted antpath.R file search/replaced antpath arrowhead Antpath Arrowhead adapted functions options according plugin. Add JavaScript-binding file directory /inst/htmlwidgets/lfx-arrowhead. Look plugins bindings references examples. beginning use lot console.log() debugger statements JS-methods get idea data looks like, arguments passed correctly, etc. case also copy/pasted file lfx-ant-path-bindings.js, renamed leaflet-arrowheads-bindings.js adapted JavaScript code. plugin exposes several methods, can/write R-function every JS-method. R-function calls JS-method invokeMethod argument method correspond JavaScript method want invoke. arrowheads-plugin method deleteArrowheads. used method two R JS functions, one can remove arrowheads group (clearArrowhead) one layerId (removeArrowhead). JS methods always refers map-object. needed, can also use LeafletWidget object R-leaflet L object leaflet . Add example ./inst/examples/. use directory demonstrate/test plugins ShinyApps. Non-interactive examples go straight documentation function. Add test ./tests/testthat/ use function usethis::use_test(\"arrowhead\") Check package run devtools::test_coverage() try test R-code lines. ✅ can also check coverage just one file devtools::test_coverage_file(paste0(getwd(),\"/tests/testthat/test-arrowhead.R\")). may load libraries manually . Add new plugin README.md link github repo. Add short description NEWS.md file plugin now available. Add plugin _pkgdown.yml file make sure matches functions. everything works correctly, push fork open PR. happy merge soon possible! 💚 🤷 ’re stuck somewhere process just can’t get work, can still open PR explain problem . look . 🎉 Celebrate use 🏆","code":"usethis::use_directory(\"/inst/htmlwidgets/lfx-arrowhead\") npm install leaflet-arrowheads --save npm install leaflet-geometryutil --save"},{"path":"https://trafficonese.github.io/leaflet.extras2/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Gatscha Sebastian. Author, maintainer. Ricardo Rodrigo Basa. Contributor. Jeffrey O Hanson. Contributor.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Sebastian G (2024). leaflet.extras2: Extra Functionality 'leaflet' Package. R package version 1.2.2.9000, https://github.com/trafficonese/leaflet.extras2, https://trafficonese.github.io/leaflet.extras2/.","code":"@Manual{, title = {leaflet.extras2: Extra Functionality for 'leaflet' Package}, author = {Gatscha Sebastian}, year = {2024}, note = {R package version 1.2.2.9000, https://github.com/trafficonese/leaflet.extras2}, url = {https://trafficonese.github.io/leaflet.extras2/}, }"},{"path":"https://trafficonese.github.io/leaflet.extras2/index.html","id":"leafletextras2","dir":"","previous_headings":"","what":"Extra Functionality for leaflet Package","title":"Extra Functionality for leaflet Package","text":"goal leaflet.extras2 package provide extra functionality leaflet leaflet.extras R packages using various leaflet plugins.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Extra Functionality for leaflet Package","text":"CRAN version latest development version","code":"install.packages('leaflet.extras2') remotes::install_github('trafficonese/leaflet.extras2')"},{"path":"https://trafficonese.github.io/leaflet.extras2/index.html","id":"integrated-plugins","dir":"","previous_headings":"","what":"Integrated Plugins","title":"Extra Functionality for leaflet Package","text":"need plugin already implemented create issue. See FAQ section details. Ant Path Arrowheads ClusterCharts Contextmenu DivIcon Easy Print GIBS Heightgraph Hexbin-D3 History Labelgun Leaflet.Sync Mapkey Icons Moving Markers OpenWeatherMap OSMBuildings Playback Reachability Sidebar-v2 Side--Side Spin Timeslider Tangram Velocity WMS","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/index.html","id":"documentation","dir":"","previous_headings":"","what":"Documentation","title":"Extra Functionality for leaflet Package","text":"R functions documented using roxygen, provide enough help get started using feature. However plugins lots options ’s feasible document every single detail. cases encouraged check plugin’s documentation examples.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/index.html","id":"faq","dir":"","previous_headings":"","what":"FAQ","title":"Extra Functionality for leaflet Package","text":"want use certain leaflet plugin integrated far. Good Solution: Create issues plugins wish incorporated search existing issues see issue already exists comment issue instead creating duplicates. Better Solution: help prioritizing can include additional details like need plugin, helpful everyone etc. Best Solution: Code submit pull request. fastest way get plugin package. Checkout little tutorial. submitted issue plugin long time ago still available. package developed purely voluntary basis spare time without monetary compensation. development progress can stall times. may also possible prioritize one-requests one else interested . Getting people interested feature request help prioritize development. option contribute code. get added contributor list. found bug. Good Solution: Search existing issue list one reported create new issue. Better Solution: Along issue submission provide minimal reproducible code sample. Best Solution: Fix issue submit pull request. fastest way get bug fixed.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/index.html","id":"code-of-conduct","dir":"","previous_headings":"","what":"Code of Conduct","title":"Extra Functionality for leaflet Package","text":"Please note project released Contributor Code Conduct. participating project agree abide terms.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addAntpath.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Antpath Lines — addAntpath","title":"Add Antpath Lines — addAntpath","text":"Can used almost exactly like addPolylines instead pathOptions can use antpathOptions adapt Antpath behaviour. See leaflet-ant-path details.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addAntpath.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Antpath Lines — addAntpath","text":"","code":"addAntpath( map, lng = NULL, lat = NULL, layerId = NULL, group = NULL, stroke = TRUE, color = \"#03F\", weight = 5, opacity = 0.5, fill = FALSE, fillColor = color, fillOpacity = 0.2, dashArray = NULL, smoothFactor = 1, noClip = FALSE, popup = NULL, popupOptions = NULL, label = NULL, labelOptions = NULL, options = antpathOptions(), highlightOptions = NULL, data = getMapData(map) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addAntpath.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Antpath Lines — addAntpath","text":"map map widget object created leaflet() lng numeric vector longitudes, one-sided formula form ~x x variable data; default (explicitly provided), automatically inferred data looking column named lng, long, longitude (case-insensitively) lat vector latitudes formula (similar lng argument; names lat latitude used guessing latitude column data) layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. stroke whether draw stroke along path (e.g. borders polygons circles) color stroke color weight stroke width pixels opacity stroke opacity (layer opacity tile layers) fill whether fill path color (e.g. filling polygons circles) fillColor fill color fillOpacity fill opacity dashArray string defines stroke dash pattern smoothFactor much simplify polyline zoom level (means better performance less accurate representation) noClip whether disable polyline clipping popup character vector HTML content popups (recommended escape text using htmlEscape() security reasons) popupOptions Vector popupOptions provide popups label character vector HTML content labels labelOptions Vector labelOptions provide label options label. Default NULL options named list options. See antpathOptions highlightOptions Options highlighting shape mouse . data data object argument values derived; default, data object provided leaflet() initially, can overridden","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addAntpath.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Antpath Lines — addAntpath","text":"modified leaflet map, 'ant-path' animated polyline","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addAntpath.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Antpath Lines — addAntpath","text":"https://github.com/rubenspgcavalcante/leaflet-ant-path","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addAntpath.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Antpath Lines — addAntpath","text":"","code":"library(leaflet) leaflet() %>% addAntpath(data = atlStorms2005) #> Loading required package: sp {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addAntpath\",\"args\":[[[[{\"lng\":[-67.5,-68.5,-69.59999999999999,-70.5,-71.3,-72.2,-72.7,-72.90000000000001,-73,-72.40000000000001,-70.8],\"lat\":[15.8,16.5,17.3,17.8,18.3,18.6,19.8,21.6,23.5,25.1,27.9]}]],[[{\"lng\":[-84,-83.90000000000001,-83.90000000000001,-84,-84.09999999999999,-84.2,-84.40000000000001,-84.5,-84.7,-85.09999999999999,-85.59999999999999,-85.59999999999999,-86.8,-87.2,-87.5,-87.5,-87.59999999999999,-87.7,-88,-87.8,-87.5,-86,-85,-84,-81.09999999999999,-77.59999999999999],\"lat\":[16.9,17.4,18.2,19,19.7,20.4,21.2,21.8,23,24.9,26.5,26.5,27.7,28.9,30.1,30.3,31.4,32.7,35,37,38.5,40.5,42,43,43.7,44.8]}]],[[{\"lng\":[-95.40000000000001,-95.7,-95.8,-96.40000000000001,-97.3,-98.09999999999999,-98.5],\"lat\":[19.7,19.9,20,20.4,20.8,21.4,22]}]],[[{\"lng\":[-86.7,-87.2,-87.59999999999999,-87.90000000000001,-88.5,-89,-89.7,-90.2,-90.40000000000001,-90.5,-90.3,-90.09999999999999,-90,-89.5,-88.90000000000001,-88.09999999999999,-87.2,-86.2,-84.09999999999999,-81.8,-80,-78.3,-76.7,-74.8,-72,-70.7,-69.8,-69.59999999999999,-69.8,-70,-67.59999999999999,-66.40000000000001,-64.5,-62.5],\"lat\":[18.3,18.6,19,19.3,20.9,22.3,23.9,25.1,26.4,27.6,28.5,29.2,29.6,30.2,30.8,31.6,32.4,33.2,34.6,35.6,37.1,37.8,38.4,39.1,39.5,40.8,41.6,43.5,44.9,45.5,46.5,48,48.5,48.5]}]],[[{\"lng\":[-48,-47.5,-46.7,-45.9,-44.8,-43.5,-42.2,-41.1,-40.1,-39.6,-40.1,-39.9,-39.8,-40.5,-40.9,-41.3,-41.2,-40.8,-40.2,-39.6,-39,-38.9,-39,-39.3,-39.6,-39.8,-39.8,-39.4,-38.4,-37.3,-35.8,-34,-31.9,-29.9,-27.5,-24.8,-21.6,-18.2,-14.6,-10.9,-6.6,-1],\"lat\":[27,26.7,26.7,27.2,27.7,28,28.3,29,29.9,30.9,31.5,31.4,31.2,30.7,29.9,28.8,27.4,26.4,25.5,25,24.8,24.6,24.1,23.8,23.3,22.8,22.3,21.8,22,22.6,23.5,24.8,26.7,28.3,29.1,29.9,30.2,30.2,30.2,30.7,32.6,35.3]}]],[[{\"lng\":[-60.8,-61.6,-62.5,-64.2,-65.90000000000001,-67.3,-68.5,-69.7,-70.90000000000001,-71.90000000000001,-73,-74.09999999999999,-74.90000000000001,-76.09999999999999,-77.09999999999999,-77.59999999999999,-78.40000000000001,-79.5,-80.59999999999999,-80.7,-81.59999999999999,-82.5,-83.40000000000001,-84.2,-85,-85.8,-86.3,-86.90000000000001,-87.09999999999999,-87.7,-88.5,-88.8,-89.09999999999999,-89.2,-89,-88.7,-88.3,-87.8,-87.2,-86.5,-85.8,-85.7,-85.59999999999999,-85.59999999999999,-85.59999999999999,-85.8,-86.2,-86.40000000000001,-86.59999999999999,-86.8,-86.5,-86.2,-85.2,-84.09999999999999,-83.2,-82.3,-81.40000000000001,-80.5,-79.8],\"lat\":[12,12.1,12.2,12.5,13,13.6,14.3,14.7,15.1,15.6,16.2,16.7,17.6,18.5,19.4,19.9,20.3,20.9,22,22.1,22.7,23.4,24.3,25.2,26.1,27.2,28.5,29.9,30.4,31.5,32.6,33.9,35.3,36.4,37.1,37.7,38.1,38.5,38.9,39.2,39.2,39.2,39,38.7,38.4,38.1,37.9,38.1,38.4,38.6,39.4,40.2,40.8,41.3,42.2,43.1,43.9,44.6,45.8]}]],[[{\"lng\":[-42.4,-43.4,-44.4,-45.4,-46.8,-48.5,-50.2,-52,-53.7,-55.4,-57.2,-58.9,-60.2,-61.5,-61.8,-63.2,-64.90000000000001,-66.7,-68.40000000000001,-70.09999999999999,-71.8,-73.40000000000001,-75,-76.5,-78,-79.5,-81.2,-82.8,-84.3,-85.8,-87.3,-87.40000000000001,-88.90000000000001,-90.3,-91.5,-92.8,-94,-95.09999999999999,-96.09999999999999,-96.90000000000001,-97.59999999999999,-98.7,-99.7,-100.5,-101.1],\"lat\":[10.7,10.8,10.9,11,11,11,11,11,11,11.1,11.2,11.4,11.6,11.9,12,12.4,12.9,13.3,13.7,14.1,14.5,14.9,15.4,15.9,16.4,17.1,17.7,18.3,18.9,19.5,20.3,20.3,21.3,22,22.6,23.2,23.7,24.1,24.4,24.6,24.8,25,25,25,25]}]],[[{\"lng\":[-49.2,-50,-50.8,-51.5,-52.5,-53.5,-54.2,-53.8,-52.7,-51.9,-51.3,-50.6,-49.8,-48.9,-47.9,-47.1,-46.2,-45,-43.7,-42.3,-41.1,-39.8,-38.8,-37.8,-36.7,-35.5,-34.6,-33.8,-33.7,-33.7,-34.2,-34.9,-36,-37.1,-38.1,-38.8,-39.3,-40,-40.5,-40.6,-40.4,-40.1,-39.2],\"lat\":[31.5,31.6,31.4,31.4,31.1,30.8,30.1,29.7,30,30.8,31.4,31.9,32.5,33.2,33.9,34.3,34.5,34.5,34.5,34.3,34.4,34.3,34.3,34.2,34,33.8,33.7,33.4,33.1,32.3,31.6,30.8,30.1,29.4,28.7,28.2,27.4,26.5,25.9,25.5,25.1,24.7,24.7]}]],[[{\"lng\":[-75,-75.90000000000001,-76.40000000000001,-76.8,-76.7,-76.59999999999999,-76.09999999999999,-75.40000000000001,-74.7,-73.5,-72.59999999999999,-71.90000000000001,-71.2,-71.2,-70.5,-69.8,-69.59999999999999,-68.59999999999999,-68.2,-68.09999999999999,-68.3,-68.5,-68.8,-69.09999999999999,-69.3,-69.40000000000001,-69.3,-69.09999999999999,-68,-66.59999999999999,-64.8,-62.8,-60.2,-57.5,-54.6,-51.7,-48.8,-46],\"lat\":[25,25.7,26.2,26.6,27.4,28.1,28.7,29.2,29.7,30.1,30.3,30.7,31.1,31.1,31,30.9,30.9,30.9,31.2,31.7,32.2,32.4,32.8,33.2,33.6,34.2,35,36,37.1,38.4,39.6,40.8,42.2,43.5,44.7,45.8,46.4,47.5]}]],[[{\"lng\":[-62.1,-62.8,-63.4,-64.2,-65,-66,-67.09999999999999,-68.40000000000001,-69.90000000000001,-71.5,-73.09999999999999,-75.40000000000001,-77.59999999999999,-79.7,-81.7,-83.09999999999999,-84.09999999999999,-84.8,-85.5,-85.59999999999999,-85.59999999999999,-85.59999999999999,-85.40000000000001,-85.2,-85,-85,-85.2,-85.5,-85.5,-85.2,-84.8,-84.3,-83.5],\"lat\":[13.2,13.6,13.8,14.1,14.2,14.3,14.4,14.7,14.8,14.8,14.7,14.8,15,15.3,15.6,15.8,15.8,15.7,15.5,15.7,16,16.1,16.1,16.2,16.4,16.6,16.7,16.9,17.1,17,16.7,16.4,15.4]}]],[[{\"lng\":[-92.90000000000001,-93.8,-95,-95.8,-96.59999999999999,-97.59999999999999,-98.59999999999999,-100,-101.4],\"lat\":[19.3,19.8,20.8,21,21.4,21.8,22.3,22.5,22.5]}]],[[{\"lng\":[-68.8,-68.7,-68.59999999999999,-68.3,-67.7,-66.40000000000001,-65,-63.6,-62.1,-60.5,-59.4,-58.5,-57.7,-57.1,-56.8,-56.7,-56.7,-55.5,-54.9,-54,-52.9,-51.9,-50.7,-48.6,-46.9,-45,-43,-41.1,-39,-37.1,-35.2,-34.1,-33.1,-32.2,-31.5,-31,-30.7,-30.5,-30.8,-31.4,-31.5,-31.5,-31.5,-31.5,-32,-32.5],\"lat\":[28.2,28.9,29.5,30.3,30.9,31.3,31.6,31.9,32,32.1,32.4,32.5,32.5,32.6,33,33.5,33.5,34.1,35.1,36,36.8,37.6,38.6,39.6,40.4,41.2,41.8,42.3,43,44,44.5,44.5,44.4,44.2,43.9,43.5,43.3,43,42.5,42,41.3,40.7,40.5,40.5,41.2,42]}]],[[{\"lng\":[-33.5,-34.5,-35.5,-36.8,-38.4,-39.8,-40.5,-41.6,-42.8,-43.5,-44.2,-45,-46,-47.2,-48.3,-49.9,-50.9,-52,-52.9,-53.7,-54.8,-55.7,-56.5,-57.2,-58.1,-59.3,-60.4,-61.7,-62.9,-63.8,-65.09999999999999,-66.3,-67.09999999999999,-67.7,-68.2,-69,-69.40000000000001,-69.90000000000001,-70.2,-70.09999999999999,-70,-69.5,-68.7,-67.7,-66.5,-65.09999999999999,-64,-63,-62,-61.3,-60.6,-59.1,-57.3,-55,-52.3,-48.9],\"lat\":[12.9,13.6,14.6,15.6,16.6,17.2,17.7,18.2,18.8,19.3,19.7,20.2,20.8,21.3,21.8,22.2,22.4,22.5,22.4,22.4,22.4,22.4,22.3,22.4,22.8,23.3,23.9,24.7,25.4,26.3,27.2,27.9,28.4,28.9,29.6,30,30.8,31.6,32.1,33.1,34,34.9,35.7,36.3,36.5,36.6,36.6,36.6,36.5,36.5,36.5,36.9,37.6,38.6,40.3,43.3]}]],[[{\"lng\":[-94.5,-95,-95.7,-96.40000000000001,-96.7,-97.7],\"lat\":[19.4,19.6,19.7,19.7,19.7,19.7]}]],[[{\"lng\":[-75.09999999999999,-75.7,-76.2,-76.5,-76.90000000000001,-77.7,-78.40000000000001,-79,-79.59999999999999,-80.09999999999999,-80.3,-81.3,-82,-82.59999999999999,-83.3,-84,-84.7,-85.3,-85.90000000000001,-86.7,-87.7,-88.59999999999999,-89.2,-89.59999999999999,-89.59999999999999,-89.59999999999999,-89.59999999999999,-89.59999999999999,-89.09999999999999,-88.59999999999999,-88,-87,-85.3,-82.90000000000001],\"lat\":[23.1,23.4,23.8,24.5,25.4,26,26.1,26.2,26.2,26,25.9,25.4,25.1,24.9,24.6,24.4,24.4,24.5,24.8,25.2,25.7,26.3,27.2,28.2,29.3,29.5,30.2,31.1,32.6,34.1,35.6,37,38.6,40.1]}]],[[{\"lng\":[-45.1,-46.4,-47.6,-48.9,-50.6,-52.5,-53.2,-53.6,-54.2,-53.6,-52.7,-51.6,-50.4,-50.1,-50.3,-51.2,-51.4,-51.5,-52,-52.3,-52.3,-52.7,-53.2,-53.9,-54.2,-53.9],\"lat\":[14,14.9,15.7,17,17.7,18.5,20.5,22.1,24.2,25.5,26.9,28,29,30.1,31.1,31.9,31.9,32.3,32.4,32.6,33.2,33.9,34.7,35.5,36.6,37.4]}]],[[{\"lng\":[-45.5,-46.2,-47.2,-48.3,-49.4,-50.2,-51,-52,-53.1,-54,-54.6,-55.1,-55.5,-56,-56.5,-56.8,-56.8,-56.7,-56.6,-56.5,-56,-55.4,-54.6,-53.3,-51.8,-50.8,-49.9,-49,-48,-47.2,-46.4,-44.9,-43.4,-42.1,-40.6,-39.2,-37.7,-36.3,-35,-34,-32.9,-32,-31,-29,-26,-23,-21,-19,-16,-10,0],\"lat\":[18.8,19.3,19.9,20.5,21.1,21.5,22,23,24.4,25.5,26.5,27.5,28.6,29.6,30.2,30.9,31.5,32.1,32.6,33,33.5,33.9,34.4,34.8,35.6,36.5,37.2,37.9,38.7,39.1,39.4,39.8,40.4,41.1,41.9,42.9,44.5,46,48,50,52,54,55.5,57,58.5,61,62,62.9,63.5,63,63]}]],[[{\"lng\":[-67,-66.59999999999999,-66.5,-66.5,-66.40000000000001,-66.3,-66.3,-66.2,-66,-65.7,-65,-63.8,-62.7,-61.1,-59.1,-55.8,-53.4,-50.8,-49,-45.9,-44.1,-42.1,-40.6,-38.3,-35.6,-33.3,-32,-28.1,-25],\"lat\":[28.4,28.4,28.5,28.5,28.6,28.7,28.7,28.9,29.3,29.6,30,30.5,31.4,32.6,33.4,34,34.5,34.7,34.6,34.5,34.9,35.2,36,37.4,39.2,41.6,43.5,44,46]}]],[[{\"lng\":[-78.59999999999999,-78.3,-78.3,-78.3,-78.5,-78.8,-79.2,-79.3,-79.3,-79.59999999999999,-79.59999999999999,-79.5,-79.3,-79.3,-79.09999999999999,-78.5,-77.5,-76.90000000000001,-76.59999999999999,-76.2,-75.90000000000001,-75.90000000000001,-75.7,-75.90000000000001,-76.2,-76.59999999999999,-76.90000000000001,-77.3,-77.7,-77.90000000000001,-78,-78.09999999999999,-78.09999999999999,-78,-77.7,-77.5,-76.90000000000001,-76.3,-75.8,-75.59999999999999,-75.09999999999999,-74.8,-74.40000000000001,-73.59999999999999,-72.7,-71.40000000000001,-69.7,-67.3,-64.90000000000001,-62.6,-59.9,-56.2,-52.3,-48.8,-45.7,-42.1,-38.5,-34.7,-30.5,-26.5,-22,-17.7,-14.6,-11.9,-8.4,-4.5,-1,1.9,6.6],\"lat\":[25.8,26.3,26.6,26.8,27.4,27.9,28.7,28.8,28.8,28.7,28.6,28.6,28.6,28.9,29.3,29.8,30.2,30.9,31.5,31.7,31.8,31.7,31.6,31.4,31.2,31.2,31.5,31.7,31.8,31.9,32.1,32.3,32.6,32.9,33.4,33.9,34.2,34.5,34.7,34.7,34.6,34.7,35.4,36.4,37.3,38.7,40,41.6,43.2,44.8,46.2,47.4,48.4,49,49.5,50,50.9,51.5,52.2,52.8,53.8,55.3,57.6,59.8,61.7,63.6,65.59999999999999,67.5,68.8]}]],[[{\"lng\":[-54.5,-54.9,-55.1,-55.3,-55.5,-55.7,-55.8,-55.9,-56.2,-56.4,-56.6,-56.8,-57,-57.2,-57.2,-57.1,-57,-56.9,-56.7,-56.8,-57.2,-57.6,-58.2,-60.1,-62.2,-63.7,-63.8,-62.8],\"lat\":[13.3,13.5,13.9,14.4,14.9,15.6,16.2,16.7,17.2,17.5,17.7,17.9,18.1,18.5,18.9,19.4,19.9,20.8,22.4,23.8,25.2,26.7,28.3,30.2,30.5,30.2,29.2,28.6]}]],[[{\"lng\":[-69.90000000000001,-70.7,-71.5,-72.3,-73,-73.8,-74.7,-75.90000000000001,-77.2,-78.8,-80.3,-81.59999999999999,-82.7,-84,-85.2,-86.2,-86.90000000000001,-87.3,-87.59999999999999,-88.3,-89.09999999999999,-89.90000000000001,-90.7,-91.5,-92.3,-93,-93.59999999999999,-93.7,-94.09999999999999,-94.09999999999999,-94,-93.59999999999999,-92.5,-91.40000000000001,-90.09999999999999,-88],\"lat\":[21.3,21.6,21.9,22.2,22.4,22.6,22.8,23.1,23.3,23.5,23.7,23.9,24.1,24.2,24.2,24.3,24.5,24.7,24.8,25.2,25.6,26,26.5,27.1,27.8,28.6,29.4,29.7,30.5,31.6,32.7,33.7,34.7,35.8,37,39.5]}]],[[{\"lng\":[-43.6,-44.7,-45.7,-46,-46.4,-46.7,-47.4,-48.4,-49.3,-49.9,-50.4,-51.1,-52,-53.2,-54.1,-54.9,-55.6,-56.6,-57.7,-58.9,-60.1],\"lat\":[13.3,13.8,13.8,13.4,13.5,13.9,14.4,14.5,14.6,14.8,15.1,15.5,16,16.1,16.1,16.1,16.7,17.1,17.3,17.6,18]}]],[[{\"lng\":[-57.4,-58.5,-60.1,-62,-63.3,-64.5,-65.2,-66,-67.5,-68.90000000000001,-70,-71,-71.7,-71.8,-71.7,-71.90000000000001,-72.40000000000001,-73,-73.5,-73.5,-73.5,-73,-73,-73.40000000000001,-73.8,-73.8,-73.8],\"lat\":[26.1,27.7,28.8,29.3,29.3,29.5,30,30.7,31.6,32.5,33.5,34.3,35.5,36.7,37.8,38.5,38.8,38.9,38.7,38.3,37.7,37.2,37.8,38,37.6,38.6,39.6]}]],[[{\"lng\":[-78.5,-78.8,-79,-79.2,-79.40000000000001,-79.59999999999999,-79.59999999999999,-79.7,-79.8,-79.90000000000001,-79.90000000000001,-80.3,-81.09999999999999,-81.8,-82.2,-82.8,-83.40000000000001,-84,-84.7,-85.2,-85.5,-85.8,-86.09999999999999,-86.40000000000001,-86.7,-86.8,-86.8,-86.90000000000001,-87,-87.09999999999999,-87.09999999999999,-87,-86.8,-86.09999999999999,-85.40000000000001,-84.3,-83.09999999999999,-81.7,-81,-78.8,-76,-72,-67.90000000000001,-63.5,-60,-57.5,-55,-52],\"lat\":[17.6,17.6,17.5,17.5,17.5,17.4,16.9,16.3,16,15.8,15.7,16.2,16.6,16.6,17,17.3,17.4,17.9,18.1,18.3,18.6,19.1,19.5,20.1,20.3,20.6,20.6,20.8,20.8,21,21.3,21.6,21.8,22.4,23.1,24,25,25.9,26.2,28,30.1,33.3,36.8,40.5,42.5,44,45,45.5]}]]],null,null,{\"delay\":400,\"paused\":false,\"reverse\":false,\"hardwareAccelerated\":false,\"dashArray\":[10,20],\"pulseColor\":\"#ffffff\",\"interactive\":true,\"className\":\"\",\"stroke\":true,\"color\":\"#03F\",\"weight\":5,\"opacity\":0.5,\"fill\":false,\"fillColor\":\"#03F\",\"fillOpacity\":0.2,\"smoothFactor\":1,\"noClip\":false},null,null,null,{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null]}],\"limits\":{\"lat\":[10.7,68.8],\"lng\":[-101.4,6.6]}},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addArrowhead.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Lines with an arrowhead — addArrowhead","title":"Add Lines with an arrowhead — addArrowhead","text":"Can used almost exactly like addPolylines instead pathOptions can use arrowheadOptions. See leaflet-arrowheads details.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addArrowhead.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Lines with an arrowhead — addArrowhead","text":"","code":"addArrowhead( map, lng = NULL, lat = NULL, layerId = NULL, group = NULL, stroke = TRUE, color = \"#03F\", weight = 5, opacity = 0.5, fill = FALSE, fillColor = color, fillOpacity = 0.2, dashArray = NULL, smoothFactor = 1, noClip = FALSE, popup = NULL, popupOptions = NULL, label = NULL, labelOptions = NULL, options = arrowheadOptions(), highlightOptions = NULL, data = getMapData(map) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addArrowhead.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Lines with an arrowhead — addArrowhead","text":"map map widget object created leaflet() lng numeric vector longitudes, one-sided formula form ~x x variable data; default (explicitly provided), automatically inferred data looking column named lng, long, longitude (case-insensitively) lat vector latitudes formula (similar lng argument; names lat latitude used guessing latitude column data) layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. stroke whether draw stroke along path (e.g. borders polygons circles) color stroke color weight stroke width pixels opacity stroke opacity (layer opacity tile layers) fill whether fill path color (e.g. filling polygons circles) fillColor fill color fillOpacity fill opacity dashArray string defines stroke dash pattern smoothFactor much simplify polyline zoom level (means better performance less accurate representation) noClip whether disable polyline clipping popup character vector HTML content popups (recommended escape text using htmlEscape() security reasons) popupOptions Vector popupOptions provide popups label character vector HTML content labels labelOptions Vector labelOptions provide label options label. Default NULL options named list options. See arrowheadOptions highlightOptions Options highlighting shape mouse . data data object argument values derived; default, data object provided leaflet() initially, can overridden","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addArrowhead.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Lines with an arrowhead — addArrowhead","text":"modified leaflet map polyline arrowheads","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addArrowhead.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Lines with an arrowhead — addArrowhead","text":"https://github.com/slutske22/leaflet-arrowheads","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addArrowhead.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Lines with an arrowhead — addArrowhead","text":"","code":"library(leaflet) leaflet() %>% addArrowhead(data = atlStorms2005) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addArrowhead\",\"args\":[[[[{\"lng\":[-67.5,-68.5,-69.59999999999999,-70.5,-71.3,-72.2,-72.7,-72.90000000000001,-73,-72.40000000000001,-70.8],\"lat\":[15.8,16.5,17.3,17.8,18.3,18.6,19.8,21.6,23.5,25.1,27.9]}]],[[{\"lng\":[-84,-83.90000000000001,-83.90000000000001,-84,-84.09999999999999,-84.2,-84.40000000000001,-84.5,-84.7,-85.09999999999999,-85.59999999999999,-85.59999999999999,-86.8,-87.2,-87.5,-87.5,-87.59999999999999,-87.7,-88,-87.8,-87.5,-86,-85,-84,-81.09999999999999,-77.59999999999999],\"lat\":[16.9,17.4,18.2,19,19.7,20.4,21.2,21.8,23,24.9,26.5,26.5,27.7,28.9,30.1,30.3,31.4,32.7,35,37,38.5,40.5,42,43,43.7,44.8]}]],[[{\"lng\":[-95.40000000000001,-95.7,-95.8,-96.40000000000001,-97.3,-98.09999999999999,-98.5],\"lat\":[19.7,19.9,20,20.4,20.8,21.4,22]}]],[[{\"lng\":[-86.7,-87.2,-87.59999999999999,-87.90000000000001,-88.5,-89,-89.7,-90.2,-90.40000000000001,-90.5,-90.3,-90.09999999999999,-90,-89.5,-88.90000000000001,-88.09999999999999,-87.2,-86.2,-84.09999999999999,-81.8,-80,-78.3,-76.7,-74.8,-72,-70.7,-69.8,-69.59999999999999,-69.8,-70,-67.59999999999999,-66.40000000000001,-64.5,-62.5],\"lat\":[18.3,18.6,19,19.3,20.9,22.3,23.9,25.1,26.4,27.6,28.5,29.2,29.6,30.2,30.8,31.6,32.4,33.2,34.6,35.6,37.1,37.8,38.4,39.1,39.5,40.8,41.6,43.5,44.9,45.5,46.5,48,48.5,48.5]}]],[[{\"lng\":[-48,-47.5,-46.7,-45.9,-44.8,-43.5,-42.2,-41.1,-40.1,-39.6,-40.1,-39.9,-39.8,-40.5,-40.9,-41.3,-41.2,-40.8,-40.2,-39.6,-39,-38.9,-39,-39.3,-39.6,-39.8,-39.8,-39.4,-38.4,-37.3,-35.8,-34,-31.9,-29.9,-27.5,-24.8,-21.6,-18.2,-14.6,-10.9,-6.6,-1],\"lat\":[27,26.7,26.7,27.2,27.7,28,28.3,29,29.9,30.9,31.5,31.4,31.2,30.7,29.9,28.8,27.4,26.4,25.5,25,24.8,24.6,24.1,23.8,23.3,22.8,22.3,21.8,22,22.6,23.5,24.8,26.7,28.3,29.1,29.9,30.2,30.2,30.2,30.7,32.6,35.3]}]],[[{\"lng\":[-60.8,-61.6,-62.5,-64.2,-65.90000000000001,-67.3,-68.5,-69.7,-70.90000000000001,-71.90000000000001,-73,-74.09999999999999,-74.90000000000001,-76.09999999999999,-77.09999999999999,-77.59999999999999,-78.40000000000001,-79.5,-80.59999999999999,-80.7,-81.59999999999999,-82.5,-83.40000000000001,-84.2,-85,-85.8,-86.3,-86.90000000000001,-87.09999999999999,-87.7,-88.5,-88.8,-89.09999999999999,-89.2,-89,-88.7,-88.3,-87.8,-87.2,-86.5,-85.8,-85.7,-85.59999999999999,-85.59999999999999,-85.59999999999999,-85.8,-86.2,-86.40000000000001,-86.59999999999999,-86.8,-86.5,-86.2,-85.2,-84.09999999999999,-83.2,-82.3,-81.40000000000001,-80.5,-79.8],\"lat\":[12,12.1,12.2,12.5,13,13.6,14.3,14.7,15.1,15.6,16.2,16.7,17.6,18.5,19.4,19.9,20.3,20.9,22,22.1,22.7,23.4,24.3,25.2,26.1,27.2,28.5,29.9,30.4,31.5,32.6,33.9,35.3,36.4,37.1,37.7,38.1,38.5,38.9,39.2,39.2,39.2,39,38.7,38.4,38.1,37.9,38.1,38.4,38.6,39.4,40.2,40.8,41.3,42.2,43.1,43.9,44.6,45.8]}]],[[{\"lng\":[-42.4,-43.4,-44.4,-45.4,-46.8,-48.5,-50.2,-52,-53.7,-55.4,-57.2,-58.9,-60.2,-61.5,-61.8,-63.2,-64.90000000000001,-66.7,-68.40000000000001,-70.09999999999999,-71.8,-73.40000000000001,-75,-76.5,-78,-79.5,-81.2,-82.8,-84.3,-85.8,-87.3,-87.40000000000001,-88.90000000000001,-90.3,-91.5,-92.8,-94,-95.09999999999999,-96.09999999999999,-96.90000000000001,-97.59999999999999,-98.7,-99.7,-100.5,-101.1],\"lat\":[10.7,10.8,10.9,11,11,11,11,11,11,11.1,11.2,11.4,11.6,11.9,12,12.4,12.9,13.3,13.7,14.1,14.5,14.9,15.4,15.9,16.4,17.1,17.7,18.3,18.9,19.5,20.3,20.3,21.3,22,22.6,23.2,23.7,24.1,24.4,24.6,24.8,25,25,25,25]}]],[[{\"lng\":[-49.2,-50,-50.8,-51.5,-52.5,-53.5,-54.2,-53.8,-52.7,-51.9,-51.3,-50.6,-49.8,-48.9,-47.9,-47.1,-46.2,-45,-43.7,-42.3,-41.1,-39.8,-38.8,-37.8,-36.7,-35.5,-34.6,-33.8,-33.7,-33.7,-34.2,-34.9,-36,-37.1,-38.1,-38.8,-39.3,-40,-40.5,-40.6,-40.4,-40.1,-39.2],\"lat\":[31.5,31.6,31.4,31.4,31.1,30.8,30.1,29.7,30,30.8,31.4,31.9,32.5,33.2,33.9,34.3,34.5,34.5,34.5,34.3,34.4,34.3,34.3,34.2,34,33.8,33.7,33.4,33.1,32.3,31.6,30.8,30.1,29.4,28.7,28.2,27.4,26.5,25.9,25.5,25.1,24.7,24.7]}]],[[{\"lng\":[-75,-75.90000000000001,-76.40000000000001,-76.8,-76.7,-76.59999999999999,-76.09999999999999,-75.40000000000001,-74.7,-73.5,-72.59999999999999,-71.90000000000001,-71.2,-71.2,-70.5,-69.8,-69.59999999999999,-68.59999999999999,-68.2,-68.09999999999999,-68.3,-68.5,-68.8,-69.09999999999999,-69.3,-69.40000000000001,-69.3,-69.09999999999999,-68,-66.59999999999999,-64.8,-62.8,-60.2,-57.5,-54.6,-51.7,-48.8,-46],\"lat\":[25,25.7,26.2,26.6,27.4,28.1,28.7,29.2,29.7,30.1,30.3,30.7,31.1,31.1,31,30.9,30.9,30.9,31.2,31.7,32.2,32.4,32.8,33.2,33.6,34.2,35,36,37.1,38.4,39.6,40.8,42.2,43.5,44.7,45.8,46.4,47.5]}]],[[{\"lng\":[-62.1,-62.8,-63.4,-64.2,-65,-66,-67.09999999999999,-68.40000000000001,-69.90000000000001,-71.5,-73.09999999999999,-75.40000000000001,-77.59999999999999,-79.7,-81.7,-83.09999999999999,-84.09999999999999,-84.8,-85.5,-85.59999999999999,-85.59999999999999,-85.59999999999999,-85.40000000000001,-85.2,-85,-85,-85.2,-85.5,-85.5,-85.2,-84.8,-84.3,-83.5],\"lat\":[13.2,13.6,13.8,14.1,14.2,14.3,14.4,14.7,14.8,14.8,14.7,14.8,15,15.3,15.6,15.8,15.8,15.7,15.5,15.7,16,16.1,16.1,16.2,16.4,16.6,16.7,16.9,17.1,17,16.7,16.4,15.4]}]],[[{\"lng\":[-92.90000000000001,-93.8,-95,-95.8,-96.59999999999999,-97.59999999999999,-98.59999999999999,-100,-101.4],\"lat\":[19.3,19.8,20.8,21,21.4,21.8,22.3,22.5,22.5]}]],[[{\"lng\":[-68.8,-68.7,-68.59999999999999,-68.3,-67.7,-66.40000000000001,-65,-63.6,-62.1,-60.5,-59.4,-58.5,-57.7,-57.1,-56.8,-56.7,-56.7,-55.5,-54.9,-54,-52.9,-51.9,-50.7,-48.6,-46.9,-45,-43,-41.1,-39,-37.1,-35.2,-34.1,-33.1,-32.2,-31.5,-31,-30.7,-30.5,-30.8,-31.4,-31.5,-31.5,-31.5,-31.5,-32,-32.5],\"lat\":[28.2,28.9,29.5,30.3,30.9,31.3,31.6,31.9,32,32.1,32.4,32.5,32.5,32.6,33,33.5,33.5,34.1,35.1,36,36.8,37.6,38.6,39.6,40.4,41.2,41.8,42.3,43,44,44.5,44.5,44.4,44.2,43.9,43.5,43.3,43,42.5,42,41.3,40.7,40.5,40.5,41.2,42]}]],[[{\"lng\":[-33.5,-34.5,-35.5,-36.8,-38.4,-39.8,-40.5,-41.6,-42.8,-43.5,-44.2,-45,-46,-47.2,-48.3,-49.9,-50.9,-52,-52.9,-53.7,-54.8,-55.7,-56.5,-57.2,-58.1,-59.3,-60.4,-61.7,-62.9,-63.8,-65.09999999999999,-66.3,-67.09999999999999,-67.7,-68.2,-69,-69.40000000000001,-69.90000000000001,-70.2,-70.09999999999999,-70,-69.5,-68.7,-67.7,-66.5,-65.09999999999999,-64,-63,-62,-61.3,-60.6,-59.1,-57.3,-55,-52.3,-48.9],\"lat\":[12.9,13.6,14.6,15.6,16.6,17.2,17.7,18.2,18.8,19.3,19.7,20.2,20.8,21.3,21.8,22.2,22.4,22.5,22.4,22.4,22.4,22.4,22.3,22.4,22.8,23.3,23.9,24.7,25.4,26.3,27.2,27.9,28.4,28.9,29.6,30,30.8,31.6,32.1,33.1,34,34.9,35.7,36.3,36.5,36.6,36.6,36.6,36.5,36.5,36.5,36.9,37.6,38.6,40.3,43.3]}]],[[{\"lng\":[-94.5,-95,-95.7,-96.40000000000001,-96.7,-97.7],\"lat\":[19.4,19.6,19.7,19.7,19.7,19.7]}]],[[{\"lng\":[-75.09999999999999,-75.7,-76.2,-76.5,-76.90000000000001,-77.7,-78.40000000000001,-79,-79.59999999999999,-80.09999999999999,-80.3,-81.3,-82,-82.59999999999999,-83.3,-84,-84.7,-85.3,-85.90000000000001,-86.7,-87.7,-88.59999999999999,-89.2,-89.59999999999999,-89.59999999999999,-89.59999999999999,-89.59999999999999,-89.59999999999999,-89.09999999999999,-88.59999999999999,-88,-87,-85.3,-82.90000000000001],\"lat\":[23.1,23.4,23.8,24.5,25.4,26,26.1,26.2,26.2,26,25.9,25.4,25.1,24.9,24.6,24.4,24.4,24.5,24.8,25.2,25.7,26.3,27.2,28.2,29.3,29.5,30.2,31.1,32.6,34.1,35.6,37,38.6,40.1]}]],[[{\"lng\":[-45.1,-46.4,-47.6,-48.9,-50.6,-52.5,-53.2,-53.6,-54.2,-53.6,-52.7,-51.6,-50.4,-50.1,-50.3,-51.2,-51.4,-51.5,-52,-52.3,-52.3,-52.7,-53.2,-53.9,-54.2,-53.9],\"lat\":[14,14.9,15.7,17,17.7,18.5,20.5,22.1,24.2,25.5,26.9,28,29,30.1,31.1,31.9,31.9,32.3,32.4,32.6,33.2,33.9,34.7,35.5,36.6,37.4]}]],[[{\"lng\":[-45.5,-46.2,-47.2,-48.3,-49.4,-50.2,-51,-52,-53.1,-54,-54.6,-55.1,-55.5,-56,-56.5,-56.8,-56.8,-56.7,-56.6,-56.5,-56,-55.4,-54.6,-53.3,-51.8,-50.8,-49.9,-49,-48,-47.2,-46.4,-44.9,-43.4,-42.1,-40.6,-39.2,-37.7,-36.3,-35,-34,-32.9,-32,-31,-29,-26,-23,-21,-19,-16,-10,0],\"lat\":[18.8,19.3,19.9,20.5,21.1,21.5,22,23,24.4,25.5,26.5,27.5,28.6,29.6,30.2,30.9,31.5,32.1,32.6,33,33.5,33.9,34.4,34.8,35.6,36.5,37.2,37.9,38.7,39.1,39.4,39.8,40.4,41.1,41.9,42.9,44.5,46,48,50,52,54,55.5,57,58.5,61,62,62.9,63.5,63,63]}]],[[{\"lng\":[-67,-66.59999999999999,-66.5,-66.5,-66.40000000000001,-66.3,-66.3,-66.2,-66,-65.7,-65,-63.8,-62.7,-61.1,-59.1,-55.8,-53.4,-50.8,-49,-45.9,-44.1,-42.1,-40.6,-38.3,-35.6,-33.3,-32,-28.1,-25],\"lat\":[28.4,28.4,28.5,28.5,28.6,28.7,28.7,28.9,29.3,29.6,30,30.5,31.4,32.6,33.4,34,34.5,34.7,34.6,34.5,34.9,35.2,36,37.4,39.2,41.6,43.5,44,46]}]],[[{\"lng\":[-78.59999999999999,-78.3,-78.3,-78.3,-78.5,-78.8,-79.2,-79.3,-79.3,-79.59999999999999,-79.59999999999999,-79.5,-79.3,-79.3,-79.09999999999999,-78.5,-77.5,-76.90000000000001,-76.59999999999999,-76.2,-75.90000000000001,-75.90000000000001,-75.7,-75.90000000000001,-76.2,-76.59999999999999,-76.90000000000001,-77.3,-77.7,-77.90000000000001,-78,-78.09999999999999,-78.09999999999999,-78,-77.7,-77.5,-76.90000000000001,-76.3,-75.8,-75.59999999999999,-75.09999999999999,-74.8,-74.40000000000001,-73.59999999999999,-72.7,-71.40000000000001,-69.7,-67.3,-64.90000000000001,-62.6,-59.9,-56.2,-52.3,-48.8,-45.7,-42.1,-38.5,-34.7,-30.5,-26.5,-22,-17.7,-14.6,-11.9,-8.4,-4.5,-1,1.9,6.6],\"lat\":[25.8,26.3,26.6,26.8,27.4,27.9,28.7,28.8,28.8,28.7,28.6,28.6,28.6,28.9,29.3,29.8,30.2,30.9,31.5,31.7,31.8,31.7,31.6,31.4,31.2,31.2,31.5,31.7,31.8,31.9,32.1,32.3,32.6,32.9,33.4,33.9,34.2,34.5,34.7,34.7,34.6,34.7,35.4,36.4,37.3,38.7,40,41.6,43.2,44.8,46.2,47.4,48.4,49,49.5,50,50.9,51.5,52.2,52.8,53.8,55.3,57.6,59.8,61.7,63.6,65.59999999999999,67.5,68.8]}]],[[{\"lng\":[-54.5,-54.9,-55.1,-55.3,-55.5,-55.7,-55.8,-55.9,-56.2,-56.4,-56.6,-56.8,-57,-57.2,-57.2,-57.1,-57,-56.9,-56.7,-56.8,-57.2,-57.6,-58.2,-60.1,-62.2,-63.7,-63.8,-62.8],\"lat\":[13.3,13.5,13.9,14.4,14.9,15.6,16.2,16.7,17.2,17.5,17.7,17.9,18.1,18.5,18.9,19.4,19.9,20.8,22.4,23.8,25.2,26.7,28.3,30.2,30.5,30.2,29.2,28.6]}]],[[{\"lng\":[-69.90000000000001,-70.7,-71.5,-72.3,-73,-73.8,-74.7,-75.90000000000001,-77.2,-78.8,-80.3,-81.59999999999999,-82.7,-84,-85.2,-86.2,-86.90000000000001,-87.3,-87.59999999999999,-88.3,-89.09999999999999,-89.90000000000001,-90.7,-91.5,-92.3,-93,-93.59999999999999,-93.7,-94.09999999999999,-94.09999999999999,-94,-93.59999999999999,-92.5,-91.40000000000001,-90.09999999999999,-88],\"lat\":[21.3,21.6,21.9,22.2,22.4,22.6,22.8,23.1,23.3,23.5,23.7,23.9,24.1,24.2,24.2,24.3,24.5,24.7,24.8,25.2,25.6,26,26.5,27.1,27.8,28.6,29.4,29.7,30.5,31.6,32.7,33.7,34.7,35.8,37,39.5]}]],[[{\"lng\":[-43.6,-44.7,-45.7,-46,-46.4,-46.7,-47.4,-48.4,-49.3,-49.9,-50.4,-51.1,-52,-53.2,-54.1,-54.9,-55.6,-56.6,-57.7,-58.9,-60.1],\"lat\":[13.3,13.8,13.8,13.4,13.5,13.9,14.4,14.5,14.6,14.8,15.1,15.5,16,16.1,16.1,16.1,16.7,17.1,17.3,17.6,18]}]],[[{\"lng\":[-57.4,-58.5,-60.1,-62,-63.3,-64.5,-65.2,-66,-67.5,-68.90000000000001,-70,-71,-71.7,-71.8,-71.7,-71.90000000000001,-72.40000000000001,-73,-73.5,-73.5,-73.5,-73,-73,-73.40000000000001,-73.8,-73.8,-73.8],\"lat\":[26.1,27.7,28.8,29.3,29.3,29.5,30,30.7,31.6,32.5,33.5,34.3,35.5,36.7,37.8,38.5,38.8,38.9,38.7,38.3,37.7,37.2,37.8,38,37.6,38.6,39.6]}]],[[{\"lng\":[-78.5,-78.8,-79,-79.2,-79.40000000000001,-79.59999999999999,-79.59999999999999,-79.7,-79.8,-79.90000000000001,-79.90000000000001,-80.3,-81.09999999999999,-81.8,-82.2,-82.8,-83.40000000000001,-84,-84.7,-85.2,-85.5,-85.8,-86.09999999999999,-86.40000000000001,-86.7,-86.8,-86.8,-86.90000000000001,-87,-87.09999999999999,-87.09999999999999,-87,-86.8,-86.09999999999999,-85.40000000000001,-84.3,-83.09999999999999,-81.7,-81,-78.8,-76,-72,-67.90000000000001,-63.5,-60,-57.5,-55,-52],\"lat\":[17.6,17.6,17.5,17.5,17.5,17.4,16.9,16.3,16,15.8,15.7,16.2,16.6,16.6,17,17.3,17.4,17.9,18.1,18.3,18.6,19.1,19.5,20.1,20.3,20.6,20.6,20.8,20.8,21,21.3,21.6,21.8,22.4,23.1,24,25,25.9,26.2,28,30.1,33.3,36.8,40.5,42.5,44,45,45.5]}]]],null,null,{\"stroke\":true,\"color\":\"#03F\",\"weight\":5,\"opacity\":0.5,\"fill\":false,\"fillColor\":\"#03F\",\"fillOpacity\":0.2,\"smoothFactor\":1,\"noClip\":false,\"yawn\":60,\"size\":\"15%\",\"frequency\":\"allvertices\",\"proportionalToTotal\":false},null,null,null,{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null,{\"yawn\":60,\"size\":\"15%\",\"frequency\":\"allvertices\",\"proportionalToTotal\":false}]}],\"limits\":{\"lat\":[10.7,68.8],\"lng\":[-101.4,6.6]}},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addBuildings.html","id":null,"dir":"Reference","previous_headings":"","what":"Add OSM-Buildings to a Leaflet Map — addBuildings","title":"Add OSM-Buildings to a Leaflet Map — addBuildings","text":"function adds 2.5D buildings Leaflet map using OSM Buildings plugin.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addBuildings.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add OSM-Buildings to a Leaflet Map — addBuildings","text":"","code":"addBuildings( map, buildingURL = \"https://{s}.data.osmbuildings.org/0.2/59fcc2e8/tile/{z}/{x}/{y}.json\", group = NULL, eachFn = NULL, clickFn = NULL, data = NULL )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addBuildings.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add OSM-Buildings to a Leaflet Map — addBuildings","text":"map map widget object created leaflet. buildingURL URL template building data. Default OSM Buildings tile server: \"https://{s}.data.osmbuildings.org/0.2/59fcc2e8/tile/{z}/{x}/{y}.json\". group name group buildings added . eachFn JavaScript function (using JS) called building feature. Use apply custom logic feature. clickFn JavaScript function (using JS) called building clicked. Use handle click events buildings. data GeoJSON object containing Polygon features representing buildings. properties polygons can include attributes like height, color, roofColor, others specified OSM Buildings documentation.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addBuildings.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Add OSM-Buildings to a Leaflet Map — addBuildings","text":"`data` parameter allows provide custom building data GeoJSON object. following properties can used within GeoJSON: height minHeight color/wallColor material roofColor roofMaterial shape roofShape roofHeight See OSM Wiki: Simple_3D_Buildings","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addBuildings.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add OSM-Buildings to a Leaflet Map — addBuildings","text":"","code":"library(leaflet) library(leaflet.extras2) leaflet() %>% addProviderTiles(\"CartoDB\") %>% addBuildings(group = \"Buildings\") %>% addLayersControl(overlayGroups = \"Buildings\") %>% setView(lng = 13.4, lat = 52.51, zoom = 15) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addProviderTiles\",\"args\":[\"CartoDB\",null,null,{\"errorTileUrl\":\"\",\"noWrap\":false,\"detectRetina\":false}]},{\"method\":\"addBuilding\",\"args\":[\"https://{s}.data.osmbuildings.org/0.2/59fcc2e8/tile/{z}/{x}/{y}.json\",\"Buildings\",null,null,null]},{\"method\":\"addLayersControl\",\"args\":[[],\"Buildings\",{\"collapsed\":true,\"autoZIndex\":true,\"position\":\"topright\"}]}],\"setView\":[[52.51,13.4],15,[]]},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addClusterCharts.html","id":null,"dir":"Reference","previous_headings":"","what":"addClusterCharts — addClusterCharts","title":"addClusterCharts — addClusterCharts","text":"Clusters markers Leaflet map visualizes using customizable charts, pie bar charts, showing counts category. using \"custom\" type, pie chart rendered aggregated data, employing methods like sum, min, max, mean, median.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addClusterCharts.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"addClusterCharts — addClusterCharts","text":"","code":"addClusterCharts( map, layerId = NULL, group = NULL, type = c(\"pie\", \"bar\", \"horizontal\", \"custom\"), aggregation = c(\"sum\", \"min\", \"max\", \"mean\", \"median\"), valueField = NULL, options = clusterchartOptions(), icon = NULL, html = NULL, popup = NULL, popupOptions = NULL, label = NULL, labelOptions = NULL, clusterOptions = NULL, clusterId = NULL, categoryField, categoryMap, popupFields = NULL, popupLabels = NULL, markerOptions = NULL, legendOptions = list(title = \"\", position = \"topright\"), data = getMapData(map) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addClusterCharts.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"addClusterCharts — addClusterCharts","text":"map map widget object created leaflet() layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. type type chart use clusters: \"pie\", \"bar\", \"horizontal\", \"custom\". aggregation Aggregation method \"custom\" charts (e.g., sum, min, max, mean, median). valueField Column name values aggregate \"custom\" charts. options Additional options cluster charts (see clusterchartOptions). icon icon set icons include, created makeIcon iconList. html column name containing HTML content include markers. popup column name used retrieve feature properties popup. popupOptions Vector popupOptions provide popups label character vector HTML content labels labelOptions Vector labelOptions provide label options label. Default NULL clusterOptions NULL, markers clustered using Leaflet.markercluster; can use markerClusterOptions() specify marker cluster options clusterId id marker cluster layer categoryField Column name categorizing charts. categoryMap data.frame mapping categories chart properties (e.g., label, color, icons, stroke). popupFields string vector strings indicating column names include popups. popupLabels string vector strings indicating labels popup fields. markerOptions Additional options markers (see markerOptions::markerOptions()). legendOptions list options legend, including title position. data data object argument values derived; default, data object provided leaflet() initially, can overridden","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addClusterCharts.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"addClusterCharts — addClusterCharts","text":"`clusterCharts` use Leaflet's `L.DivIcon`, allowing fully customize styling individual markers clusters using CSS. individual marker within cluster assigned CSS class `clustermarker`, entire cluster assigned class `clustermarker-cluster`. can modify appearance elements targeting classes custom CSS.","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addClusterCharts.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"addClusterCharts — addClusterCharts","text":"","code":"# Example usage: library(sf) #> Linking to GEOS 3.10.2, GDAL 3.4.1, PROJ 8.2.1; sf_use_s2() is TRUE library(leaflet) library(leaflet.extras2) data <- sf::st_as_sf(breweries91) categories <- c(\"Schwer\", \"Mäßig\", \"Leicht\", \"kein Schaden\") data$category <- sample(categories, size = nrow(data), replace = TRUE) ## Pie Chart leaflet() %>% addProviderTiles(\"CartoDB.Positron\") %>% leaflet::addLayersControl(overlayGroups = \"clustermarkers\") %>% addClusterCharts(data = data , categoryField = \"category\" , categoryMap = data.frame(labels = categories, colors = c(\"#F88\", \"#FA0\", \"#FF3\", \"#BFB\"), strokes = \"gray\") , group = \"clustermarkers\" , popupFields = c(\"brewery\", \"address\", \"zipcode\", \"category\") , popupLabels = c(\"Brauerei\", \"Adresse\", \"PLZ\", \"Art\") , label = \"brewery\" ) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addProviderTiles\",\"args\":[\"CartoDB.Positron\",null,null,{\"errorTileUrl\":\"\",\"noWrap\":false,\"detectRetina\":false}]},{\"method\":\"addLayersControl\",\"args\":[[],\"clustermarkers\",{\"collapsed\":true,\"autoZIndex\":true,\"position\":\"topright\"}]},{\"method\":\"addClusterCharts\",\"args\":[{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Rittmayer\",\"address\":\"Aischer Hauptstrasse 5\",\"zipcode\":91325,\"village\":\"Adelsdorf\",\"state\":\"Bayern\",\"web\":\"www.rittmayer-aisch.de\\u003c/a>\",\"founded\":1422,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.889217,49.71979]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Aufsesser Brauerei\",\"address\":\"Im Tal 70b\",\"zipcode\":91347,\"village\":\"Aufsess\",\"state\":\"Bayern\",\"web\":\"www.aufsesser.de\\u003c/a>\",\"founded\":1886,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.228988,49.884051]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauhaus Doebler\",\"address\":\"Kornmarkt 6\",\"zipcode\":91438,\"village\":\"Bad Windsheim\",\"state\":\"Bayern\",\"web\":\"www.brauhaus-doebler.de\\u003c/a>\",\"founded\":1867,\"category\":\"kein Schaden\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.416021,49.502098]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Gundel GmbH\",\"address\":\"Noerdlinger Strasse 15\",\"zipcode\":91126,\"village\":\"Barthelmesaurach\",\"state\":\"Bayern\",\"web\":\"www.brauerei-gundel.de\\u003c/a>\",\"founded\":1887,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.928096,49.274716]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Krug-Braeu\",\"address\":\"Breitenlesau 1b\",\"zipcode\":91344,\"village\":\"Waischenfeld\",\"state\":\"Bayern\",\"web\":\"www.krug-braeu.de\\u003c/a>\",\"founded\":1834,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.291932,49.861905]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei-Gasthof Herold\",\"address\":\"Marktstrasse 29\",\"zipcode\":91257,\"village\":\"Buechenbach\",\"state\":\"Bayern\",\"web\":\"www.beckn-bier.de\\u003c/a>\",\"founded\":1568,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.509409,49.794334]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Alt Dietzhof\",\"address\":\"Dietzhof 42\",\"zipcode\":91359,\"village\":\"Leutenbach\",\"state\":\"Bayern\",\"web\":\"www.brauerei-alt.de\\u003c/a>\",\"founded\":1886,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.163238,49.701477]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Hauf KG\",\"address\":\"Heiningerstrasse 28\",\"zipcode\":91550,\"village\":\"Dinkelsbuehl\",\"state\":\"Bayern\",\"web\":\"www.hauf-bier.de\\u003c/a>\",\"founded\":1901,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.34418,49.067436]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Weib's Brauhaus Dinkelsbuehl\",\"address\":\"Untere Schmiedgasse 13\",\"zipcode\":91550,\"village\":\"Dinkelsbuehl\",\"state\":\"Bayern\",\"web\":\"www.weibsbrauhaus.de\\u003c/a>\",\"founded\":1999,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.316987,49.070292]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Schwanenbraeu\",\"address\":\"Am Marktplatz 2\",\"zipcode\":91320,\"village\":\"Ebermannstadt\",\"state\":\"Bayern\",\"web\":\"www.schwanenbraeu.de\\u003c/a>\",\"founded\":null,\"category\":\"kein Schaden\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.186931,49.77994]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Fuerst Carl Schlossbrauerei Ellingen\",\"address\":\"Schloss-Strasse 10\",\"zipcode\":91792,\"village\":\"Ellingen\",\"state\":\"Bayern\",\"web\":\"www.fuerst-carl.de\\u003c/a>\",\"founded\":1690,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.965571,49.060542]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Enzensteiner\",\"address\":\"Enzenreuth 8\",\"zipcode\":91220,\"village\":\"Schnaittach\",\"state\":\"Bayern\",\"web\":\"www.enzensteiner.de\\u003c/a>\",\"founded\":1998,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.368508,49.561804]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Kitzmann-Braeu GmbH & Co. Kg\",\"address\":\"Suedliche Stadtmauerstrasse 25\",\"zipcode\":91054,\"village\":\"Erlangen\",\"state\":\"Bayern\",\"web\":\"www.kitzmann.de\\u003c/a>\",\"founded\":1712,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.009011,49.595108]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Steinbach Braeu\",\"address\":\"Vierzigmannstrasse 4\",\"zipcode\":91054,\"village\":\"Erlangen\",\"state\":\"Bayern\",\"web\":\"www.steinbach-braeu.de\\u003c/a>\",\"founded\":1861,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.005049,49.602554]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Greif\",\"address\":\"Serlbacher Strasse 10\",\"zipcode\":91301,\"village\":\"Forchheim\",\"state\":\"Bayern\",\"web\":\"www.brauerei-greif.de\\u003c/a>\",\"founded\":1848,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.059662,49.72581]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Hebendanz GmbH\",\"address\":\"Sattlertorstrasse 14\",\"zipcode\":91301,\"village\":\"Forchheim\",\"state\":\"Bayern\",\"web\":\"www.brauerei-hebendanz.de\\u003c/a>\",\"founded\":1579,\"category\":\"kein Schaden\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.056749,49.7202]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Friedmann\",\"address\":\"Jaegersberg 16\",\"zipcode\":91322,\"village\":\"Graefenberg\",\"state\":\"Bayern\",\"web\":\"www.brauerei-friedmann.de\\u003c/a>\",\"founded\":1875,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.252699,49.644533]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Lindenbraeu\",\"address\":\"Am Bach 3\",\"zipcode\":91322,\"village\":\"Graefenberg\",\"state\":\"Bayern\",\"web\":\"www.lindenbraeu.de\\u003c/a>\",\"founded\":1932,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.248618,49.645651]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Windsheimer GmbH\",\"address\":\"Hauptstrasse 13\",\"zipcode\":91468,\"village\":\"Gutenstetten\",\"state\":\"Bayern\",\"web\":\"www.brauerei-windsheimer.de\\u003c/a>\",\"founded\":1767,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.630027,49.615866]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Buergerbraeu Hersbruck, Deinlein & Co.\",\"address\":\"Lohweg 38\",\"zipcode\":91217,\"village\":\"Hersbruck\",\"state\":\"Bayern\",\"web\":\"www.hersbrucker-bier.de\\u003c/a>\",\"founded\":1920,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.428338,49.50683]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Hochholzer Brauhaus Poeverlein GbR\",\"address\":\"Hochholz 4a\",\"zipcode\":91807,\"village\":\"Solnhofen\",\"state\":\"Bayern\",\"web\":\"www.hochholzer-brauhaus.de\\u003c/a>\",\"founded\":2005,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.029479,48.900742]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauhaus Hoechstadt\",\"address\":\"Kellerstrasse 11\",\"zipcode\":91315,\"village\":\"Hoechstadt\",\"state\":\"Bayern\",\"web\":\"www.brauhaus-hoechstadt.de\\u003c/a>\",\"founded\":1926,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.806113,49.707329]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei und Gasthof Reichold GmbH\",\"address\":\"Hochstahl 24\",\"zipcode\":91347,\"village\":\"Aufsess\",\"state\":\"Bayern\",\"web\":\"www.brauerei-reichold.de\\u003c/a>\",\"founded\":1906,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.267583,49.884229]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Hofmann/Nentwig GbR\",\"address\":\"Hohenschwaerz 16\",\"zipcode\":91322,\"village\":\"Graefenberg\",\"state\":\"Bayern\",\"web\":\"www.brauerei-hofmann.de\\u003c/a>\",\"founded\":1897,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.252911,49.677827]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Leinburger Bier\",\"address\":\"Marktplatz 14\",\"zipcode\":91227,\"village\":\"Leinburg\",\"state\":\"Bayern\",\"web\":\"www.leinburgerbier.de\\u003c/a>\",\"founded\":1617,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.308721,49.450083]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Gasthof Drummer\",\"address\":\"Dorfstrasse 10\",\"zipcode\":91359,\"village\":\"Lautenbach\",\"state\":\"Bayern\",\"web\":\"www.brauerei-gasthof-drummer.de\\u003c/a>\",\"founded\":1738,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.172792,49.710838]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Hauff Braeu Lichtnerau GmbH & Co. KG\",\"address\":\"Marktplatz 1\",\"zipcode\":91586,\"village\":\"Lichtenau\",\"state\":\"Bayern\",\"web\":\"www.hauff-braeu.com\\u003c/a>\",\"founded\":null,\"category\":\"kein Schaden\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.685605,49.276265]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Wiethaler\",\"address\":\"Welserplatz 6-7\",\"zipcode\":91207,\"village\":\"Neunhof bei Lauf a.d. Pegnitz\",\"state\":\"Bayern\",\"web\":\"www.brauerei-wiethaler.de\\u003c/a>\",\"founded\":1498,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.22997,49.554706]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Gasthof Ott\",\"address\":\"Oberleinleiter 6\",\"zipcode\":91332,\"village\":\"Heiligenstadt i. Ofr.\",\"state\":\"Bayern\",\"web\":\"www.brauerei-ott.de\\u003c/a>\",\"founded\":1678,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.129541,49.882777]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Penning-Zeissler\",\"address\":\"Hetzelsdorf 9\",\"zipcode\":91362,\"village\":\"Pretzfeld\",\"state\":\"Bayern\",\"web\":null,\"founded\":1623,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.202701,49.727998]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Meister\",\"address\":\"Unterzaunsbach 8\",\"zipcode\":91362,\"village\":\"Pretzfeld\",\"state\":\"Bayern\",\"web\":\"www.meisterbr%C3%A4u.de\\u003c/a>\",\"founded\":1865,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.223148,49.737703]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Nikl\",\"address\":\"Egloffsteiner Strasse 19\",\"zipcode\":91363,\"village\":\"Pretzfeld\",\"state\":\"Bayern\",\"web\":\"www.brauerei-nikl.de\\u003c/a>\",\"founded\":2008,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.175664,49.755953]}}]},null,\"clustermarkers\",\"pie\",{\"rmax\":30,\"size\":[20,20],\"width\":40,\"height\":50,\"strokeWidth\":1,\"innerRadius\":10,\"labelBackground\":false,\"labelFill\":\"white\",\"labelStroke\":\"black\",\"labelColor\":\"black\",\"labelOpacity\":0.9,\"digits\":2,\"sortTitlebyCount\":true,\"aggregation\":\"sum\"},null,null,null,null,\"brewery\",{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null,null,\"category\",{\"1\":\"Schwer\",\"2\":\"Mäßig\",\"3\":\"Leicht\",\"4\":\"kein Schaden\"},[\"brewery\",\"address\",\"zipcode\",\"category\"],[\"Brauerei\",\"Adresse\",\"PLZ\",\"Art\"],null,{\"title\":\"\",\"position\":\"topright\"}]}],\"limits\":{\"lat\":[48.900742,49.884229],\"lng\":[10.316987,11.509409]}},\"evals\":[],\"jsHooks\":[]} ## Bar Chart leaflet() %>% addProviderTiles(\"CartoDB.Positron\") %>% leaflet::addLayersControl(overlayGroups = \"clustermarkers\") %>% addClusterCharts(data = data , type = \"bar\" , categoryField = \"category\" , categoryMap = data.frame(labels = categories, colors = c(\"#F88\", \"#FA0\", \"#FF3\", \"#BFB\"), strokes = \"gray\") , group = \"clustermarkers\" , popupFields = c(\"brewery\", \"address\", \"zipcode\", \"category\") , popupLabels = c(\"Brauerei\", \"Adresse\", \"PLZ\", \"Art\") , label = \"brewery\") {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addProviderTiles\",\"args\":[\"CartoDB.Positron\",null,null,{\"errorTileUrl\":\"\",\"noWrap\":false,\"detectRetina\":false}]},{\"method\":\"addLayersControl\",\"args\":[[],\"clustermarkers\",{\"collapsed\":true,\"autoZIndex\":true,\"position\":\"topright\"}]},{\"method\":\"addClusterCharts\",\"args\":[{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Rittmayer\",\"address\":\"Aischer Hauptstrasse 5\",\"zipcode\":91325,\"village\":\"Adelsdorf\",\"state\":\"Bayern\",\"web\":\"www.rittmayer-aisch.de\\u003c/a>\",\"founded\":1422,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.889217,49.71979]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Aufsesser Brauerei\",\"address\":\"Im Tal 70b\",\"zipcode\":91347,\"village\":\"Aufsess\",\"state\":\"Bayern\",\"web\":\"www.aufsesser.de\\u003c/a>\",\"founded\":1886,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.228988,49.884051]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauhaus Doebler\",\"address\":\"Kornmarkt 6\",\"zipcode\":91438,\"village\":\"Bad Windsheim\",\"state\":\"Bayern\",\"web\":\"www.brauhaus-doebler.de\\u003c/a>\",\"founded\":1867,\"category\":\"kein Schaden\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.416021,49.502098]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Gundel GmbH\",\"address\":\"Noerdlinger Strasse 15\",\"zipcode\":91126,\"village\":\"Barthelmesaurach\",\"state\":\"Bayern\",\"web\":\"www.brauerei-gundel.de\\u003c/a>\",\"founded\":1887,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.928096,49.274716]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Krug-Braeu\",\"address\":\"Breitenlesau 1b\",\"zipcode\":91344,\"village\":\"Waischenfeld\",\"state\":\"Bayern\",\"web\":\"www.krug-braeu.de\\u003c/a>\",\"founded\":1834,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.291932,49.861905]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei-Gasthof Herold\",\"address\":\"Marktstrasse 29\",\"zipcode\":91257,\"village\":\"Buechenbach\",\"state\":\"Bayern\",\"web\":\"www.beckn-bier.de\\u003c/a>\",\"founded\":1568,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.509409,49.794334]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Alt Dietzhof\",\"address\":\"Dietzhof 42\",\"zipcode\":91359,\"village\":\"Leutenbach\",\"state\":\"Bayern\",\"web\":\"www.brauerei-alt.de\\u003c/a>\",\"founded\":1886,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.163238,49.701477]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Hauf KG\",\"address\":\"Heiningerstrasse 28\",\"zipcode\":91550,\"village\":\"Dinkelsbuehl\",\"state\":\"Bayern\",\"web\":\"www.hauf-bier.de\\u003c/a>\",\"founded\":1901,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.34418,49.067436]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Weib's Brauhaus Dinkelsbuehl\",\"address\":\"Untere Schmiedgasse 13\",\"zipcode\":91550,\"village\":\"Dinkelsbuehl\",\"state\":\"Bayern\",\"web\":\"www.weibsbrauhaus.de\\u003c/a>\",\"founded\":1999,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.316987,49.070292]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Schwanenbraeu\",\"address\":\"Am Marktplatz 2\",\"zipcode\":91320,\"village\":\"Ebermannstadt\",\"state\":\"Bayern\",\"web\":\"www.schwanenbraeu.de\\u003c/a>\",\"founded\":null,\"category\":\"kein Schaden\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.186931,49.77994]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Fuerst Carl Schlossbrauerei Ellingen\",\"address\":\"Schloss-Strasse 10\",\"zipcode\":91792,\"village\":\"Ellingen\",\"state\":\"Bayern\",\"web\":\"www.fuerst-carl.de\\u003c/a>\",\"founded\":1690,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.965571,49.060542]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Enzensteiner\",\"address\":\"Enzenreuth 8\",\"zipcode\":91220,\"village\":\"Schnaittach\",\"state\":\"Bayern\",\"web\":\"www.enzensteiner.de\\u003c/a>\",\"founded\":1998,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.368508,49.561804]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Kitzmann-Braeu GmbH & Co. Kg\",\"address\":\"Suedliche Stadtmauerstrasse 25\",\"zipcode\":91054,\"village\":\"Erlangen\",\"state\":\"Bayern\",\"web\":\"www.kitzmann.de\\u003c/a>\",\"founded\":1712,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.009011,49.595108]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Steinbach Braeu\",\"address\":\"Vierzigmannstrasse 4\",\"zipcode\":91054,\"village\":\"Erlangen\",\"state\":\"Bayern\",\"web\":\"www.steinbach-braeu.de\\u003c/a>\",\"founded\":1861,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.005049,49.602554]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Greif\",\"address\":\"Serlbacher Strasse 10\",\"zipcode\":91301,\"village\":\"Forchheim\",\"state\":\"Bayern\",\"web\":\"www.brauerei-greif.de\\u003c/a>\",\"founded\":1848,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.059662,49.72581]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Hebendanz GmbH\",\"address\":\"Sattlertorstrasse 14\",\"zipcode\":91301,\"village\":\"Forchheim\",\"state\":\"Bayern\",\"web\":\"www.brauerei-hebendanz.de\\u003c/a>\",\"founded\":1579,\"category\":\"kein Schaden\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.056749,49.7202]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Friedmann\",\"address\":\"Jaegersberg 16\",\"zipcode\":91322,\"village\":\"Graefenberg\",\"state\":\"Bayern\",\"web\":\"www.brauerei-friedmann.de\\u003c/a>\",\"founded\":1875,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.252699,49.644533]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Lindenbraeu\",\"address\":\"Am Bach 3\",\"zipcode\":91322,\"village\":\"Graefenberg\",\"state\":\"Bayern\",\"web\":\"www.lindenbraeu.de\\u003c/a>\",\"founded\":1932,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.248618,49.645651]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Windsheimer GmbH\",\"address\":\"Hauptstrasse 13\",\"zipcode\":91468,\"village\":\"Gutenstetten\",\"state\":\"Bayern\",\"web\":\"www.brauerei-windsheimer.de\\u003c/a>\",\"founded\":1767,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.630027,49.615866]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Buergerbraeu Hersbruck, Deinlein & Co.\",\"address\":\"Lohweg 38\",\"zipcode\":91217,\"village\":\"Hersbruck\",\"state\":\"Bayern\",\"web\":\"www.hersbrucker-bier.de\\u003c/a>\",\"founded\":1920,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.428338,49.50683]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Hochholzer Brauhaus Poeverlein GbR\",\"address\":\"Hochholz 4a\",\"zipcode\":91807,\"village\":\"Solnhofen\",\"state\":\"Bayern\",\"web\":\"www.hochholzer-brauhaus.de\\u003c/a>\",\"founded\":2005,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.029479,48.900742]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauhaus Hoechstadt\",\"address\":\"Kellerstrasse 11\",\"zipcode\":91315,\"village\":\"Hoechstadt\",\"state\":\"Bayern\",\"web\":\"www.brauhaus-hoechstadt.de\\u003c/a>\",\"founded\":1926,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.806113,49.707329]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei und Gasthof Reichold GmbH\",\"address\":\"Hochstahl 24\",\"zipcode\":91347,\"village\":\"Aufsess\",\"state\":\"Bayern\",\"web\":\"www.brauerei-reichold.de\\u003c/a>\",\"founded\":1906,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.267583,49.884229]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Hofmann/Nentwig GbR\",\"address\":\"Hohenschwaerz 16\",\"zipcode\":91322,\"village\":\"Graefenberg\",\"state\":\"Bayern\",\"web\":\"www.brauerei-hofmann.de\\u003c/a>\",\"founded\":1897,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.252911,49.677827]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Leinburger Bier\",\"address\":\"Marktplatz 14\",\"zipcode\":91227,\"village\":\"Leinburg\",\"state\":\"Bayern\",\"web\":\"www.leinburgerbier.de\\u003c/a>\",\"founded\":1617,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.308721,49.450083]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Gasthof Drummer\",\"address\":\"Dorfstrasse 10\",\"zipcode\":91359,\"village\":\"Lautenbach\",\"state\":\"Bayern\",\"web\":\"www.brauerei-gasthof-drummer.de\\u003c/a>\",\"founded\":1738,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.172792,49.710838]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Hauff Braeu Lichtnerau GmbH & Co. KG\",\"address\":\"Marktplatz 1\",\"zipcode\":91586,\"village\":\"Lichtenau\",\"state\":\"Bayern\",\"web\":\"www.hauff-braeu.com\\u003c/a>\",\"founded\":null,\"category\":\"kein Schaden\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.685605,49.276265]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Wiethaler\",\"address\":\"Welserplatz 6-7\",\"zipcode\":91207,\"village\":\"Neunhof bei Lauf a.d. Pegnitz\",\"state\":\"Bayern\",\"web\":\"www.brauerei-wiethaler.de\\u003c/a>\",\"founded\":1498,\"category\":\"Schwer\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.22997,49.554706]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Gasthof Ott\",\"address\":\"Oberleinleiter 6\",\"zipcode\":91332,\"village\":\"Heiligenstadt i. Ofr.\",\"state\":\"Bayern\",\"web\":\"www.brauerei-ott.de\\u003c/a>\",\"founded\":1678,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.129541,49.882777]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Penning-Zeissler\",\"address\":\"Hetzelsdorf 9\",\"zipcode\":91362,\"village\":\"Pretzfeld\",\"state\":\"Bayern\",\"web\":null,\"founded\":1623,\"category\":\"Mäßig\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.202701,49.727998]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Meister\",\"address\":\"Unterzaunsbach 8\",\"zipcode\":91362,\"village\":\"Pretzfeld\",\"state\":\"Bayern\",\"web\":\"www.meisterbr%C3%A4u.de\\u003c/a>\",\"founded\":1865,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.223148,49.737703]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Nikl\",\"address\":\"Egloffsteiner Strasse 19\",\"zipcode\":91363,\"village\":\"Pretzfeld\",\"state\":\"Bayern\",\"web\":\"www.brauerei-nikl.de\\u003c/a>\",\"founded\":2008,\"category\":\"Leicht\"},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.175664,49.755953]}}]},null,\"clustermarkers\",\"bar\",{\"rmax\":30,\"size\":[20,20],\"width\":40,\"height\":50,\"strokeWidth\":1,\"innerRadius\":10,\"labelBackground\":false,\"labelFill\":\"white\",\"labelStroke\":\"black\",\"labelColor\":\"black\",\"labelOpacity\":0.9,\"digits\":2,\"sortTitlebyCount\":true,\"aggregation\":\"sum\"},null,null,null,null,\"brewery\",{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null,null,\"category\",{\"1\":\"Schwer\",\"2\":\"Mäßig\",\"3\":\"Leicht\",\"4\":\"kein Schaden\"},[\"brewery\",\"address\",\"zipcode\",\"category\"],[\"Brauerei\",\"Adresse\",\"PLZ\",\"Art\"],null,{\"title\":\"\",\"position\":\"topright\"}]}],\"limits\":{\"lat\":[48.900742,49.884229],\"lng\":[10.316987,11.509409]}},\"evals\":[],\"jsHooks\":[]} ## Custom Pie Chart with \"mean\" aggregation on column \"value\" data <- sf::st_as_sf(breweries91) categories <- c(\"Schwer\", \"Mäßig\", \"Leicht\", \"kein Schaden\") data$category <- sample(categories, size = nrow(data), replace = TRUE) data$value <- round(runif(nrow(data), 0, 100), 0) leaflet() %>% addProviderTiles(\"CartoDB.Positron\") %>% leaflet::addLayersControl(overlayGroups = \"clustermarkers\") %>% addClusterCharts(data = data , type = \"custom\" , valueField = \"value\" , aggregation = \"mean\" , categoryField = \"category\" , categoryMap = data.frame(labels = categories, colors = c(\"#F88\", \"#FA0\", \"#FF3\", \"#BFB\"), strokes = \"gray\") , options = clusterchartOptions(rmax=50, digits=0, innerRadius = 20) , group = \"clustermarkers\" , popupFields = c(\"brewery\", \"address\", \"zipcode\", \"category\",\"value\") , popupLabels = c(\"Brauerei\", \"Adresse\", \"PLZ\", \"Art\", \"Value\") , label = \"brewery\" ) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addProviderTiles\",\"args\":[\"CartoDB.Positron\",null,null,{\"errorTileUrl\":\"\",\"noWrap\":false,\"detectRetina\":false}]},{\"method\":\"addLayersControl\",\"args\":[[],\"clustermarkers\",{\"collapsed\":true,\"autoZIndex\":true,\"position\":\"topright\"}]},{\"method\":\"addClusterCharts\",\"args\":[{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Rittmayer\",\"address\":\"Aischer Hauptstrasse 5\",\"zipcode\":91325,\"village\":\"Adelsdorf\",\"state\":\"Bayern\",\"web\":\"www.rittmayer-aisch.de\\u003c/a>\",\"founded\":1422,\"category\":\"kein Schaden\",\"value\":60.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.889217,49.71979]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Aufsesser Brauerei\",\"address\":\"Im Tal 70b\",\"zipcode\":91347,\"village\":\"Aufsess\",\"state\":\"Bayern\",\"web\":\"www.aufsesser.de\\u003c/a>\",\"founded\":1886,\"category\":\"kein Schaden\",\"value\":19.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.228988,49.884051]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauhaus Doebler\",\"address\":\"Kornmarkt 6\",\"zipcode\":91438,\"village\":\"Bad Windsheim\",\"state\":\"Bayern\",\"web\":\"www.brauhaus-doebler.de\\u003c/a>\",\"founded\":1867,\"category\":\"Mäßig\",\"value\":95.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.416021,49.502098]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Gundel GmbH\",\"address\":\"Noerdlinger Strasse 15\",\"zipcode\":91126,\"village\":\"Barthelmesaurach\",\"state\":\"Bayern\",\"web\":\"www.brauerei-gundel.de\\u003c/a>\",\"founded\":1887,\"category\":\"Leicht\",\"value\":54.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.928096,49.274716]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Krug-Braeu\",\"address\":\"Breitenlesau 1b\",\"zipcode\":91344,\"village\":\"Waischenfeld\",\"state\":\"Bayern\",\"web\":\"www.krug-braeu.de\\u003c/a>\",\"founded\":1834,\"category\":\"Schwer\",\"value\":54.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.291932,49.861905]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei-Gasthof Herold\",\"address\":\"Marktstrasse 29\",\"zipcode\":91257,\"village\":\"Buechenbach\",\"state\":\"Bayern\",\"web\":\"www.beckn-bier.de\\u003c/a>\",\"founded\":1568,\"category\":\"Mäßig\",\"value\":28.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.509409,49.794334]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Alt Dietzhof\",\"address\":\"Dietzhof 42\",\"zipcode\":91359,\"village\":\"Leutenbach\",\"state\":\"Bayern\",\"web\":\"www.brauerei-alt.de\\u003c/a>\",\"founded\":1886,\"category\":\"Leicht\",\"value\":45.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.163238,49.701477]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Hauf KG\",\"address\":\"Heiningerstrasse 28\",\"zipcode\":91550,\"village\":\"Dinkelsbuehl\",\"state\":\"Bayern\",\"web\":\"www.hauf-bier.de\\u003c/a>\",\"founded\":1901,\"category\":\"Leicht\",\"value\":37.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.34418,49.067436]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Weib's Brauhaus Dinkelsbuehl\",\"address\":\"Untere Schmiedgasse 13\",\"zipcode\":91550,\"village\":\"Dinkelsbuehl\",\"state\":\"Bayern\",\"web\":\"www.weibsbrauhaus.de\\u003c/a>\",\"founded\":1999,\"category\":\"kein Schaden\",\"value\":3.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.316987,49.070292]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Schwanenbraeu\",\"address\":\"Am Marktplatz 2\",\"zipcode\":91320,\"village\":\"Ebermannstadt\",\"state\":\"Bayern\",\"web\":\"www.schwanenbraeu.de\\u003c/a>\",\"founded\":null,\"category\":\"Schwer\",\"value\":47.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.186931,49.77994]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Fuerst Carl Schlossbrauerei Ellingen\",\"address\":\"Schloss-Strasse 10\",\"zipcode\":91792,\"village\":\"Ellingen\",\"state\":\"Bayern\",\"web\":\"www.fuerst-carl.de\\u003c/a>\",\"founded\":1690,\"category\":\"Mäßig\",\"value\":39.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.965571,49.060542]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Enzensteiner\",\"address\":\"Enzenreuth 8\",\"zipcode\":91220,\"village\":\"Schnaittach\",\"state\":\"Bayern\",\"web\":\"www.enzensteiner.de\\u003c/a>\",\"founded\":1998,\"category\":\"Schwer\",\"value\":2.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.368508,49.561804]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Kitzmann-Braeu GmbH & Co. Kg\",\"address\":\"Suedliche Stadtmauerstrasse 25\",\"zipcode\":91054,\"village\":\"Erlangen\",\"state\":\"Bayern\",\"web\":\"www.kitzmann.de\\u003c/a>\",\"founded\":1712,\"category\":\"Mäßig\",\"value\":38.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.009011,49.595108]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Steinbach Braeu\",\"address\":\"Vierzigmannstrasse 4\",\"zipcode\":91054,\"village\":\"Erlangen\",\"state\":\"Bayern\",\"web\":\"www.steinbach-braeu.de\\u003c/a>\",\"founded\":1861,\"category\":\"Leicht\",\"value\":56.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.005049,49.602554]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Greif\",\"address\":\"Serlbacher Strasse 10\",\"zipcode\":91301,\"village\":\"Forchheim\",\"state\":\"Bayern\",\"web\":\"www.brauerei-greif.de\\u003c/a>\",\"founded\":1848,\"category\":\"Mäßig\",\"value\":86.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.059662,49.72581]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Hebendanz GmbH\",\"address\":\"Sattlertorstrasse 14\",\"zipcode\":91301,\"village\":\"Forchheim\",\"state\":\"Bayern\",\"web\":\"www.brauerei-hebendanz.de\\u003c/a>\",\"founded\":1579,\"category\":\"kein Schaden\",\"value\":38.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.056749,49.7202]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Friedmann\",\"address\":\"Jaegersberg 16\",\"zipcode\":91322,\"village\":\"Graefenberg\",\"state\":\"Bayern\",\"web\":\"www.brauerei-friedmann.de\\u003c/a>\",\"founded\":1875,\"category\":\"Schwer\",\"value\":53.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.252699,49.644533]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Lindenbraeu\",\"address\":\"Am Bach 3\",\"zipcode\":91322,\"village\":\"Graefenberg\",\"state\":\"Bayern\",\"web\":\"www.lindenbraeu.de\\u003c/a>\",\"founded\":1932,\"category\":\"Mäßig\",\"value\":60.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.248618,49.645651]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Windsheimer GmbH\",\"address\":\"Hauptstrasse 13\",\"zipcode\":91468,\"village\":\"Gutenstetten\",\"state\":\"Bayern\",\"web\":\"www.brauerei-windsheimer.de\\u003c/a>\",\"founded\":1767,\"category\":\"Schwer\",\"value\":26.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.630027,49.615866]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Buergerbraeu Hersbruck, Deinlein & Co.\",\"address\":\"Lohweg 38\",\"zipcode\":91217,\"village\":\"Hersbruck\",\"state\":\"Bayern\",\"web\":\"www.hersbrucker-bier.de\\u003c/a>\",\"founded\":1920,\"category\":\"kein Schaden\",\"value\":29.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.428338,49.50683]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Hochholzer Brauhaus Poeverlein GbR\",\"address\":\"Hochholz 4a\",\"zipcode\":91807,\"village\":\"Solnhofen\",\"state\":\"Bayern\",\"web\":\"www.hochholzer-brauhaus.de\\u003c/a>\",\"founded\":2005,\"category\":\"kein Schaden\",\"value\":48.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.029479,48.900742]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauhaus Hoechstadt\",\"address\":\"Kellerstrasse 11\",\"zipcode\":91315,\"village\":\"Hoechstadt\",\"state\":\"Bayern\",\"web\":\"www.brauhaus-hoechstadt.de\\u003c/a>\",\"founded\":1926,\"category\":\"Mäßig\",\"value\":92.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.806113,49.707329]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei und Gasthof Reichold GmbH\",\"address\":\"Hochstahl 24\",\"zipcode\":91347,\"village\":\"Aufsess\",\"state\":\"Bayern\",\"web\":\"www.brauerei-reichold.de\\u003c/a>\",\"founded\":1906,\"category\":\"Leicht\",\"value\":40.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.267583,49.884229]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Hofmann/Nentwig GbR\",\"address\":\"Hohenschwaerz 16\",\"zipcode\":91322,\"village\":\"Graefenberg\",\"state\":\"Bayern\",\"web\":\"www.brauerei-hofmann.de\\u003c/a>\",\"founded\":1897,\"category\":\"Schwer\",\"value\":21.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.252911,49.677827]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Leinburger Bier\",\"address\":\"Marktplatz 14\",\"zipcode\":91227,\"village\":\"Leinburg\",\"state\":\"Bayern\",\"web\":\"www.leinburgerbier.de\\u003c/a>\",\"founded\":1617,\"category\":\"Mäßig\",\"value\":67.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.308721,49.450083]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Gasthof Drummer\",\"address\":\"Dorfstrasse 10\",\"zipcode\":91359,\"village\":\"Lautenbach\",\"state\":\"Bayern\",\"web\":\"www.brauerei-gasthof-drummer.de\\u003c/a>\",\"founded\":1738,\"category\":\"Mäßig\",\"value\":6.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.172792,49.710838]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Hauff Braeu Lichtnerau GmbH & Co. KG\",\"address\":\"Marktplatz 1\",\"zipcode\":91586,\"village\":\"Lichtenau\",\"state\":\"Bayern\",\"web\":\"www.hauff-braeu.com\\u003c/a>\",\"founded\":null,\"category\":\"Leicht\",\"value\":100.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[10.685605,49.276265]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Wiethaler\",\"address\":\"Welserplatz 6-7\",\"zipcode\":91207,\"village\":\"Neunhof bei Lauf a.d. Pegnitz\",\"state\":\"Bayern\",\"web\":\"www.brauerei-wiethaler.de\\u003c/a>\",\"founded\":1498,\"category\":\"Mäßig\",\"value\":15.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.22997,49.554706]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Gasthof Ott\",\"address\":\"Oberleinleiter 6\",\"zipcode\":91332,\"village\":\"Heiligenstadt i. Ofr.\",\"state\":\"Bayern\",\"web\":\"www.brauerei-ott.de\\u003c/a>\",\"founded\":1678,\"category\":\"Schwer\",\"value\":52.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.129541,49.882777]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Penning-Zeissler\",\"address\":\"Hetzelsdorf 9\",\"zipcode\":91362,\"village\":\"Pretzfeld\",\"state\":\"Bayern\",\"web\":null,\"founded\":1623,\"category\":\"Schwer\",\"value\":85.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.202701,49.727998]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Meister\",\"address\":\"Unterzaunsbach 8\",\"zipcode\":91362,\"village\":\"Pretzfeld\",\"state\":\"Bayern\",\"web\":\"www.meisterbr%C3%A4u.de\\u003c/a>\",\"founded\":1865,\"category\":\"Leicht\",\"value\":72.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.223148,49.737703]}},{\"type\":\"Feature\",\"properties\":{\"brewery\":\"Brauerei Nikl\",\"address\":\"Egloffsteiner Strasse 19\",\"zipcode\":91363,\"village\":\"Pretzfeld\",\"state\":\"Bayern\",\"web\":\"www.brauerei-nikl.de\\u003c/a>\",\"founded\":2008,\"category\":\"Mäßig\",\"value\":24.0},\"geometry\":{\"type\":\"Point\",\"coordinates\":[11.175664,49.755953]}}]},null,\"clustermarkers\",\"custom\",{\"rmax\":50,\"size\":[20,20],\"width\":40,\"height\":50,\"strokeWidth\":1,\"innerRadius\":20,\"labelBackground\":false,\"labelFill\":\"white\",\"labelStroke\":\"black\",\"labelColor\":\"black\",\"labelOpacity\":0.9,\"digits\":0,\"sortTitlebyCount\":true,\"aggregation\":\"mean\",\"valueField\":\"value\"},null,null,null,null,\"brewery\",{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null,null,\"category\",{\"1\":\"Schwer\",\"2\":\"Mäßig\",\"3\":\"Leicht\",\"4\":\"kein Schaden\"},[\"brewery\",\"address\",\"zipcode\",\"category\",\"value\"],[\"Brauerei\",\"Adresse\",\"PLZ\",\"Art\",\"Value\"],null,{\"title\":\"\",\"position\":\"topright\"}]}],\"limits\":{\"lat\":[48.900742,49.884229],\"lng\":[10.316987,11.509409]}},\"evals\":[],\"jsHooks\":[]} ## For Shiny examples, please run: # runApp(system.file(\"examples/clusterCharts_app.R\", package = \"leaflet.extras2\")) # runApp(system.file(\"examples/clustercharts_sum.R\", package = \"leaflet.extras2\"))"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"Add contextmenu Plugin — addContextmenu","title":"Add contextmenu Plugin — addContextmenu","text":"Add contextmenu map markers/vector layers.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add contextmenu Plugin — addContextmenu","text":"","code":"addContextmenu(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add contextmenu Plugin — addContextmenu","text":"map map widget object created leaflet","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add contextmenu Plugin — addContextmenu","text":"leaflet map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addContextmenu.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Add contextmenu Plugin — addContextmenu","text":"function used include required JavaScript CSS bindings set Shiny event handlers.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addContextmenu.html","id":"contextmenu-initialization","dir":"Reference","previous_headings":"","what":"Contextmenu initialization","title":"Add contextmenu Plugin — addContextmenu","text":"contextmenu map must defined leafletOptions. markers/vector layers must defined markerOptions pathOptions.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addContextmenu.html","id":"contextmenu-selection","dir":"Reference","previous_headings":"","what":"Contextmenu selection","title":"Add contextmenu Plugin — addContextmenu","text":"contextmenu selected, Shiny input ID \"MAPID_contextmenu_select\" set (`MAPID` refers map's id). selected contextmenu item triggered : map, returned list contains text item. markers, returned list also contains layerId, group, lat, lng label. vector layers, returned list also contains layerId, group label.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addContextmenu.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add contextmenu Plugin — addContextmenu","text":"https://github.com/aratcliffe/Leaflet.contextmenu","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addContextmenu.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add contextmenu Plugin — addContextmenu","text":"","code":"library(leaflet) leaflet(options = leafletOptions( contextmenu = TRUE, contextmenuWidth = 200, contextmenuItems = context_mapmenuItems( context_menuItem(\"Zoom Out\", \"function(e) {this.zoomOut()}\", disabled=FALSE), \"-\", context_menuItem(\"Zoom In\", \"function(e) {this.zoomIn()}\")))) %>% addTiles(group = \"base\") %>% addContextmenu() %>% addMarkers(data = breweries91, label = ~brewery, layerId = ~founded, group = \"marker\", options = markerOptions( contextmenu = TRUE, contextmenuWidth = 200, contextmenuItems = context_markermenuItems( context_menuItem(text = \"Show Marker Coords\", callback = \"function(e) {alert(e.latlng);}\", index = 1) ) )) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}},\"contextmenu\":true,\"contextmenuWidth\":200,\"contextmenuItems\":[{\"text\":\"Zoom Out\",\"callback\":\"function(e) {this.zoomOut()}\",\"disabled\":false},\"-\",{\"text\":\"Zoom In\",\"callback\":\"function(e) {this.zoomIn()}\"}]},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,\"base\",{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addContextmenu\",\"args\":[]},{\"method\":\"addMarkers\",\"args\":[[49.71979,49.884051,49.502098,49.274716,49.861905,49.794334,49.701477,49.067436,49.070292,49.77994,49.060542,49.561804,49.595108,49.602554,49.72581,49.7202,49.644533,49.645651,49.615866,49.50683,48.900742,49.707329,49.884229,49.677827,49.450083,49.710838,49.276265,49.554706,49.882777,49.727998,49.737703,49.755953],[10.889217,11.228988,10.416021,10.928096,11.291932,11.509409,11.163238,10.34418,10.316987,11.186931,10.965571,11.368508,11.009011,11.005049,11.059662,11.056749,11.252699,11.248618,10.630027,11.428338,11.029479,10.806113,11.267583,11.252911,11.308721,11.172792,10.685605,11.22997,11.129541,11.202701,11.223148,11.175664],null,[1422,1886,1867,1887,1834,1568,1886,1901,1999,null,1690,1998,1712,1861,1848,1579,1875,1932,1767,1920,2005,1926,1906,1897,1617,1738,null,1498,1678,1623,1865,2008],\"marker\",{\"interactive\":true,\"draggable\":false,\"keyboard\":true,\"title\":\"\",\"alt\":\"\",\"zIndexOffset\":0,\"opacity\":1,\"riseOnHover\":false,\"riseOffset\":250,\"contextmenu\":true,\"contextmenuWidth\":200,\"contextmenuItems\":[[{\"text\":\"Show Marker Coords\",\"callback\":\"function(e) {alert(e.latlng);}\",\"index\":1}]]},null,null,null,null,[\"Brauerei Rittmayer\",\"Aufsesser Brauerei\",\"Brauhaus Doebler\",\"Brauerei Gundel GmbH\",\"Krug-Braeu\",\"Brauerei-Gasthof Herold\",\"Brauerei Alt Dietzhof\",\"Brauerei Hauf KG\",\"Weib's Brauhaus Dinkelsbuehl\",\"Schwanenbraeu\",\"Fuerst Carl Schlossbrauerei Ellingen\",\"Brauerei Enzensteiner\",\"Kitzmann-Braeu GmbH & Co. Kg\",\"Steinbach Braeu\",\"Brauerei Greif\",\"Brauerei Hebendanz GmbH\",\"Brauerei Friedmann\",\"Lindenbraeu\",\"Brauerei Windsheimer GmbH\",\"Buergerbraeu Hersbruck, Deinlein & Co.\",\"Hochholzer Brauhaus Poeverlein GbR\",\"Brauhaus Hoechstadt\",\"Brauerei und Gasthof Reichold GmbH\",\"Brauerei Hofmann/Nentwig GbR\",\"Leinburger Bier\",\"Brauerei Gasthof Drummer\",\"Hauff Braeu Lichtnerau GmbH & Co. KG\",\"Brauerei Wiethaler\",\"Brauerei Gasthof Ott\",\"Brauerei Penning-Zeissler\",\"Brauerei Meister\",\"Brauerei Nikl\"],{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null]}],\"limits\":{\"lat\":[48.900742,49.884229],\"lng\":[10.316987,11.509409]}},\"evals\":[\"options.contextmenuItems.0.callback\",\"options.contextmenuItems.2.callback\",\"calls.2.args.5.contextmenuItems.0.0.callback\"],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addDivicon.html","id":null,"dir":"Reference","previous_headings":"","what":"Add DivIcon Markers to a Leaflet Map — addDivicon","title":"Add DivIcon Markers to a Leaflet Map — addDivicon","text":"Adds customizable DivIcon markers Leaflet map. function can accept either spatial data (lines points) form Simple Feature (sf) object numeric vectors latitude longitude coordinates. allows application custom HTML content CSS classes marker, providing high flexibility marker design.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addDivicon.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add DivIcon Markers to a Leaflet Map — addDivicon","text":"","code":"addDivicon( map, lng = NULL, lat = NULL, layerId = NULL, group = NULL, popup = NULL, popupOptions = NULL, label = NULL, labelOptions = NULL, className = NULL, html = NULL, options = markerOptions(), clusterOptions = NULL, clusterId = NULL, divOptions = list(), data = getMapData(map) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addDivicon.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add DivIcon Markers to a Leaflet Map — addDivicon","text":"map Leaflet map object DivIcon markers added. lng numeric vector longitudes, one-sided formula form ~x x variable data; default (explicitly provided), automatically inferred data looking column named lng, long, longitude (case-insensitively) lat vector latitudes formula (similar lng argument; names lat latitude used guessing latitude column data) layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. popup character vector HTML content popups (recommended escape text using htmlEscape() security reasons) popupOptions Vector popupOptions provide popups label character vector HTML content labels labelOptions Vector labelOptions provide label options label. Default NULL className single CSS class vector CSS classes apply DivIcon markers. html single HTML string vector HTML strings display within DivIcon markers. options list extra options markers. See markerOptions details. clusterOptions NULL, markers clustered using Leaflet.markercluster; can use markerClusterOptions() specify marker cluster options clusterId id marker cluster layer divOptions list extra options Leaflet DivIcon. data data object argument values derived; default, data object provided leaflet() initially, can overridden","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addDivicon.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add DivIcon Markers to a Leaflet Map — addDivicon","text":"modified Leaflet map object.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addDivicon.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add DivIcon Markers to a Leaflet Map — addDivicon","text":"","code":"library(sf) library(leaflet) library(leaflet.extras2) # Sample data df <- sf::st_as_sf(atlStorms2005) df <- suppressWarnings(st_cast(df, \"POINT\")) df <- df[sample(1:nrow(df), 50, replace = FALSE),] df$classes = sample(x = c(\"myclass1\",\"myclass2\",\"myclass3\"), nrow(df), replace = TRUE) df$ID <- paste0(\"ID_\", 1:nrow(df)) leaflet() %>% addTiles() %>% addDivicon(data = df , html = ~paste0( '
    ', '
    ', Name, '<\/div>', '
    MaxWind: ', MaxWind, '<\/div>', '<\/div>' ) , label = ~Name , layerId = ~ID , group = \"Divicons\" , popup = ~paste(\"ID: \", ID, \"
    \", \"Name: \", Name, \"
    \", \"MaxWind:\", MaxWind, \"
    \", \"MinPress:\", MinPress) , options = markerOptions(draggable = TRUE) ) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"©
    OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addDivicon\",\"args\":[[16.9,36.5,21.8,20.8,30.5,23.8,17.9,29,26.2,38,37,39.6,29.3,16,17.4,28.9,22.4,36,32.2,13.3,23,25.9,67.5,24.4,39.4,23.1,13.6,32.6,18.5,32.5,33.9,39,18.3,20.3,21.3,39.4,17.8,22.8,27.2,28.6,16.4,19.1,43.3,26.1,26,17.6,25.7,32.1,22,32.6],[-84,-66.5,-86.8,-97.3,-63.8,-39.3,-84,-50.4,-76.40000000000001,-73.40000000000001,-87,-48.6,-62,-79.8,-83.90000000000001,-79.3,-57.2,-40.6,-68.3,-66.7,-52,-40.5,1.9,-84.7,-46.4,-75.09999999999999,-62.8,-57.1,-57.2,-49.8,-55.4,-85.59999999999999,-86.7,-87.3,-47.2,-86.5,-70.5,-58.1,-45.9,-79.59999999999999,-78,-85.8,-30.7,-85,-89.90000000000001,-58.9,-75.90000000000001,-70.2,-90.3,-89.09999999999999],[\"ID_1\",\"ID_2\",\"ID_3\",\"ID_4\",\"ID_5\",\"ID_6\",\"ID_7\",\"ID_8\",\"ID_9\",\"ID_10\",\"ID_11\",\"ID_12\",\"ID_13\",\"ID_14\",\"ID_15\",\"ID_16\",\"ID_17\",\"ID_18\",\"ID_19\",\"ID_20\",\"ID_21\",\"ID_22\",\"ID_23\",\"ID_24\",\"ID_25\",\"ID_26\",\"ID_27\",\"ID_28\",\"ID_29\",\"ID_30\",\"ID_31\",\"ID_32\",\"ID_33\",\"ID_34\",\"ID_35\",\"ID_36\",\"ID_37\",\"ID_38\",\"ID_39\",\"ID_40\",\"ID_41\",\"ID_42\",\"ID_43\",\"ID_44\",\"ID_45\",\"ID_46\",\"ID_47\",\"ID_48\",\"ID_49\",\"ID_50\"],\"Divicons\",{\"interactive\":true,\"draggable\":true,\"keyboard\":true,\"title\":\"\",\"alt\":\"\",\"zIndexOffset\":0,\"opacity\":1,\"riseOnHover\":false,\"riseOffset\":250},null,[\"
    ARLENE<\\/div>
    MaxWind: 60<\\/div><\\/div>\",\"
    IRENE<\\/div>
    MaxWind: 90<\\/div><\\/div>\",\"
    WILMA<\\/div>
    MaxWind: 160<\\/div><\\/div>\",\"
    BRET<\\/div>
    MaxWind: 35<\\/div><\\/div>\",\"
    NATE<\\/div>
    MaxWind: 80<\\/div><\\/div>\",\"
    DELTA<\\/div>
    MaxWind: 60<\\/div><\\/div>\",\"
    WILMA<\\/div>
    MaxWind: 160<\\/div><\\/div>\",\"
    LEE<\\/div>
    MaxWind: 35<\\/div><\\/div>\",\"
    FRANKLIN<\\/div>
    MaxWind: 60<\\/div><\\/div>\",\"
    TWENTY-TWO<\\/div>
    MaxWind: 40<\\/div><\\/div>\",\"
    KATRINA<\\/div>
    MaxWind: 150<\\/div><\\/div>\",\"
    HARVEY<\\/div>
    MaxWind: 55<\\/div><\\/div>\",\"
    TWENTY-TWO<\\/div>
    MaxWind: 40<\\/div><\\/div>\",\"
    WILMA<\\/div>
    MaxWind: 160<\\/div><\\/div>\",\"
    ARLENE<\\/div>
    MaxWind: 60<\\/div><\\/div>\",\"
    OPHELIA<\\/div>
    MaxWind: 75<\\/div><\\/div>\",\"
    IRENE<\\/div>
    MaxWind: 90<\\/div><\\/div>\",\"
    NATE<\\/div>
    MaxWind: 80<\\/div><\\/div>\",\"
    FRANKLIN<\\/div>
    MaxWind: 60<\\/div><\\/div>\",\"
    EMILY<\\/div>
    MaxWind: 140<\\/div><\\/div>\",\"
    MARIA<\\/div>
    MaxWind: 100<\\/div><\\/div>\",\"
    EPSILON<\\/div>
    MaxWind: 75<\\/div><\\/div>\",\"
    OPHELIA<\\/div>
    MaxWind: 75<\\/div><\\/div>\",\"
    KATRINA<\\/div>
    MaxWind: 150<\\/div><\\/div>\",\"
    MARIA<\\/div>
    MaxWind: 100<\\/div><\\/div>\",\"
    KATRINA<\\/div>
    MaxWind: 150<\\/div><\\/div>\",\"
    GAMMA<\\/div>
    MaxWind: 45<\\/div><\\/div>\",\"
    HARVEY<\\/div>
    MaxWind: 55<\\/div><\\/div>\",\"
    PHILIPPE<\\/div>
    MaxWind: 70<\\/div><\\/div>\",\"
    EPSILON<\\/div>
    MaxWind: 75<\\/div><\\/div>\",\"
    MARIA<\\/div>
    MaxWind: 100<\\/div><\\/div>\",\"
    DENNIS<\\/div>
    MaxWind: 130<\\/div><\\/div>\",\"
    CINDY<\\/div>
    MaxWind: 65<\\/div><\\/div>\",\"
    EMILY<\\/div>
    MaxWind: 140<\\/div><\\/div>\",\"
    IRENE<\\/div>
    MaxWind: 90<\\/div><\\/div>\",\"
    DENNIS<\\/div>
    MaxWind: 130<\\/div><\\/div>\",\"
    ALPHA<\\/div>
    MaxWind: 45<\\/div><\\/div>\",\"
    IRENE<\\/div>
    MaxWind: 90<\\/div><\\/div>\",\"
    DELTA<\\/div>
    MaxWind: 60<\\/div><\\/div>\",\"
    OPHELIA<\\/div>
    MaxWind: 75<\\/div><\\/div>\",\"
    EMILY<\\/div>
    MaxWind: 140<\\/div><\\/div>\",\"
    WILMA<\\/div>
    MaxWind: 160<\\/div><\\/div>\",\"
    HARVEY<\\/div>
    MaxWind: 55<\\/div><\\/div>\",\"
    DENNIS<\\/div>
    MaxWind: 130<\\/div><\\/div>\",\"
    RITA<\\/div>
    MaxWind: 155<\\/div><\\/div>\",\"
    TEN<\\/div>
    MaxWind: 30<\\/div><\\/div>\",\"
    FRANKLIN<\\/div>
    MaxWind: 60<\\/div><\\/div>\",\"
    IRENE<\\/div>
    MaxWind: 90<\\/div><\\/div>\",\"
    EMILY<\\/div>
    MaxWind: 140<\\/div><\\/div>\",\"
    KATRINA<\\/div>
    MaxWind: 150<\\/div><\\/div>\"],[\"ID: ID_1
    Name: ARLENE
    MaxWind: 60
    MinPress: 989\",\"ID: ID_2
    Name: IRENE
    MaxWind: 90
    MinPress: 970\",\"ID: ID_3
    Name: WILMA
    MaxWind: 160
    MinPress: 882\",\"ID: ID_4
    Name: BRET
    MaxWind: 35
    MinPress: 1002\",\"ID: ID_5
    Name: NATE
    MaxWind: 80
    MinPress: 979\",\"ID: ID_6
    Name: DELTA
    MaxWind: 60
    MinPress: 980\",\"ID: ID_7
    Name: WILMA
    MaxWind: 160
    MinPress: 882\",\"ID: ID_8
    Name: LEE
    MaxWind: 35
    MinPress: 1006\",\"ID: ID_9
    Name: FRANKLIN
    MaxWind: 60
    MinPress: 997\",\"ID: ID_10
    Name: TWENTY-TWO
    MaxWind: 40
    MinPress: 1005\",\"ID: ID_11
    Name: KATRINA
    MaxWind: 150
    MinPress: 902\",\"ID: ID_12
    Name: HARVEY
    MaxWind: 55
    MinPress: 994\",\"ID: ID_13
    Name: TWENTY-TWO
    MaxWind: 40
    MinPress: 1005\",\"ID: ID_14
    Name: WILMA
    MaxWind: 160
    MinPress: 882\",\"ID: ID_15
    Name: ARLENE
    MaxWind: 60
    MinPress: 989\",\"ID: ID_16
    Name: OPHELIA
    MaxWind: 75
    MinPress: 976\",\"ID: ID_17
    Name: IRENE
    MaxWind: 90
    MinPress: 970\",\"ID: ID_18
    Name: NATE
    MaxWind: 80
    MinPress: 979\",\"ID: ID_19
    Name: FRANKLIN
    MaxWind: 60
    MinPress: 997\",\"ID: ID_20
    Name: EMILY
    MaxWind: 140
    MinPress: 929\",\"ID: ID_21
    Name: MARIA
    MaxWind: 100
    MinPress: 962\",\"ID: ID_22
    Name: EPSILON
    MaxWind: 75
    MinPress: 981\",\"ID: ID_23
    Name: OPHELIA
    MaxWind: 75
    MinPress: 976\",\"ID: ID_24
    Name: KATRINA
    MaxWind: 150
    MinPress: 902\",\"ID: ID_25
    Name: MARIA
    MaxWind: 100
    MinPress: 962\",\"ID: ID_26
    Name: KATRINA
    MaxWind: 150
    MinPress: 902\",\"ID: ID_27
    Name: GAMMA
    MaxWind: 45
    MinPress: 1002\",\"ID: ID_28
    Name: HARVEY
    MaxWind: 55
    MinPress: 994\",\"ID: ID_29
    Name: PHILIPPE
    MaxWind: 70
    MinPress: 985\",\"ID: ID_30
    Name: EPSILON
    MaxWind: 75
    MinPress: 981\",\"ID: ID_31
    Name: MARIA
    MaxWind: 100
    MinPress: 962\",\"ID: ID_32
    Name: DENNIS
    MaxWind: 130
    MinPress: 930\",\"ID: ID_33
    Name: CINDY
    MaxWind: 65
    MinPress: 991\",\"ID: ID_34
    Name: EMILY
    MaxWind: 140
    MinPress: 929\",\"ID: ID_35
    Name: IRENE
    MaxWind: 90
    MinPress: 970\",\"ID: ID_36
    Name: DENNIS
    MaxWind: 130
    MinPress: 930\",\"ID: ID_37
    Name: ALPHA
    MaxWind: 45
    MinPress: 998\",\"ID: ID_38
    Name: IRENE
    MaxWind: 90
    MinPress: 970\",\"ID: ID_39
    Name: DELTA
    MaxWind: 60
    MinPress: 980\",\"ID: ID_40
    Name: OPHELIA
    MaxWind: 75
    MinPress: 976\",\"ID: ID_41
    Name: EMILY
    MaxWind: 140
    MinPress: 929\",\"ID: ID_42
    Name: WILMA
    MaxWind: 160
    MinPress: 882\",\"ID: ID_43
    Name: HARVEY
    MaxWind: 55
    MinPress: 994\",\"ID: ID_44
    Name: DENNIS
    MaxWind: 130
    MinPress: 930\",\"ID: ID_45
    Name: RITA
    MaxWind: 155
    MinPress: 895\",\"ID: ID_46
    Name: TEN
    MaxWind: 30
    MinPress: 1008\",\"ID: ID_47
    Name: FRANKLIN
    MaxWind: 60
    MinPress: 997\",\"ID: ID_48
    Name: IRENE
    MaxWind: 90
    MinPress: 970\",\"ID: ID_49
    Name: EMILY
    MaxWind: 140
    MinPress: 929\",\"ID: ID_50
    Name: KATRINA
    MaxWind: 150
    MinPress: 902\"],null,[\"ARLENE\",\"IRENE\",\"WILMA\",\"BRET\",\"NATE\",\"DELTA\",\"WILMA\",\"LEE\",\"FRANKLIN\",\"TWENTY-TWO\",\"KATRINA\",\"HARVEY\",\"TWENTY-TWO\",\"WILMA\",\"ARLENE\",\"OPHELIA\",\"IRENE\",\"NATE\",\"FRANKLIN\",\"EMILY\",\"MARIA\",\"EPSILON\",\"OPHELIA\",\"KATRINA\",\"MARIA\",\"KATRINA\",\"GAMMA\",\"HARVEY\",\"PHILIPPE\",\"EPSILON\",\"MARIA\",\"DENNIS\",\"CINDY\",\"EMILY\",\"IRENE\",\"DENNIS\",\"ALPHA\",\"IRENE\",\"DELTA\",\"OPHELIA\",\"EMILY\",\"WILMA\",\"HARVEY\",\"DENNIS\",\"RITA\",\"TEN\",\"FRANKLIN\",\"IRENE\",\"EMILY\",\"KATRINA\"],{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null,null,[],null]}],\"limits\":{\"lat\":[13.3,67.5],\"lng\":[-97.3,1.9]}},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addEasyprint.html","id":null,"dir":"Reference","previous_headings":"","what":"Add easyPrint Plugin — addEasyprint","title":"Add easyPrint Plugin — addEasyprint","text":"Add control, allows print export map .PNG.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addEasyprint.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add easyPrint Plugin — addEasyprint","text":"","code":"addEasyprint(map, options = easyprintOptions())"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addEasyprint.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add easyPrint Plugin — addEasyprint","text":"map map widget object created leaflet options named list options. See easyprintOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addEasyprint.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add easyPrint Plugin — addEasyprint","text":"leaflet map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addEasyprint.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add easyPrint Plugin — addEasyprint","text":"https://github.com/rowanwins/leaflet-easyPrint","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addEasyprint.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add easyPrint Plugin — addEasyprint","text":"","code":"library(leaflet) leaflet() %>% addTiles() %>% addEasyprint(options = easyprintOptions( title = 'Print map', position = 'bottomleft', exportOnly = TRUE)) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addEasyprint\",\"args\":[{\"title\":\"Print map\",\"position\":\"bottomleft\",\"sizeModes\":[\"A4Portrait\",\"A4Landscape\",\"CurrentSize\"],\"exportOnly\":true,\"tileWait\":500,\"filename\":\"map\",\"hidden\":false,\"hideControlContainer\":true,\"spinnerBgColor\":\"#0DC5C1\",\"customSpinnerClass\":\"epLoader\"}]}]},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addGIBS.html","id":null,"dir":"Reference","previous_headings":"","what":"Add GIBS Layers — addGIBS","title":"Add GIBS Layers — addGIBS","text":"leaflet plugin NASA EOSDIS GIBS imagery integration. 154 products available. date can set dynamically multi-temporal products. -data pixels MODIS Multiband Imagery can made transparent.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addGIBS.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add GIBS Layers — addGIBS","text":"","code":"addGIBS( map, layers = NULL, group = NULL, dates = NULL, opacity = 0.5, transparent = TRUE )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addGIBS.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add GIBS Layers — addGIBS","text":"map map widget object created leaflet() layers character vector GIBS-layers. See gibs_layers group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. dates Date object. multiple layers added, can add Date vector length opacity Numeric value determining opacity. multiple layers added, can add numeric vector length transparent layer transparent. multiple layers added, can add boolean vector length","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addGIBS.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add GIBS Layers — addGIBS","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addGIBS.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add GIBS Layers — addGIBS","text":"https://github.com/aparshin/leaflet-GIBS","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addGIBS.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add GIBS Layers — addGIBS","text":"","code":"library(leaflet) library(leaflet.extras2) layers <- gibs_layers$title[c(35, 128, 185)] leaflet() %>% addTiles() %>% setView(9, 50, 4) %>% addGIBS(layers = layers, dates = Sys.Date() - 1, group = layers) %>% addLayersControl(overlayGroups = layers) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addGIBS\",\"args\":[[\"AIRS_Precipitation_Day\",\"MODIS_Terra_Chlorophyll_A\",\"MODIS_Aqua_AOD_Deep_Blue_Combined\"],[\"AIRS_Precipitation_Day\",\"MODIS_Terra_Chlorophyll_A\",\"MODIS_Aqua_AOD_Deep_Blue_Combined\"],[\"2024-08-31\",\"2024-08-31\",\"2024-08-31\"],[0.5,0.5,0.5],[true,true,true]]},{\"method\":\"addLayersControl\",\"args\":[[],[\"AIRS_Precipitation_Day\",\"MODIS_Terra_Chlorophyll_A\",\"MODIS_Aqua_AOD_Deep_Blue_Combined\"],{\"collapsed\":true,\"autoZIndex\":true,\"position\":\"topright\"}]}],\"setView\":[[50,9],4,[]]},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHeightgraph.html","id":null,"dir":"Reference","previous_headings":"","what":"Add a Heightgraph layer — addHeightgraph","title":"Add a Heightgraph layer — addHeightgraph","text":"Visualize height information road attributes linestring segments. linestrings must Simple Feature LINESTRING Z transformed GeoJSON. function therefore inherits arguments addGeoJSON.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHeightgraph.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add a Heightgraph layer — addHeightgraph","text":"","code":"addHeightgraph( map, data = NULL, columns = NULL, layerId = NULL, group = NULL, color = \"#03F\", weight = 5, opacity = 0.5, dashArray = NULL, smoothFactor = 1, noClip = FALSE, pathOpts = leaflet::pathOptions(), options = heightgraphOptions() )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHeightgraph.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add a Heightgraph layer — addHeightgraph","text":"map map widget object created leaflet() data Simple Feature LINESTRING Z dimension. columns character vector columns want include heightgraph control layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. color stroke color weight stroke width pixels opacity stroke opacity (layer opacity tile layers) dashArray string defines stroke dash pattern smoothFactor much simplify polyline zoom level (means better performance less accurate representation) noClip whether disable polyline clipping pathOpts List options path. See pathOptions options List plugin options. See heightgraphOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHeightgraph.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add a Heightgraph layer — addHeightgraph","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHeightgraph.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Add a Heightgraph layer — addHeightgraph","text":"used Shiny, 3 events update certain Shiny Input: click updates input$MAPID_heightgraph_click mouseover updates input$MAPID_heightgraph_mouseover mouseout updates input$MAPID_heightgraph_mouseout want explicitly remove Heightgraph control, please use removeControl layerId = \"hg_control\".","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHeightgraph.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add a Heightgraph layer — addHeightgraph","text":"https://github.com/GIScience/Leaflet.Heightgraph","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHeightgraph.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add a Heightgraph layer — addHeightgraph","text":"","code":"library(leaflet) library(leaflet.extras2) library(sf) data <- st_cast(st_as_sf(leaflet::atlStorms2005[4,]), \"LINESTRING\") data <- st_transform(data, 4326) data <- data.frame(st_coordinates(data)) data$elev <- round(runif(nrow(data), 10, 500), 2) data$L1 <- NULL L1 <- round(seq.int(1, 4, length.out = nrow(data))) data <- st_as_sf(st_sfc(lapply(split(data, L1), function(x) { st_linestring(as.matrix(x)) }))) data$steepness <- 1:nrow(data) data$suitability <- nrow(data):1 data$popup <- apply(data, 1, function(x) { sprintf(\"Steepness: %s
    Suitability: %s\", x$steepness, x$suitability) }) leaflet() %>% addTiles(group = \"base\") %>% addHeightgraph(color = \"red\", columns = c(\"steepness\", \"suitability\"), opacity = 1, data = data, group = \"heightgraph\", options = heightgraphOptions(width = 400)) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,\"base\",{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"©
    OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addHeightgraph\",\"args\":[[{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"properties\":{\"attributeType\":1,\"suitability\":4,\"popup\":\"Steepness: 1
    Suitability: 4\"},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[-86.7,18.3,437.59],[-87.2,18.6,491.81],[-87.6,19.0,117.1],[-87.9,19.3,335.62],[-88.5,20.9,200.89],[-89.0,22.3,32.57]]}},{\"type\":\"Feature\",\"properties\":{\"attributeType\":2,\"suitability\":3,\"popup\":\"Steepness: 2
    Suitability: 3\"},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[-89.7,23.9,312.29],[-90.2,25.1,303.25],[-90.4,26.4,209.36],[-90.5,27.6,430.58],[-90.3,28.5,263.66],[-90.1,29.2,489.85],[-90.0,29.6,18.34],[-89.5,30.2,339.99],[-88.9,30.8,191.92],[-88.1,31.6,459.83],[-87.2,32.4,342.21]]}},{\"type\":\"Feature\",\"properties\":{\"attributeType\":3,\"suitability\":2,\"popup\":\"Steepness: 3
    Suitability: 2\"},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[-86.2,33.2,335.92],[-84.1,34.6,380.46],[-81.8,35.6,275.99],[-80.0,37.1,127.25],[-78.3,37.8,259.36],[-76.7,38.4,214.46],[-74.8,39.1,366.2],[-72.0,39.5,322.47],[-70.7,40.8,204.24],[-69.8,41.6,480.15],[-69.6,43.5,156.34]]}},{\"type\":\"Feature\",\"properties\":{\"attributeType\":4,\"suitability\":1,\"popup\":\"Steepness: 4
    Suitability: 1\"},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[-69.8,44.9,34.6],[-70.0,45.5,292.33],[-67.6,46.5,116.77],[-66.4,48.0,71.67],[-64.5,48.5,469.69],[-62.5,48.5,402.62]]}}]},{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"properties\":{\"steepness\":1,\"attributeType\":4,\"popup\":\"Steepness: 1
    Suitability: 4\"},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[-86.7,18.3,437.59],[-87.2,18.6,491.81],[-87.6,19.0,117.1],[-87.9,19.3,335.62],[-88.5,20.9,200.89],[-89.0,22.3,32.57]]}},{\"type\":\"Feature\",\"properties\":{\"steepness\":2,\"attributeType\":3,\"popup\":\"Steepness: 2
    Suitability: 3\"},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[-89.7,23.9,312.29],[-90.2,25.1,303.25],[-90.4,26.4,209.36],[-90.5,27.6,430.58],[-90.3,28.5,263.66],[-90.1,29.2,489.85],[-90.0,29.6,18.34],[-89.5,30.2,339.99],[-88.9,30.8,191.92],[-88.1,31.6,459.83],[-87.2,32.4,342.21]]}},{\"type\":\"Feature\",\"properties\":{\"steepness\":3,\"attributeType\":2,\"popup\":\"Steepness: 3
    Suitability: 2\"},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[-86.2,33.2,335.92],[-84.1,34.6,380.46],[-81.8,35.6,275.99],[-80.0,37.1,127.25],[-78.3,37.8,259.36],[-76.7,38.4,214.46],[-74.8,39.1,366.2],[-72.0,39.5,322.47],[-70.7,40.8,204.24],[-69.8,41.6,480.15],[-69.6,43.5,156.34]]}},{\"type\":\"Feature\",\"properties\":{\"steepness\":4,\"attributeType\":1,\"popup\":\"Steepness: 4
    Suitability: 1\"},\"geometry\":{\"type\":\"LineString\",\"coordinates\":[[-69.8,44.9,34.6],[-70.0,45.5,292.33],[-67.6,46.5,116.77],[-66.4,48.0,71.67],[-64.5,48.5,469.69],[-62.5,48.5,402.62]]}}]}],{\"steepness\":[1,2,3,4],\"suitability\":[4,3,2,1]},null,\"heightgraph\",{\"interactive\":true,\"className\":\"\",\"color\":\"red\",\"weight\":5,\"opacity\":1,\"smoothFactor\":1,\"noClip\":false},{\"position\":\"bottomright\",\"width\":400,\"height\":200,\"margins\":{\"top\":10,\"right\":30,\"bottom\":55,\"left\":50},\"expand\":true,\"highlightStyle\":{\"color\":\"red\"},\"xTicks\":3,\"yTicks\":3}]}],\"limits\":{\"lat\":[18.3,48.5],\"lng\":[-90.5,-62.5]}},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHexbin.html","id":null,"dir":"Reference","previous_headings":"","what":"Add a Hexbin layer — addHexbin","title":"Add a Hexbin layer — addHexbin","text":"Create dynamic hexbin-based heatmaps Leaflet maps. plugin leverages data-binding power d3 allow dynamically update data visualize transitions.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHexbin.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add a Hexbin layer — addHexbin","text":"","code":"addHexbin( map, lng = NULL, lat = NULL, radius = 20, layerId = NULL, group = NULL, opacity = 0.5, options = hexbinOptions(), data = getMapData(map) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHexbin.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add a Hexbin layer — addHexbin","text":"map map widget object created leaflet() lng numeric vector longitudes, one-sided formula form ~x x variable data; default (explicitly provided), automatically inferred data looking column named lng, long, longitude (case-insensitively) lat vector latitudes formula (similar lng argument; names lat latitude used guessing latitude column data) radius Radius hexbin layer layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. opacity Opacity hexbin layer options List options. See hexbinOptions data data object argument values derived; default, data object provided leaflet() initially, can overridden","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHexbin.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add a Hexbin layer — addHexbin","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHexbin.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Add a Hexbin layer — addHexbin","text":"Currently respect layerId group.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHexbin.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add a Hexbin layer — addHexbin","text":"https://github.com/bluehalo/leaflet-d3#hexbins-api","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHexbin.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add a Hexbin layer — addHexbin","text":"","code":"library(leaflet) library(leaflet.extras2) n <- 1000 df <- data.frame(lat = rnorm(n, 42.0285, .01), lng = rnorm(n, -93.65, .01)) leaflet() %>% addTiles() %>% addHexbin(lng = df$lng, lat = df$lat, options = hexbinOptions( colorRange = c(\"red\", \"yellow\", \"blue\"), radiusRange = c(10, 20) )) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"©
    OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addHexbin\",\"args\":[[[-93.6256203190796,42.03550055314643],[-93.641579056967,42.02967592614755],[-93.64161371685307,42.02566377250114],[-93.6517779876809,42.03347908843553],[-93.65337828786998,42.04459942962147],[-93.63116213566015,42.04711135799808],[-93.65115525568089,42.03236249093656],[-93.66072619498854,42.01381356630063],[-93.64826326623857,42.03567524784186],[-93.64398599866958,42.02981910181035],[-93.64903199308789,42.00984076297109],[-93.65345193170315,42.01929336598634],[-93.64631024158257,42.0405402894526],[-93.66539204524435,42.03117267619977],[-93.67565885119181,42.01049740073829],[-93.6455258652052,42.01533662355095],[-93.65454570556111,42.02611453741093],[-93.65060526601299,42.0170687152434],[-93.65589556414336,42.02065523314848],[-93.64749352603526,42.0202223106018],[-93.6486973742026,42.03794337555047],[-93.64790388805328,42.02210307043004],[-93.66263310840215,42.00673769551356],[-93.65663480993794,42.02632855398212],[-93.65444005565355,42.03429914778938],[-93.65589947305588,42.04807169960058],[-93.65509446903918,42.01897396520457],[-93.65319052393026,42.00982614712282],[-93.64059943219451,42.01882326294918],[-93.64454080873658,42.03642451144506],[-93.64112697464768,42.0466503083213],[-93.65576802659731,42.01913027403188],[-93.65652275997267,42.037113005427],[-93.64413672570696,42.03471639911452],[-93.66590766030146,42.0070566782531],[-93.64396397504595,42.03334721682703],[-93.64234198956295,42.02402725725696],[-93.64201723473501,42.03396097078102],[-93.65092398311772,42.04294186711743],[-93.65932317440586,42.03092888733918],[-93.64697645007264,42.03018512104988],[-93.63410914803497,42.03089064666838],[-93.64086140885659,42.03086321420783],[-93.65476254330487,42.02590880832084],[-93.66533084542787,42.03499045697574],[-93.66742228968943,42.01632359023472],[-93.64810963832252,42.03691970418143],[-93.63790717534147,42.0123078935266],[-93.65203970419145,42.03114165925402],[-93.66557476513047,42.02947310701907],[-93.6462837801259,42.04638865362249],[-93.64540460043466,42.01861317214278],[-93.65862775942853,42.04740903211196],[-93.64327076067271,42.04050827464498],[-93.6559329735109,42.0103678897957],[-93.65134899063948,42.03220432228095],[-93.65046335164735,42.0236732322109],[-93.64648003071939,42.02951284477045],[-93.63377194063627,42.0288907730569],[-93.65794645071978,42.03914825695229],[-93.65230499864532,41.99140150533729],[-93.66443511772435,42.04450178342938],[-93.65524252065613,42.04029669840682],[-93.63733710573641,42.0019948453688],[-93.65716171991585,42.02075223863773],[-93.6485451787631,42.03455877804665],[-93.64039469017756,42.02549719363164],[-93.65674246913755,42.03860492429244],[-93.63875321971568,42.01080616786525],[-93.62527062649977,42.03522202668443],[-93.63259796646938,42.02023742654083],[-93.6653075669343,42.02558104072979],[-93.63582979056429,42.02072182924487],[-93.65396850312459,42.02501446159399],[-93.64510005992788,42.03861717340599],[-93.64281378370956,42.02535227843165],[-93.6678788581138,42.02844618158728],[-93.63793247980868,42.01491697197792],[-93.66571492223315,42.04422927577731],[-93.63896433006707,42.01650615838797],[-93.63271125546909,42.02777344269444],[-93.6511600011298,42.02825916023745],[-93.65073191568203,42.04434497497674],[-93.64697853076659,42.02855675626925],[-93.64853487956908,42.02201795516387],[-93.63494711492338,42.04708663206343],[-93.64925326542186,42.03678303183275],[-93.6459504076084,42.04049035271656],[-93.64868029407535,42.03450051241629],[-93.64203947849774,42.02908760120956],[-93.6464031002314,42.01560236469617],[-93.64284249417635,42.02723666140879],[-93.64880250949014,42.03233987624705],[-93.65726018104041,42.02307539895415],[-93.65279741405779,42.0307260526349],[-93.65574141456135,42.02205141600845],[-93.64479517781022,42.02435499732946],[-93.66237501815036,42.00555205826922],[-93.65745412111234,42.02218453996837],[-93.63414427253275,42.02318568876757],[-93.65355862847227,42.03560346515686],[-93.66513059560179,42.02601801443947],[-93.63484425863066,42.03525270015431],[-93.64155719945104,42.02254651040041],[-93.64660989276049,42.02960090411152],[-93.64500268718977,42.03222003230868],[-93.6412199422152,42.02240141699907],[-93.65829692253496,42.03893938895892],[-93.64568904613535,42.02547293715474],[-93.66250980503936,42.04267281260641],[-93.64316716547199,42.01982898935371],[-93.65799310994214,42.00631858852056],[-93.64598756185113,42.02574697982855],[-93.65027807256538,42.0322664508187],[-93.66309722382199,42.03822136286485],[-93.65707087208254,42.03108902502532],[-93.66467377041724,42.0405746914788],[-93.65084216245737,42.02580513636526],[-93.64941828547374,42.02151693211253],[-93.66413435747729,42.0136174405737],[-93.65229451937107,42.05313369124052],[-93.64338722432963,42.03419298098773],[-93.65975090559381,42.01739299083614],[-93.65695569013936,42.04098755016302],[-93.6628258947016,42.02197325025567],[-93.66307464324426,42.02702830668482],[-93.66508476172272,42.0157589868904],[-93.64808974011764,42.03245327502411],[-93.63383481338691,42.00917106653309],[-93.65190854950801,42.0390450295571],[-93.65038559502212,42.02029020092835],[-93.64437974916549,42.02212368972112],[-93.64356729024263,42.0269687537759],[-93.64695504626111,42.01433593489478],[-93.65397419178476,42.03457317769907],[-93.64628534052854,42.02938392362775],[-93.64038048813705,42.01279725647971],[-93.64289684013922,42.03162839820448],[-93.66145498383807,42.03502678559531],[-93.65981852647796,42.02842041993159],[-93.65921175080963,42.04577032918539],[-93.65066505594994,42.04936467404774],[-93.66318925852615,42.0249165454955],[-93.6558514070595,42.01407875557116],[-93.65267594523431,42.03231277467116],[-93.64761386424989,42.0294069683636],[-93.65316641164266,42.03012098186462],[-93.66289557739643,42.03205949971889],[-93.64094159990978,42.0249028642934],[-93.64970233686049,42.0274137301896],[-93.65349271837272,42.04677786512182],[-93.64415919945303,42.00888082270276],[-93.65270649058417,42.03795982801513],[-93.65597926330307,42.03398962073857],[-93.63887392512754,42.02272534679906],[-93.65273655343475,42.01621715093946],[-93.637990683417,42.03889532088862],[-93.64632769078767,42.03305602011422],[-93.65747241241959,42.00470074831723],[-93.66414870851398,42.03447565620228],[-93.65931088644879,42.02977840486754],[-93.63565815130571,42.01133128118651],[-93.63554965623679,42.0288610956161],[-93.66027847133817,42.0385726776584],[-93.64722097623778,42.03563109217416],[-93.65397619157926,42.01740037845585],[-93.64746259688599,42.02999405696124],[-93.6626047621801,42.02463857266136],[-93.65114656028378,42.02619505777729],[-93.63604976814361,42.03242105946791],[-93.66476151105824,42.03319933174096],[-93.65084413577598,42.03838842881547],[-93.64453491764972,42.02136272146483],[-93.65820549720127,42.04119690248689],[-93.64471203849919,42.03559065963535],[-93.65225451935461,42.0389692267028],[-93.64841549413104,42.01639520638343],[-93.66754295752297,42.03230149499792],[-93.6538745576327,42.02782613725271],[-93.64245731424138,42.03130100026868],[-93.64365989959462,42.03180308351234],[-93.64644327296159,42.03134751619049],[-93.64133563810555,42.03278594396507],[-93.64728733263482,42.02729032635654],[-93.64366841049677,42.03308242253333],[-93.64214716221267,42.03466534670979],[-93.66394311047037,42.02674951226671],[-93.6512315526017,42.02727168661328],[-93.63343743680552,42.01377308495079],[-93.65588261452659,42.02973692710569],[-93.64275064051046,42.01754407579197],[-93.66045061803877,42.03238342324322],[-93.63346645532847,42.02094969683139],[-93.66096391331672,42.01618397398285],[-93.65516115853194,42.03614265604268],[-93.65266870124523,42.02204194762796],[-93.64367375525165,42.01808019435919],[-93.65174038823531,42.02012794129521],[-93.65392239281547,42.03876353171844],[-93.65334921801785,42.03703873910592],[-93.6473164002672,42.03675223755797],[-93.6447250470535,42.03103443753201],[-93.64312917368122,42.04256929176383],[-93.64167780704516,42.02688165680436],[-93.64543406386834,42.03585601967482],[-93.64753511925257,42.02946990716439],[-93.64670929091645,42.02877488344485],[-93.64701880752773,42.02149399209161],[-93.65495508694069,42.04474953104592],[-93.65134397209926,42.02886967561164],[-93.64991390049869,42.02475958511018],[-93.64181707059751,42.02077890221415],[-93.65898527731136,42.02516122681384],[-93.65725302885902,42.03492952402512],[-93.64562066873042,42.03286256008709],[-93.65837287466471,42.02945880970892],[-93.65802918123114,42.03178364898589],[-93.65065287583568,42.04066040113695],[-93.66327399032137,42.01760921119362],[-93.65694403409758,42.03394486102906],[-93.65642704061108,42.03311272734583],[-93.6458412995791,42.01362234891206],[-93.64052632390072,42.02158047318171],[-93.64897239806672,42.02856885964673],[-93.65549059985138,42.02695986713507],[-93.65922190756285,42.02791070409631],[-93.64790407832433,42.02317419275359],[-93.64882848393755,42.03929072265989],[-93.63653675745562,42.03724615306615],[-93.66245482016977,42.02183981560638],[-93.64791209987249,42.01723724072867],[-93.65543082093038,42.02480564355162],[-93.63606917147202,42.01668404940818],[-93.63949827795226,42.02909317619817],[-93.65106796940987,42.01018380059469],[-93.65583538320185,42.0366373964706],[-93.65315680196346,42.01365177681286],[-93.64523692228406,42.01425077876056],[-93.66104210984867,42.04786921945606],[-93.6475304641674,42.03538422562603],[-93.65484916160214,42.0317433519279],[-93.65619658967528,42.02711163377764],[-93.65188632206602,42.01666354876167],[-93.6590766226784,42.04462366608594],[-93.6465210291456,42.02206836214298],[-93.6456489848927,42.01684283911988],[-93.66314917473078,42.03163530113295],[-93.65392709469316,42.03398406089722],[-93.64129959418638,42.01592611531352],[-93.66090737731575,42.03850885458183],[-93.65598260937334,42.03163166146523],[-93.6411180965372,42.01869469969555],[-93.6637891353364,42.01784241606998],[-93.6665180584264,42.01836013235261],[-93.65560608080847,42.01483368638948],[-93.67174049105985,42.01082495468683],[-93.66061595905259,42.02284849132223],[-93.63959081222553,42.02591456113463],[-93.6393404664603,42.04481227565131],[-93.64305459723732,42.031748851192],[-93.6486090024261,42.01792384483251],[-93.65201092837336,42.01484442749879],[-93.64966095721098,42.03205476659043],[-93.64636034010505,42.02177155970379],[-93.64875292822443,42.03253145967948],[-93.65565872772063,42.03183291660346],[-93.64858160749095,42.04327891117646],[-93.64646126720204,42.02838870005723],[-93.64280425212188,42.02171523687004],[-93.63831956424129,42.02491434601699],[-93.65863860578654,42.03451616616714],[-93.63908568768174,42.02099515016398],[-93.64556703188414,42.02453460663634],[-93.67562523537916,42.00923475365467],[-93.62715433851032,42.00644096317279],[-93.64932144079636,42.04282228405519],[-93.64626787163063,42.02610271077747],[-93.64878231314198,42.02820639778315],[-93.64417629497129,42.00039968166691],[-93.63917207777327,42.02155841106246],[-93.64279837851794,42.02981521919509],[-93.64913405349058,42.03177751355764],[-93.63606145562763,42.04286151592544],[-93.65295764491702,42.01521277691202],[-93.6551116470925,42.03025713636057],[-93.64628246302246,42.0337660920982],[-93.61922911848895,42.0267750044415],[-93.65841773476963,42.030176896368],[-93.65757351583956,42.04026533062655],[-93.64774484688782,42.0437546878184],[-93.64178988567413,42.02285442314433],[-93.64556993993786,42.03146297717134],[-93.65796659634697,42.0260078696643],[-93.65545376677134,42.02642900397414],[-93.64456702370792,42.03672056628043],[-93.66661003664028,42.03553638224128],[-93.6447615056759,42.02692285241046],[-93.63669227517983,42.02673196460552],[-93.63388351768427,42.0427253584478],[-93.64927977700567,42.01533291589777],[-93.65710756752316,42.02788662287482],[-93.6587130671733,42.02945596029583],[-93.65307498250107,42.02307059584128],[-93.66738088974245,42.03348453635133],[-93.63959572021022,42.02808122498532],[-93.62743208055286,42.0334587085373],[-93.63258048521509,42.03750931705649],[-93.64888431921689,42.04469379506808],[-93.64221921680651,42.0322896715331],[-93.63706626959618,42.02681082515794],[-93.65291159884291,42.02307563266901],[-93.64468724925325,42.01396153567299],[-93.64944125153923,42.03030349349795],[-93.62901462588977,42.03347889684039],[-93.64222030214411,42.01556841071751],[-93.64982593337518,42.03604753609403],[-93.64090001439416,42.02582667498719],[-93.64945680296432,42.03492080561535],[-93.63289527926713,42.0243267362873],[-93.64338270768563,42.01632935874699],[-93.65610819108106,42.04982364324707],[-93.65102528387504,42.01760516849108],[-93.65769892027946,42.02966489304547],[-93.66250920392802,42.04111182052277],[-93.64430997952924,42.03890620865246],[-93.65611318615444,42.01880555696321],[-93.64602499054791,42.03240726208526],[-93.64103185651477,42.03457696667819],[-93.64994596966572,42.01852369508357],[-93.65850009852615,42.04047114834158],[-93.63758938934937,42.01077319062249],[-93.64635295629618,42.03634844111882],[-93.65775399744746,42.02412658869066],[-93.65395000654877,42.02498259125582],[-93.68262717400728,42.04153965632514],[-93.65915951797085,42.01766797706951],[-93.63735044927424,42.01625224189143],[-93.64903105614221,42.02934933079059],[-93.66509469689389,42.03431424435401],[-93.64936278338466,42.03300586953345],[-93.67142291258628,42.03346999113149],[-93.64650731576776,42.03629488950724],[-93.63365563818117,42.04357607696976],[-93.62996355646203,42.01025685502886],[-93.64779290797709,42.03638198592633],[-93.65765586295215,42.01877028747425],[-93.66118195565555,42.03742902117144],[-93.6397903649159,42.03613126973448],[-93.64119151643931,42.03501455950504],[-93.66647363167749,42.02314141646881],[-93.64759132938461,42.02765952781508],[-93.67122455318123,42.00838134425149],[-93.64886861735125,42.02336593284595],[-93.64741818644939,42.0295151962352],[-93.65579197348151,42.02793790263502],[-93.65042879055846,42.00417889174692],[-93.642451679256,42.02224414936551],[-93.65167650813383,42.01974037148644],[-93.65752456624061,42.0313551965789],[-93.65592449106012,42.03193848909088],[-93.66321808972268,42.01914899370291],[-93.65457432639275,42.03141729253871],[-93.62097294293039,42.02897796963296],[-93.64380026763045,42.03293769294245],[-93.68518039134334,42.03517733827517],[-93.65043689976299,42.02537533603154],[-93.64742357562061,42.05373761971543],[-93.65226239008187,42.02430289720489],[-93.64592061307596,42.0418719410963],[-93.64923596629019,42.0262677442433],[-93.63613654929824,42.03443122919397],[-93.64065777359019,42.02784732659416],[-93.63698622668295,42.02148814790249],[-93.64672080394085,42.02320832502053],[-93.66160049579088,42.03019774647903],[-93.64245968506935,42.02964111342264],[-93.63906685461302,42.02053832910084],[-93.63776718154651,42.02613950310158],[-93.65416236098648,42.04035836367488],[-93.65663272138035,42.03037955870489],[-93.64008241386604,42.03888809951444],[-93.65189276256294,42.02400207188781],[-93.65363977547736,42.02141359543868],[-93.6482465259507,42.02880427205083],[-93.63790295245995,42.02400125657554],[-93.64674088133955,42.03520523689212],[-93.65109459095153,42.04619219403896],[-93.64966024164463,42.03484502913715],[-93.66217289646052,42.03218470412195],[-93.64488329815273,42.04230148679133],[-93.63829058612512,42.01982899610905],[-93.64655450087994,42.05286294925864],[-93.64450161244905,42.02893842842994],[-93.6595612762784,42.0253173107016],[-93.64692839444731,42.05538651540083],[-93.64908487917242,42.03420437243337],[-93.6593636235749,42.02305267555917],[-93.63094226069811,42.02616261227509],[-93.64666303975817,42.01384136005286],[-93.65446588844581,42.03242023351352],[-93.64662858396221,42.03755928460194],[-93.63991690316055,42.04051635297962],[-93.62566633386341,42.04030096957275],[-93.64314733547194,42.01782812835148],[-93.64710388523741,42.03173830005366],[-93.65135677606057,42.02657574373226],[-93.6515330646567,42.03585715391262],[-93.66016513972525,42.04123432854973],[-93.65061331067196,42.02594856768472],[-93.6540519219438,42.02839950876485],[-93.65683700773911,42.01611387598884],[-93.64266325685595,42.01786613911536],[-93.66687577781248,42.01806952086115],[-93.64665629540141,42.01617866826113],[-93.65540437058884,42.0307919960532],[-93.63979536948018,42.03471821956017],[-93.66004333661701,42.02964863700712],[-93.65117805864929,42.04351279620267],[-93.64504709008659,42.02275926560753],[-93.62419851112597,42.01675220259904],[-93.63196532448745,42.02903991148908],[-93.66232115298365,42.04065291438015],[-93.65065059258011,42.02408374891927],[-93.6613000149659,42.03595984232477],[-93.64174988568908,42.03062927817143],[-93.64407324913101,42.01523859864701],[-93.6566034799127,42.04518880104028],[-93.64940125632799,42.02723774776455],[-93.66055450799649,42.00773116879538],[-93.64011710300898,42.045227287845],[-93.66350486470631,42.02860057705685],[-93.66124419794276,42.04271914464758],[-93.64770089221966,42.03117993172612],[-93.66023741747753,42.03253898808399],[-93.66087696669287,42.02005376947857],[-93.66343634331875,42.03266762582579],[-93.65359551676333,42.01385654175425],[-93.66257456598683,42.02369390152805],[-93.66157645791864,42.03746839572609],[-93.65190597596941,42.02331142855277],[-93.65503791295137,42.01947215460196],[-93.6546928924945,42.03907943930744],[-93.63998316301353,42.04451205337774],[-93.63726536481664,42.03810435239446],[-93.64383749972764,42.02708490258149],[-93.65453358368778,42.01864538437088],[-93.64477089801176,42.03137411623586],[-93.64646599270517,42.02586643468526],[-93.64774878458297,42.03837801258191],[-93.63358156188522,42.03145153875656],[-93.65851813436515,42.04398142066604],[-93.668000534995,42.02463133410139],[-93.6534388198463,42.02922648454344],[-93.67134494443674,42.02466827354478],[-93.65134482408017,42.02784885007838],[-93.65266116527755,42.03687116801969],[-93.64678813768923,42.04189794131325],[-93.64468497526946,42.02295327455133],[-93.65014906646816,42.04248538884248],[-93.63969545531965,42.03294469261938],[-93.66753157699762,42.03019075655862],[-93.66183287726646,42.03020645599442],[-93.66305423746944,42.03555013647938],[-93.65520529284551,42.02664721729346],[-93.66034937207641,42.03403112347813],[-93.64417860532804,42.03598963065671],[-93.6251636108147,42.00832002538936],[-93.65965248566074,42.01287872118151],[-93.64964704956866,42.03495957603369],[-93.64476143240226,42.03336452250212],[-93.64893855321785,42.0275235025207],[-93.64627739455933,41.99747031689078],[-93.64158234350624,42.02078358696143],[-93.63139191296892,42.03467558000154],[-93.66010373716767,42.01567513735881],[-93.65177632028863,42.03148086923963],[-93.62975638238066,42.03658414749151],[-93.64365581282142,42.0366341837249],[-93.63841512735871,42.03119593764789],[-93.63709464012119,42.01992588084798],[-93.65144495121199,42.04412123838886],[-93.65251715293005,42.01755779672933],[-93.6375182695697,42.02824149487279],[-93.64856925363621,42.01335418748121],[-93.66385329844232,42.02542949202119],[-93.64155391103155,42.00968418872566],[-93.64847227596526,42.03316243448214],[-93.64935674365697,42.03234072687453],[-93.64138736238752,42.03102450747329],[-93.65273301257619,42.03468985820458],[-93.64439370631298,42.03815088723709],[-93.63709231509135,42.03412067464043],[-93.63475784236847,42.01687094472068],[-93.65620363004901,42.02365958726805],[-93.64494614305195,42.03877055697877],[-93.65782027287035,42.02775340283096],[-93.66123941254493,42.02362588207948],[-93.64534201844987,42.02451566521785],[-93.64478361407232,42.02249226713757],[-93.64489909697944,42.02640163992469],[-93.64560059327037,42.03335506359728],[-93.6511190318799,42.04278969096464],[-93.6639818853687,42.02370044312023],[-93.65411521208146,42.04145198373718],[-93.65142930662527,42.03015074149553],[-93.64205094040011,42.03175497243342],[-93.65574940439971,42.02283277380066],[-93.65293892923272,42.01799427813623],[-93.65290658114101,42.01903693287153],[-93.64768387131127,42.02774820041022],[-93.65067205397156,42.03037926497147],[-93.6375599518676,42.04099107639433],[-93.65293926346725,42.02301273099079],[-93.65073971454218,42.0113966886555],[-93.64200474358779,42.02149014022407],[-93.6577053360576,42.04747827043072],[-93.64754527231385,42.03964268604967],[-93.66566192019002,42.03696961751579],[-93.6582269677692,42.03240872601754],[-93.65644508314686,42.03903655337491],[-93.65298573709514,42.02294515744232],[-93.66037365349858,42.02220587324098],[-93.64875197362726,42.03153364542094],[-93.64188556445319,42.02811967798059],[-93.62743250328067,42.04612729502355],[-93.65613394723779,42.03464629289397],[-93.65071723616587,42.01189413208107],[-93.65813328645197,42.01801541906202],[-93.64962326517627,42.01920635502535],[-93.6381415226824,42.04391006628726],[-93.64665570810524,42.03029286381162],[-93.64749456004283,42.01505059624],[-93.64703942689911,42.02101095723089],[-93.65509491534903,42.01860575054767],[-93.64798861814701,42.02002032816431],[-93.64993556261319,42.01939703960476],[-93.64644968959006,42.03259961796257],[-93.66391452022451,42.00029947958966],[-93.63725346868783,42.031752107785],[-93.66386808734994,42.02026733469143],[-93.6560308870782,42.02758994302852],[-93.64661785644522,42.0334405515818],[-93.65086534307011,42.03891615594566],[-93.64179330328091,42.02943549265476],[-93.65078786265661,42.02328055555461],[-93.64973034564305,42.02340058241616],[-93.65570338527428,42.03428205220708],[-93.65268144919823,42.00782838509885],[-93.64257933687429,42.03380885776128],[-93.65256792876158,42.01052553291677],[-93.65920429958049,42.0252550351666],[-93.67045600297692,42.02829740289525],[-93.66165839541739,42.03346431230558],[-93.65838151113225,42.02533558386455],[-93.6428514379899,42.04518848910482],[-93.65512552266129,42.02706957602482],[-93.66101897285763,42.04445746692558],[-93.64468496094547,42.02738562224537],[-93.66885063653424,42.01765999925673],[-93.65988782347584,42.02611324657071],[-93.65202846033883,42.00891170161994],[-93.66937313887567,42.03469093273009],[-93.64109637302742,42.03184126116727],[-93.65112423111796,42.01807940935943],[-93.65224072408583,42.03889254510609],[-93.66283825031186,42.02184388992568],[-93.66342499016994,42.03653473370635],[-93.66070571510903,42.01332680281977],[-93.66552867101456,42.02011690145558],[-93.65493495109065,42.03245546178218],[-93.64761679114466,42.03094543128057],[-93.64972581626884,42.05467296949104],[-93.64771146289614,42.02112123552705],[-93.65069811729082,42.03434228410828],[-93.64038275022233,42.0161112744194],[-93.64579992674997,42.01959900318268],[-93.65384825945657,42.01339974628482],[-93.671557429167,42.0226481760162],[-93.6630964531638,42.01296324158179],[-93.64574191654903,42.02273904850715],[-93.66527475419839,42.04076974959089],[-93.65075326634312,42.03311244643162],[-93.66724481024896,42.0177503901044],[-93.64687616512069,42.02600390974241],[-93.65557059748197,42.02361546106462],[-93.66112549886184,42.03316262699264],[-93.6432659860078,42.0307335490084],[-93.65001044417319,42.02284235505901],[-93.66149541691313,42.02977617848505],[-93.64035771427224,42.03218030036266],[-93.64594144522545,42.03458935108918],[-93.65509258780739,42.03764606946429],[-93.65917171363408,42.0334576725016],[-93.64616736664502,42.03227041584138],[-93.63967017934021,42.01701817529456],[-93.64869478600014,42.03791699457249],[-93.64110166036663,42.03848797959191],[-93.65672486250088,42.0358649979842],[-93.64925014703617,42.01322893022214],[-93.62698720352748,42.01498562346726],[-93.64967244916005,42.02105413506244],[-93.65069560797646,42.030055883792],[-93.64484378006317,42.0210436067428],[-93.63607033455025,42.02832044548255],[-93.63981436828769,42.02828348772313],[-93.6494698944272,42.00891908997824],[-93.64419725246965,42.04550215621207],[-93.65594179494299,42.03404184257167],[-93.65371855337753,42.03826761066954],[-93.66423035199885,42.02548007128389],[-93.6614048381664,42.02451095132228],[-93.63731495261305,42.03260035336667],[-93.6528010439043,42.0277446279992],[-93.64088946010342,42.04146061451853],[-93.62995605460111,42.03716002423425],[-93.64752859578927,42.02200594667723],[-93.65429076093815,42.01858048923032],[-93.67183755121548,42.02771090049019],[-93.65123634896034,42.03448054621512],[-93.64712616121301,42.03152688695411],[-93.65371599268835,42.03581362881523],[-93.63373437742929,42.01988866914852],[-93.64690091653986,42.02171824217652],[-93.66564040664069,42.02615359181473],[-93.66230623465026,42.0352609473529],[-93.66370197482105,42.02783147538175],[-93.64893444195171,42.01533159526087],[-93.65398825491961,42.02559392787523],[-93.65353406129935,42.02898993174899],[-93.64765498873788,42.03803771109439],[-93.63230210116443,42.04321338122566],[-93.64542123615772,42.03632765578089],[-93.63856241888207,42.02487158176019],[-93.66307722620806,42.03442050970741],[-93.65942549601122,42.03979756396793],[-93.65094961250817,42.02477621334581],[-93.66130046973728,42.02472198073344],[-93.66456208036649,42.04179455226112],[-93.66698717514463,42.02078641168179],[-93.66240826690525,42.03368812002345],[-93.66058299049435,42.02956576734011],[-93.65754378567293,42.03431726895354],[-93.65585106942325,42.01183592718089],[-93.64441857918507,42.03671326926096],[-93.6501900658281,42.0204028347158],[-93.65169356024384,42.04909445869507],[-93.63704669283834,42.01820729536448],[-93.66426059995804,42.02719437293445],[-93.63245896272919,42.04722110296298],[-93.67115575268809,42.02119982489671],[-93.63990297575576,42.01570565898229],[-93.64745464916992,42.01981640218963],[-93.65377554129218,42.04042816351963],[-93.64627530743378,42.01405655638241],[-93.66462681110464,42.03105458728758],[-93.64096290708177,42.02770119145863],[-93.65565554996294,42.03633372144742],[-93.65279751069315,42.03957952079066],[-93.63840324700558,42.02397345929988],[-93.65122086503898,42.01448584368236],[-93.65597857264157,42.0234000927681],[-93.65580891380812,42.04412905383124],[-93.64880822314859,42.02502665788823],[-93.64649145568563,42.03533714301069],[-93.65148770851957,42.03675479659921],[-93.64549675308686,42.03161709224027],[-93.65262662972323,42.04613198672258],[-93.64335709437852,42.0311183480916],[-93.63015904876058,42.0298868920399],[-93.65589523268447,42.02504973310993],[-93.64581689946628,42.03587805137249],[-93.64718735947604,42.03180902564857],[-93.67000002111831,42.02956067408906],[-93.64596631513274,42.01971325390249],[-93.63635202399345,42.04313621161526],[-93.6409153166999,42.0172818184398],[-93.65639103511479,42.04055909865505],[-93.6520167184286,42.03440022411115],[-93.64910412875219,42.02314258621204],[-93.63908031380392,42.04037797647815],[-93.65887329901385,42.03401681421224],[-93.63616874098334,42.007110927804],[-93.64749632199546,42.02057346152344],[-93.65473305832842,42.02154342626217],[-93.64444278201209,42.03944752616093],[-93.64832719751125,42.02749637386366],[-93.65254902841257,42.04224677920737],[-93.64430422932153,42.03209881635262],[-93.6570545846247,42.01938363889656],[-93.65200650026348,42.03222154102737],[-93.66379594726838,42.03674123997657],[-93.63568431771144,42.02572139124197],[-93.64363732970774,42.03140705252303],[-93.64581756180711,42.01387765592429],[-93.64666026071778,42.01913765953943],[-93.64085163989151,42.02844606274643],[-93.65648525255611,42.03996549254541],[-93.6558381751129,42.02549733793635],[-93.63882915987506,42.01177599278571],[-93.65229160401427,42.03192697385286],[-93.65627103916168,42.0285442106496],[-93.6291426153964,42.01520844779014],[-93.65252181282814,42.02094297803225],[-93.63723453102557,42.02448464816849],[-93.65413556031783,42.02707553503149],[-93.64429729703605,42.02235207883818],[-93.64566027338677,42.01555171264198],[-93.64462018810859,42.01593826509443],[-93.6546463062607,42.03330847545607],[-93.63785710578593,42.02595469040268],[-93.64338051084825,42.02151790535348],[-93.65925800297747,42.0137487907899],[-93.65778266018414,42.02031728553872],[-93.64093781995349,42.04933201459114],[-93.6421832513434,42.03117543327408],[-93.65257065264505,42.0356818535676],[-93.66198556198819,42.03559885113498],[-93.66035120660224,42.00463693761807],[-93.65563871058536,42.04254265691623],[-93.65976150405669,42.02640389278329],[-93.66664477774114,42.01859750628321],[-93.63695709729708,42.04811966620216],[-93.66202279262676,42.03444045909654],[-93.64090005796812,42.02568304350631],[-93.65122059275177,42.02281214037229],[-93.64905915510415,42.02784904494408],[-93.63670824073226,42.01889255920771],[-93.63857694158541,42.04019699560698],[-93.64732885826845,42.0286865944713],[-93.64375299085437,42.04706655616381],[-93.66570581528498,42.01736815546154],[-93.63726020348038,42.02597232021638],[-93.65649271780273,42.01453927756158],[-93.63270427254739,42.02230848452418],[-93.65110558501327,42.03113314005332],[-93.66730261723593,42.01445985203167],[-93.63903364213796,42.03673751531025],[-93.63426573702768,42.02764983993302],[-93.64561093595596,42.03499380818299],[-93.65273846464045,42.03861451412771],[-93.64383778807003,42.04479933410675],[-93.65349969024696,42.03705285024449],[-93.64255818128649,42.0254812427228],[-93.66037884646627,42.02454242987962],[-93.65980420332507,42.03102985426709],[-93.66437665789563,42.02765155144896],[-93.65096613201364,42.03495852681581],[-93.64986787152822,42.01460716393861],[-93.64885406190258,42.04333731454619],[-93.63333727146947,42.02785361267961],[-93.65536503887105,42.02044732346057],[-93.63575975854617,42.00915114533539],[-93.64231531086212,42.02934844130345],[-93.64146916562903,42.03366876217351],[-93.65475382134791,42.04263751608094],[-93.65250874998418,42.03247139827181],[-93.65062043254366,42.03220104244375],[-93.64454807518064,42.04589235887447],[-93.64434157470652,42.02168460121734],[-93.65953866078173,42.01737519554801],[-93.65642680118036,42.02348025725583],[-93.64661185567687,42.02394543802832],[-93.65319873353074,42.01894965459046],[-93.65965144544161,42.02502151510341],[-93.66261022236863,42.03075223930821],[-93.63409097807609,42.0225487945311],[-93.65187444443467,42.04215366325005],[-93.6485657896495,42.04596178182321],[-93.6520102050595,42.02675653346679],[-93.64299407733606,42.03853396768231],[-93.66582536535205,42.02364399884165],[-93.64539374364439,42.02324117099564],[-93.65627447668624,42.02713477503274],[-93.63626034302681,42.03936759267914],[-93.65624138373472,42.02508146083431],[-93.67750277203361,42.04623852322524],[-93.65179829115121,42.02678311506523],[-93.66096357062685,42.01975139563297],[-93.64047071109609,42.01959947497095],[-93.65661030005845,42.01734445361246],[-93.6270879293878,42.02448866682133],[-93.64580823618451,42.03089963807439],[-93.64418483110144,42.03508544309576],[-93.65206274900899,42.03701661079657],[-93.65101227166936,42.02220989887554],[-93.66115241032806,42.02055450305382],[-93.65535611192416,42.0244628056281],[-93.64498900814321,42.04151410755349],[-93.64963480212587,42.04059732428584],[-93.64541131211486,42.05137588435976],[-93.66521969877439,42.0355336470301],[-93.65442283180555,42.02246134140033],[-93.66773276869181,42.03876247792572],[-93.64461048057697,42.03357419091598],[-93.64277675367762,42.0197391885435],[-93.64417042308612,42.02137909547537],[-93.64462646648929,42.02245068082381],[-93.64714430273224,42.03181807910283],[-93.66482057456456,42.02465804177941],[-93.62536381217032,42.04716823842511],[-93.64868206977155,42.02906204877352],[-93.65252806462894,42.00474508066178],[-93.64008948950905,42.02790272033273],[-93.66338089776762,42.0327387511357],[-93.63864157127118,42.04267801530994],[-93.64943604632572,42.04366974967438],[-93.64961894889667,42.03802646685044],[-93.65430235214177,42.02341164063538],[-93.65553782493306,42.01918480436316],[-93.66708852809485,42.01955964746101],[-93.65554707049687,42.035519496951],[-93.64220326843139,42.02554457607354],[-93.64579162342447,42.03201120892434],[-93.65583530064413,42.03886551466167],[-93.6413696980473,42.03134016402338],[-93.66049878387568,42.02359980282515],[-93.66376696316098,42.03368627891101],[-93.64521295982385,42.04690303364146],[-93.6511379976028,42.03866359790388],[-93.65602881765466,42.03360437080862],[-93.65629993268512,42.00864891100328],[-93.65345159402762,42.0502144117274],[-93.64964639104949,42.02226045390596],[-93.67973885881058,42.03789942447536],[-93.66566146013689,42.02422814612979],[-93.63524243415587,42.04469855527452],[-93.64457010861922,42.02562162902548],[-93.66048817881108,42.01750160492009],[-93.65617483221058,42.03152972044343],[-93.65554655207391,42.02102612543904],[-93.64821705008474,42.02225823776661],[-93.64172455253075,42.03259810385285],[-93.63865009614665,42.03113641992384],[-93.64437720901238,42.02522565258351],[-93.6320981242151,42.02585530966393],[-93.65306880223694,42.03180284088396],[-93.65841409786624,42.02578765660404],[-93.6539766978739,42.02291495370424],[-93.65243537341044,42.02362706355414],[-93.64317030372932,42.03767275935854],[-93.6413748725688,42.03311760511023],[-93.65040741918902,42.05257689785975],[-93.64141362303553,42.03536756474308],[-93.66162152117245,42.01597347830262],[-93.6468268336809,42.02977670290186],[-93.66212990119476,42.01961954243944],[-93.64844374414152,42.03783499705583],[-93.65862042388578,42.03786752243123],[-93.65349729267643,42.03340513527576],[-93.65586681455501,42.02770463402981],[-93.65849060725076,42.03590454136981],[-93.64410307000117,42.03094370975938],[-93.64332756587662,42.02788969916264],[-93.63895947704735,42.01291331908472],[-93.66149450995327,42.02665422773747],[-93.65453019857799,42.01962107984208],[-93.6276107518126,42.03477634465123],[-93.65304553953214,42.03632085949835],[-93.65319894764986,42.01146980034021],[-93.64595756520723,42.04154016523561],[-93.64704301884834,42.01904397266947],[-93.64872819322476,42.025510480809],[-93.64839147993828,42.02737293117901],[-93.6443842861557,42.02341117407193],[-93.64924220526122,42.02207370451353],[-93.63776198017885,42.03901896852175],[-93.64422654019363,42.01869891730097],[-93.66858473531995,42.03427853970982],[-93.65727858218989,42.03124727469431],[-93.65265113988491,42.03133934221364],[-93.64287777896372,42.02051850668561],[-93.64901357249778,42.02748520499506],[-93.6484548025275,42.03589368862752],[-93.65860153676819,42.00904214247262],[-93.63499374394719,42.02401218460127],[-93.65251282933164,42.03040150212831],[-93.65032197216577,42.01364395195617],[-93.65151554267761,42.01317805674632],[-93.63498382525141,42.02298867982664],[-93.64388572763998,42.02684951899712],[-93.64834841350275,42.02051716016226],[-93.66902026286084,42.03776650420951],[-93.66752261966002,42.00733748851736],[-93.6747583432476,42.01873225744378],[-93.65208157174324,42.02884312675376],[-93.64523303428503,42.03306294744628],[-93.64710617698842,42.02756801286324],[-93.64718542927359,42.02911202602257],[-93.66622647563403,42.01626172916918],[-93.647458235738,42.02672994138228],[-93.63659538817227,42.03008609709237],[-93.65113112800348,42.05498916112399],[-93.64696549866974,42.03004546083468],[-93.64260821962294,42.02724388409372],[-93.64566618957873,42.03548670878293],[-93.63804542649849,42.01455535760908],[-93.66159848371211,42.02451530798715],[-93.6452559326175,42.03312394619343],[-93.6526624575925,42.01670549064074],[-93.64171526273066,42.04240890086618],[-93.64148983208177,42.02246383790619],[-93.65100854103189,42.03559695010561],[-93.65524300620437,42.02027505583703],[-93.67658255509883,42.03098695709748],[-93.65043710517239,42.03681135478349],[-93.65500363303187,42.03818400347808],[-93.65261313217522,42.03103009528945],[-93.64029882804998,42.02573155120461],[-93.66315732896882,42.01305385571874],[-93.63565995715948,42.03644946416561],[-93.65136702036166,42.01447799571763],[-93.66829164262295,42.01382033167471],[-93.64842891033911,42.03271302477575],[-93.6530102954806,42.03629037109741],[-93.66408629199147,42.01504143249767],[-93.65566369126709,42.04169267713687],[-93.6333083302078,42.03210042283497],[-93.65126347314734,42.00924996166255],[-93.63794376640966,42.02513411020201],[-93.6509595720007,42.03861115196874],[-93.66034744297937,42.03224007494623],[-93.64501153273025,42.03512637364847],[-93.64787750500818,42.03386609453965],[-93.65471558100698,42.02777587195186],[-93.63206653406706,42.03471193470818],[-93.64349163286303,42.0456447523211],[-93.6560549927006,42.02259740211498],[-93.64023507902856,42.02143678278974],[-93.65505771988521,42.02360379955235],[-93.63645043694774,42.02055907497251],[-93.65325341182108,42.03263360255728],[-93.63648109786089,42.03291552619756],[-93.64101370609144,42.02200022605398],[-93.65705072534941,42.03857883142112],[-93.64245268800767,42.02747868309692],[-93.633534987723,42.03171177482101],[-93.68251352444798,42.02450955296938],[-93.65650990590728,42.01429658857349],[-93.65322373883076,42.0194344886813],[-93.64135491732507,42.03677854480445],[-93.64744056845919,42.01538726796354],[-93.66663056701353,42.03919182030852],[-93.65720636148203,42.0297117447375],[-93.64749919457462,42.04425295720031],[-93.66518201239803,42.04436886045901],[-93.64552992104177,42.01388749947705],[-93.64099679100349,42.03825184287753],[-93.64740178512037,42.03964554944122],[-93.63982034310962,42.05467780809045],[-93.64385728650116,42.0108004484944],[-93.65239408011936,41.99612599788983],[-93.66803149280854,42.03157004133327],[-93.64986574323747,42.02675734248169],[-93.650673286867,42.03507495409871],[-93.63321244581704,42.02841168477019],[-93.65251457212629,42.03271837595292],[-93.6585524887784,42.03500005771909],[-93.6497068169509,42.03240177072282],[-93.65352089487553,42.02081442706299],[-93.66368045164702,42.03706942396191],[-93.64515386609524,42.02496651012951],[-93.65700377012661,42.03256633202249],[-93.65164878929551,42.0303289146169],[-93.64541984842272,42.0097328462051],[-93.64630503664834,42.02339258482183],[-93.64185347006386,42.0269199988449],[-93.65432285044882,42.04065151658755],[-93.63845622955692,42.02892218893386],[-93.63484738550774,42.03247407043324],[-93.64782106474777,42.04140503157296],[-93.64659552358502,42.03716671361983],[-93.63706908144783,42.03466154224743],[-93.63393306958635,42.01367442456849],[-93.65473503982193,42.02986187368045],[-93.64655730824927,42.04144988671787],[-93.66095789361601,42.01559349983778],[-93.63963849760921,42.01872906596817],[-93.6470853068509,42.04430500625746],[-93.66330055811443,42.02651281215935],[-93.63800388392265,42.03028222356247],[-93.65130335180083,42.03792686622764],[-93.65429998986268,42.02126715609812],[-93.65946828713966,42.02453517641397],[-93.65976948469029,42.03165830272437],[-93.64743893228547,42.01545306010463],[-93.64497137297336,42.01040622799057],[-93.64926163910624,42.01931659814777],[-93.64139137957943,42.0317806119387],[-93.65724545593081,42.03047851880506],[-93.66840381482244,42.01706120313559],[-93.64757119012803,42.02785492543299],[-93.66413357825331,42.02138298030508],[-93.66730918600001,42.00901365279706],[-93.6537310646209,42.03155012422383],[-93.64643370488277,42.01339105341803],[-93.63310991250081,42.02361370472858],[-93.65241926715706,42.04791073935908],[-93.65079813034482,42.02938127170002],[-93.63803851837568,42.02378453915039],[-93.64612039772837,42.03206480834454]],null,null,{\"duration\":200,\"colorRange\":[\"red\",\"yellow\",\"blue\"],\"radiusRange\":[10,20],\"pointerEvents\":\"all\",\"resizetoCount\":false,\"tooltip\":\"Count \",\"radius\":20,\"extraJS\":\"function(d) { return d.length; }\",\"opacity\":0.5}]}],\"limits\":{\"lat\":[41.99140150533729,42.05538651540083],\"lng\":[-93.68518039134334,-93.61922911848895]}},\"evals\":[\"calls.1.args.3.extraJS\"],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHistory.html","id":null,"dir":"Reference","previous_headings":"","what":"Add History Plugin — addHistory","title":"Add History Plugin — addHistory","text":"plugin enables tracking map movements history similar web browser. default, simple pair buttons – back forward.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHistory.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add History Plugin — addHistory","text":"","code":"addHistory(map, layerId = NULL, options = historyOptions())"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHistory.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add History Plugin — addHistory","text":"map map widget object created leaflet layerId control id options named list options. See historyOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHistory.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add History Plugin — addHistory","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHistory.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add History Plugin — addHistory","text":"https://github.com/cscott530/leaflet-history","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addHistory.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add History Plugin — addHistory","text":"","code":"library(leaflet) leaflet() %>% addTiles() %>% addHistory() {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addHistory\",\"args\":[null,{\"position\":\"topright\",\"maxMovesToSave\":10,\"backImage\":\"fa fa-caret-left\",\"forwardImage\":\"fa fa-caret-right\",\"backText\":\"\",\"forwardText\":\"\",\"backTooltip\":\"Go to Previous Extent\",\"forwardTooltip\":\"Go to Next Extent\",\"backImageBeforeText\":true,\"forwardImageBeforeText\":false,\"orientation\":\"horizontal\"}]}]},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addItemContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"addItemContextmenu — addItemContextmenu","title":"addItemContextmenu — addItemContextmenu","text":"Add new contextmenu menu item","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addItemContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"addItemContextmenu — addItemContextmenu","text":"","code":"addItemContextmenu(map, option)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addItemContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"addItemContextmenu — addItemContextmenu","text":"map map widget object created leaflet option new menu item add","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addItemContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"addItemContextmenu — addItemContextmenu","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLabelgun.html","id":null,"dir":"Reference","previous_headings":"","what":"Add addLabelgun Plugin — addLabelgun","title":"Add addLabelgun Plugin — addLabelgun","text":"plugin allows avoid cluttering marker labels gives priority labels choice (higher weight).","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLabelgun.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add addLabelgun Plugin — addLabelgun","text":"","code":"addLabelgun(map, group = NULL, weight = NULL, entries = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLabelgun.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add addLabelgun Plugin — addLabelgun","text":"map map widget object created leaflet group group name layer/s label collisions avoided. see effects plugin labelOptions markers must configured either permanent = TRUE noHide = TRUE. weight optional weight markers. vector given, length match number markers corresponding groups. numeric value specified, used marker thus prioritization labels takes place. cases random integer calculated. entries numeric value, higher value relates faster insertion slower search, vice versa. default 10","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLabelgun.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add addLabelgun Plugin — addLabelgun","text":"leaflet map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLabelgun.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Add addLabelgun Plugin — addLabelgun","text":"important invoke function markers added map. Otherwise nothing happen.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLabelgun.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add addLabelgun Plugin — addLabelgun","text":"https://github.com/Geovation/labelgun","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLabelgun.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add addLabelgun Plugin — addLabelgun","text":"","code":"library(leaflet) library(leaflet.extras2) leaflet() %>% addTiles() %>% addMarkers(data = breweries91, label = ~brewery, group = \"markers\", labelOptions = labelOptions(permanent = TRUE)) %>% addLabelgun(\"markers\", 1) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addMarkers\",\"args\":[[49.71979,49.884051,49.502098,49.274716,49.861905,49.794334,49.701477,49.067436,49.070292,49.77994,49.060542,49.561804,49.595108,49.602554,49.72581,49.7202,49.644533,49.645651,49.615866,49.50683,48.900742,49.707329,49.884229,49.677827,49.450083,49.710838,49.276265,49.554706,49.882777,49.727998,49.737703,49.755953],[10.889217,11.228988,10.416021,10.928096,11.291932,11.509409,11.163238,10.34418,10.316987,11.186931,10.965571,11.368508,11.009011,11.005049,11.059662,11.056749,11.252699,11.248618,10.630027,11.428338,11.029479,10.806113,11.267583,11.252911,11.308721,11.172792,10.685605,11.22997,11.129541,11.202701,11.223148,11.175664],null,null,\"markers\",{\"interactive\":true,\"draggable\":false,\"keyboard\":true,\"title\":\"\",\"alt\":\"\",\"zIndexOffset\":0,\"opacity\":1,\"riseOnHover\":false,\"riseOffset\":250},null,null,null,null,[\"Brauerei Rittmayer\",\"Aufsesser Brauerei\",\"Brauhaus Doebler\",\"Brauerei Gundel GmbH\",\"Krug-Braeu\",\"Brauerei-Gasthof Herold\",\"Brauerei Alt Dietzhof\",\"Brauerei Hauf KG\",\"Weib's Brauhaus Dinkelsbuehl\",\"Schwanenbraeu\",\"Fuerst Carl Schlossbrauerei Ellingen\",\"Brauerei Enzensteiner\",\"Kitzmann-Braeu GmbH & Co. Kg\",\"Steinbach Braeu\",\"Brauerei Greif\",\"Brauerei Hebendanz GmbH\",\"Brauerei Friedmann\",\"Lindenbraeu\",\"Brauerei Windsheimer GmbH\",\"Buergerbraeu Hersbruck, Deinlein & Co.\",\"Hochholzer Brauhaus Poeverlein GbR\",\"Brauhaus Hoechstadt\",\"Brauerei und Gasthof Reichold GmbH\",\"Brauerei Hofmann/Nentwig GbR\",\"Leinburger Bier\",\"Brauerei Gasthof Drummer\",\"Hauff Braeu Lichtnerau GmbH & Co. KG\",\"Brauerei Wiethaler\",\"Brauerei Gasthof Ott\",\"Brauerei Penning-Zeissler\",\"Brauerei Meister\",\"Brauerei Nikl\"],{\"interactive\":false,\"permanent\":true,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null]},{\"method\":\"addLabelgun\",\"args\":[\"markers\",1,null]}],\"limits\":{\"lat\":[48.900742,49.884229],\"lng\":[10.316987,11.509409]}},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsync.html","id":null,"dir":"Reference","previous_headings":"","what":"Synchronize multiple Leaflet map — addLeafletsync","title":"Synchronize multiple Leaflet map — addLeafletsync","text":"plugin allows synchronize unsynchronize multiple leaflet maps Shiny application. can pass additional options leafletsyncOptions. information see Leaflet.Sync","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsync.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Synchronize multiple Leaflet map — addLeafletsync","text":"","code":"addLeafletsync( map, ids = NULL, synclist = \"all\", options = leafletsyncOptions() )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsync.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Synchronize multiple Leaflet map — addLeafletsync","text":"map map ids map ids synced. use synclist, may leave NULL. unique names values synclist used. synclist synchronization list. default '', creates list possible combinations ids. detailed control, named list can passed form list(m1 = c(\"m2\", \"m3\"), m2 = c(\"m1\", \"m3\"), m3 = c(\"m1\", \"m2\")), names values represent map-ids. names lists serve basis list values maps kept sync basemap. options named list options. See leafletsyncOptions. want add different options multiple maps, can wrap options named list, names map-ids. See example ./inst/examples/offset_continuous.R","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsync.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Synchronize multiple Leaflet map — addLeafletsync","text":"modified leaflet map","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsync.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Synchronize multiple Leaflet map — addLeafletsync","text":"synchronize multiple maps, map may yet initialized therefore used. Make sure use addLeafletsync maps rendered.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsync.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Synchronize multiple Leaflet map — addLeafletsync","text":"https://github.com/jieter/Leaflet.Sync","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsyncDependency.html","id":null,"dir":"Reference","previous_headings":"","what":"Add the Leaflet Sync JS dependencies — addLeafletsyncDependency","title":"Add the Leaflet Sync JS dependencies — addLeafletsyncDependency","text":"Sometimes makes sense include Leaflet Sync dependencies already synchronizing maps. example, want use `L.Sync.offsetHelper`. See example ./inst/examples/offsetHelper.R","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsyncDependency.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add the Leaflet Sync JS dependencies — addLeafletsyncDependency","text":"","code":"addLeafletsyncDependency(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsyncDependency.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add the Leaflet Sync JS dependencies — addLeafletsyncDependency","text":"map map","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addLeafletsyncDependency.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add the Leaflet Sync JS dependencies — addLeafletsyncDependency","text":"modified leaflet map","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMapkeyMarkers.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Mapkey Markers — addMapkeyMarkers","title":"Add Mapkey Markers — addMapkeyMarkers","text":"Add Mapkey Markers","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMapkeyMarkers.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Mapkey Markers — addMapkeyMarkers","text":"","code":"addMapkeyMarkers( map, lng = NULL, lat = NULL, layerId = NULL, group = NULL, icon = NULL, popup = NULL, popupOptions = NULL, label = NULL, labelOptions = NULL, options = leaflet::markerOptions(), clusterOptions = NULL, clusterId = NULL, data = leaflet::getMapData(map) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMapkeyMarkers.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Mapkey Markers — addMapkeyMarkers","text":"map map add mapkey Markers . lng numeric vector longitudes, one-sided formula form ~x x variable data; default (explicitly provided), automatically inferred data looking column named lng, long, longitude (case-insensitively) lat vector latitudes formula (similar lng argument; names lat latitude used guessing latitude column data) layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. icon icon(s) markers; popup character vector HTML content popups (recommended escape text using htmlEscape() security reasons) popupOptions Vector popupOptions provide popups label character vector HTML content labels labelOptions Vector labelOptions provide label options label. Default NULL options list extra options markers. See markerOptions clusterOptions NULL, markers clustered using Leaflet.markercluster; can use markerClusterOptions() specify marker cluster options clusterId id marker cluster layer data data object argument values derived; default, data object provided leaflet() initially, can overridden","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMapkeyMarkers.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Mapkey Markers — addMapkeyMarkers","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMapkeyMarkers.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Mapkey Markers — addMapkeyMarkers","text":"https://github.com/mapshakers/leaflet-mapkey-icon","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMapkeyMarkers.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Mapkey Markers — addMapkeyMarkers","text":"","code":"library(leaflet) leaflet() %>% addTiles() %>% addMapkeyMarkers(data = breweries91, icon = makeMapkeyIcon(icon = \"mapkey\", iconSize = 30, boxShadow = FALSE, background = \"transparent\"), group = \"mapkey\", label = ~state, popup = ~village) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addMapkeyMarkers\",\"args\":[[49.71979,49.884051,49.502098,49.274716,49.861905,49.794334,49.701477,49.067436,49.070292,49.77994,49.060542,49.561804,49.595108,49.602554,49.72581,49.7202,49.644533,49.645651,49.615866,49.50683,48.900742,49.707329,49.884229,49.677827,49.450083,49.710838,49.276265,49.554706,49.882777,49.727998,49.737703,49.755953],[10.889217,11.228988,10.416021,10.928096,11.291932,11.509409,11.163238,10.34418,10.316987,11.186931,10.965571,11.368508,11.009011,11.005049,11.059662,11.056749,11.252699,11.248618,10.630027,11.428338,11.029479,10.806113,11.267583,11.252911,11.308721,11.172792,10.685605,11.22997,11.129541,11.202701,11.223148,11.175664],{\"icon\":\"mapkey\",\"color\":\"#ff0000\",\"size\":30,\"background\":\"transparent\",\"borderRadius\":\"100%\",\"hoverScale\":1.4,\"hoverEffect\":true,\"boxShadow\":false},null,\"mapkey\",{\"interactive\":true,\"draggable\":false,\"keyboard\":true,\"title\":\"\",\"alt\":\"\",\"zIndexOffset\":0,\"opacity\":1,\"riseOnHover\":false,\"riseOffset\":250},[\"Adelsdorf\",\"Aufsess\",\"Bad Windsheim\",\"Barthelmesaurach\",\"Waischenfeld\",\"Buechenbach\",\"Leutenbach\",\"Dinkelsbuehl\",\"Dinkelsbuehl\",\"Ebermannstadt\",\"Ellingen\",\"Schnaittach\",\"Erlangen\",\"Erlangen\",\"Forchheim\",\"Forchheim\",\"Graefenberg\",\"Graefenberg\",\"Gutenstetten\",\"Hersbruck\",\"Solnhofen\",\"Hoechstadt\",\"Aufsess\",\"Graefenberg\",\"Leinburg\",\"Lautenbach\",\"Lichtenau\",\"Neunhof bei Lauf a.d. Pegnitz\",\"Heiligenstadt i. Ofr.\",\"Pretzfeld\",\"Pretzfeld\",\"Pretzfeld\"],null,null,null,[\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\",\"Bayern\"],null]}],\"limits\":{\"lat\":[48.900742,49.884229],\"lng\":[10.316987,11.509409]}},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMovingMarker.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Moving Markers — addMovingMarker","title":"Add Moving Markers — addMovingMarker","text":"function expects either line point data spatial data Simple Feature. Alternatively, coordinates can also passed numeric vectors.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMovingMarker.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Moving Markers — addMovingMarker","text":"","code":"addMovingMarker( map, lng = NULL, lat = NULL, layerId = NULL, group = NULL, duration = 2000, icon = NULL, popup = NULL, popupOptions = NULL, label = NULL, labelOptions = NULL, movingOptions = movingMarkerOptions(), options = leaflet::markerOptions(), data = leaflet::getMapData(map) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMovingMarker.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Moving Markers — addMovingMarker","text":"map map add moving markers lng numeric vector longitudes, one-sided formula form ~x x variable data; default (explicitly provided), automatically inferred data looking column named lng, long, longitude (case-insensitively) lat vector latitudes formula (similar lng argument; names lat latitude used guessing latitude column data) layerId order able address moving markings individually, layerId required. none specified, one created derived current timestamp. group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. duration Duration milliseconds per line segment 2 points. Can vector single number. Default 1000 icon icon(s) markers; popup character vector HTML content popups (recommended escape text using htmlEscape() security reasons) popupOptions Vector popupOptions provide popups label character vector HTML content labels labelOptions Vector labelOptions provide label options label. Default NULL movingOptions list extra options moving markers. See movingMarkerOptions options list extra options markers. See markerOptions data data object argument values derived; default, data object provided leaflet() initially, can overridden","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMovingMarker.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Moving Markers — addMovingMarker","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMovingMarker.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Moving Markers — addMovingMarker","text":"https://github.com/ewoken/Leaflet.MovingMarker","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addMovingMarker.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Moving Markers — addMovingMarker","text":"","code":"library(sf) library(leaflet) library(leaflet.extras2) crds <- data.frame(structure(c(-67.5, -68.5, -69.6, -70.5, -71.3, -72.2, -72.7, -72.9, -73, -72.4, -70.8, 15.8, 16.5, 17.3, 17.8, 18.3, 18.6, 19.8, 21.6, 23.5, 25.1, 27.9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), dim = c(11L, 3L), dimnames = list(NULL, c(\"X\", \"Y\", \"L1\")))) df <- st_sf(st_sfc(st_linestring(as.matrix(crds), dim=\"XYZ\"), crs = 4326)) st_geometry(df) <- \"geometry\"; df <- st_zm(df) leaflet() %>% addTiles() %>% addPolylines(data = df) %>% addMovingMarker(data = df, movingOptions = movingMarkerOptions(autostart = TRUE, loop = TRUE), label=\"I am a pirate!\", popup=\"Arrr\") {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addPolylines\",\"args\":[[[[{\"lng\":[-67.5,-68.5,-69.59999999999999,-70.5,-71.3,-72.2,-72.7,-72.90000000000001,-73,-72.40000000000001,-70.8],\"lat\":[15.8,16.5,17.3,17.8,18.3,18.6,19.8,21.6,23.5,25.1,27.9]}]]],null,null,{\"interactive\":true,\"className\":\"\",\"stroke\":true,\"color\":\"#03F\",\"weight\":5,\"opacity\":0.5,\"fill\":false,\"fillColor\":\"#03F\",\"fillOpacity\":0.2,\"smoothFactor\":1,\"noClip\":false},null,null,null,{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null]},{\"method\":\"addMovingMarker\",\"args\":[[[15.8,-67.5],[16.5,-68.5],[17.3,-69.59999999999999],[17.8,-70.5],[18.3,-71.3],[18.6,-72.2],[19.8,-72.7],[21.6,-72.90000000000001],[23.5,-73],[25.1,-72.40000000000001],[27.9,-70.8]],2000,null,\"_1725225917.66697\",null,{\"interactive\":true,\"draggable\":false,\"keyboard\":true,\"title\":\"\",\"alt\":\"\",\"zIndexOffset\":0,\"opacity\":1,\"riseOnHover\":false,\"riseOffset\":250,\"autostart\":true,\"loop\":true,\"pauseOnZoom\":false},\"Arrr\",null,\"I am a pirate!\",{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true}]}],\"limits\":{\"lat\":[15.8,27.9],\"lng\":[-73,-67.5]}},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherCurrent.html","id":null,"dir":"Reference","previous_headings":"","what":"Add current OpenWeatherMap Marker — addOpenweatherCurrent","title":"Add current OpenWeatherMap Marker — addOpenweatherCurrent","text":"Add current OpenWeatherMap Marker","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherCurrent.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add current OpenWeatherMap Marker — addOpenweatherCurrent","text":"","code":"addOpenweatherCurrent( map, apikey = NULL, group = NULL, layerId = NULL, options = openweatherCurrentOptions() )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherCurrent.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add current OpenWeatherMap Marker — addOpenweatherCurrent","text":"map map widget object created leaflet() apikey valid Openweathermap-API key. group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. layerId layer id options List options. See openweatherCurrentOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherCurrent.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add current OpenWeatherMap Marker — addOpenweatherCurrent","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherCurrent.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Add current OpenWeatherMap Marker — addOpenweatherCurrent","text":"current weather icons appear beginning zoom level 9 used Shiny, click icon update Shiny input input$MAPID_owm_click.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherCurrent.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add current OpenWeatherMap Marker — addOpenweatherCurrent","text":"https://github.com/trafficonese/leaflet-openweathermap","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherCurrent.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add current OpenWeatherMap Marker — addOpenweatherCurrent","text":"","code":"if (FALSE) { # \\dontrun{ library(leaflet) library(leaflet.extras2) Sys.setenv(\"OPENWEATHERMAP\" = 'Your_API_Key') leaflet() %>% addTiles() %>% setView(9, 50, 9) %>% addOpenweatherCurrent(options = openweatherCurrentOptions( lang = \"en\", popup = TRUE)) } # }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherTiles.html","id":null,"dir":"Reference","previous_headings":"","what":"Add OpenWeatherMap Tiles — addOpenweatherTiles","title":"Add OpenWeatherMap Tiles — addOpenweatherTiles","text":"Add OpenWeatherMap Tiles","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherTiles.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add OpenWeatherMap Tiles — addOpenweatherTiles","text":"","code":"addOpenweatherTiles( map, apikey = NULL, layers = NULL, group = NULL, layerId = NULL, opacity = 0.5, options = openweatherOptions() )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherTiles.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add OpenWeatherMap Tiles — addOpenweatherTiles","text":"map map widget object created leaflet() apikey valid OpenWeatherMap-API key. layers character vector layers wish add map. following layers currently possible c(\"clouds\", \"cloudsClassic\", \"precipitation\", \"precipitationClassic\", \"rain\", \"rainClassic\", \"snow\", \"pressure\", \"pressureContour\", \"temperature\", \"wind\"). group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. layerId layer id opacity opacity layer options List options. See openweatherOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherTiles.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add OpenWeatherMap Tiles — addOpenweatherTiles","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherTiles.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Add OpenWeatherMap Tiles — addOpenweatherTiles","text":"box legend image available Pressure, Precipitation Classic, Clouds Classic, Rain Classic, Snow, Temperature Wind Speed. Please add images need .","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherTiles.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add OpenWeatherMap Tiles — addOpenweatherTiles","text":"https://github.com/trafficonese/leaflet-openweathermap","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addOpenweatherTiles.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add OpenWeatherMap Tiles — addOpenweatherTiles","text":"","code":"if (FALSE) { # \\dontrun{ library(leaflet) library(leaflet.extras2) Sys.setenv(\"OPENWEATHERMAP\" = 'Your_API_Key') leaflet() %>% addTiles() %>% setView(9, 50, 6) %>% addOpenweatherTiles(layers = \"wind\") } # }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addPlayback.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Playback to Leaflet — addPlayback","title":"Add Playback to Leaflet — addPlayback","text":"LeafletPlayback plugin provides ability replay GPS Points form POINT Simple Features. Rather simply animating marker along polyline, speed animation synchronized clock. playback functionality similar video player; can start stop playback change playback speed.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addPlayback.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Playback to Leaflet — addPlayback","text":"","code":"addPlayback( map, data, time = \"time\", icon = NULL, pathOpts = pathOptions(), popup = NULL, label = NULL, popupOptions = NULL, labelOptions = NULL, options = playbackOptions(), name = NULL )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addPlayback.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Playback to Leaflet — addPlayback","text":"map map widget data data must POINT Simple Feature list POINT Simple Feature's time column. time column name time column. Default \"time\". icon icon can created makeIcon pathOpts style CircleMarkers pathOptions popup formula column names popup content label formula column names label content popupOptions Vector popupOptions provide popups labelOptions Vector labelOptions provide label options label. Default NULL options List additional options. See playbackOptions name formula column names feature name","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addPlayback.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Playback to Leaflet — addPlayback","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addPlayback.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Add Playback to Leaflet — addPlayback","text":"used Shiny, can listen 2 events `map-ID`+\"_pb_mouseover\" `map-ID`+\"_pb_click\"","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addPlayback.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Playback to Leaflet — addPlayback","text":"https://github.com/hallahan/LeafletPlayback","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addPlayback.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Playback to Leaflet — addPlayback","text":"","code":"library(leaflet) library(leaflet.extras2) library(sf) ## Single Elements data <- sf::st_as_sf(leaflet::atlStorms2005[1,]) data <- st_cast(data, \"POINT\") #> Warning: repeating attributes for all sub-geometries for which they may not be constant data$time = as.POSIXct( seq.POSIXt(Sys.time() - 1000, Sys.time(), length.out = nrow(data))) data$label <- as.character(data$time) leaflet() %>% addTiles() %>% addPlayback(data = data, label = ~label, popup = ~sprintf(\"I am a popup for %s<\/b> and %s<\/b>\", Name, label), popupOptions = popupOptions(offset = c(0, -35)), options = playbackOptions(radius = 3, tickLen = 36000, speed = 50, maxInterpolationTime = 1000), pathOpts = pathOptions(weight = 5)) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addPlayback\",\"args\":[{\"type\":\"Feature\",\"name\":null,\"geometry\":{\"type\":\"MultiPoint\",\"coordinates\":[[-67.5,15.8],[-68.5,16.5],[-69.59999999999999,17.3],[-70.5,17.8],[-71.3,18.3],[-72.2,18.6],[-72.7,19.8],[-72.90000000000001,21.6],[-73,23.5],[-72.40000000000001,25.1],[-70.8,27.9]]},\"properties\":{\"time\":[1725224918277.031,1725225018277.034,1725225118277.037,1725225218277.04,1725225318277.043,1725225418277.046,1725225518277.049,1725225618277.052,1725225718277.055,1725225818277.058,1725225918277.062]},\"popupContent\":[\"I am a popup for ALPHA<\\/b> and 2024-09-01 21:08:38.277031<\\/b>\",\"I am a popup for ALPHA<\\/b> and 2024-09-01 21:10:18.277034<\\/b>\",\"I am a popup for ALPHA<\\/b> and 2024-09-01 21:11:58.277037<\\/b>\",\"I am a popup for ALPHA<\\/b> and 2024-09-01 21:13:38.27704<\\/b>\",\"I am a popup for ALPHA<\\/b> and 2024-09-01 21:15:18.277043<\\/b>\",\"I am a popup for ALPHA<\\/b> and 2024-09-01 21:16:58.277046<\\/b>\",\"I am a popup for ALPHA<\\/b> and 2024-09-01 21:18:38.277049<\\/b>\",\"I am a popup for ALPHA<\\/b> and 2024-09-01 21:20:18.277052<\\/b>\",\"I am a popup for ALPHA<\\/b> and 2024-09-01 21:21:58.277055<\\/b>\",\"I am a popup for ALPHA<\\/b> and 2024-09-01 21:23:38.277058<\\/b>\",\"I am a popup for ALPHA<\\/b> and 2024-09-01 21:25:18.277061<\\/b>\"],\"tooltipContent\":[\"2024-09-01 21:08:38.277031\",\"2024-09-01 21:10:18.277034\",\"2024-09-01 21:11:58.277037\",\"2024-09-01 21:13:38.27704\",\"2024-09-01 21:15:18.277043\",\"2024-09-01 21:16:58.277046\",\"2024-09-01 21:18:38.277049\",\"2024-09-01 21:20:18.277052\",\"2024-09-01 21:21:58.277055\",\"2024-09-01 21:23:38.277058\",\"2024-09-01 21:25:18.277061\"]},{\"pathOptions\":{\"interactive\":true,\"className\":\"\",\"weight\":5},\"popupOptions\":{\"maxWidth\":300,\"minWidth\":50,\"autoPan\":true,\"keepInView\":false,\"closeButton\":true,\"className\":\"\",\"offset\":[0,-35]},\"popups\":true,\"labels\":true,\"color\":\"blue\",\"radius\":3,\"tickLen\":36000,\"speed\":50,\"maxInterpolationTime\":1000,\"tracksLayer\":true,\"playControl\":true,\"dateControl\":true,\"sliderControl\":true,\"orientIcons\":false,\"staleTime\":3600000,\"transitionpopup\":true,\"transitionlabel\":true}]}],\"limits\":{\"lat\":[15.8,27.9],\"lng\":[-73,-67.5]}},\"evals\":[],\"jsHooks\":[]} ## Multiple Elements data <- sf::st_as_sf(leaflet::atlStorms2005[1:5,]) data$Name <- as.character(data$Name) data <- st_cast(data, \"POINT\") #> Warning: repeating attributes for all sub-geometries for which they may not be constant data$time <- unlist(lapply(rle(data$Name)$lengths, function(x) { seq.POSIXt(as.POSIXct(Sys.Date()-2), as.POSIXct(Sys.Date()), length.out = x) })) data$time <- as.POSIXct(data$time, origin=\"1970-01-01\") data$label <- paste0(\"Time: \", data$time) data$popup = sprintf(\"

    Customized Popup<\/h3>Name<\/b>: %s
    Time<\/b>: %s\", data$Name, data$time) data <- split(data, f = data$Name) leaflet() %>% addTiles() %>% addPlayback(data = data, popup = ~popup, label = ~label, popupOptions = popupOptions(offset=c(0,-35)), labelOptions = labelOptions(noHide = TRUE), options = playbackOptions(radius = 3, tickLen = 1000000, speed = 5000, maxInterpolationTime = 10000, transitionpopup = FALSE, transitionlabel = FALSE, playCommand = \"Let's go\", stopCommand = \"Stop it!\", color = c(\"red\",\"green\",\"blue\", \"orange\",\"yellow\")), pathOpts = pathOptions(weight = 5)) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"©
    OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addPlayback\",\"args\":[{\"ALPHA\":{\"type\":\"Feature\",\"name\":null,\"geometry\":{\"type\":\"MultiPoint\",\"coordinates\":[[-67.5,15.8],[-68.5,16.5],[-69.59999999999999,17.3],[-70.5,17.8],[-71.3,18.3],[-72.2,18.6],[-72.7,19.8],[-72.90000000000001,21.6],[-73,23.5],[-72.40000000000001,25.1],[-70.8,27.9]]},\"properties\":{\"time\":[1724976000000,1724993280000,1725010560000,1725027840000,1725045120000,1725062400000,1725079680000,1725096960000,1725114240000,1725131520000,1725148800000]},\"popupContent\":[\"

    Customized Popup<\\/h3>Name<\\/b>: ALPHA
    Time<\\/b>: 2024-08-30\",\"

    Customized Popup<\\/h3>Name<\\/b>: ALPHA
    Time<\\/b>: 2024-08-30 04:48:00\",\"

    Customized Popup<\\/h3>Name<\\/b>: ALPHA
    Time<\\/b>: 2024-08-30 09:36:00\",\"

    Customized Popup<\\/h3>Name<\\/b>: ALPHA
    Time<\\/b>: 2024-08-30 14:24:00\",\"

    Customized Popup<\\/h3>Name<\\/b>: ALPHA
    Time<\\/b>: 2024-08-30 19:12:00\",\"

    Customized Popup<\\/h3>Name<\\/b>: ALPHA
    Time<\\/b>: 2024-08-31\",\"

    Customized Popup<\\/h3>Name<\\/b>: ALPHA
    Time<\\/b>: 2024-08-31 04:48:00\",\"

    Customized Popup<\\/h3>Name<\\/b>: ALPHA
    Time<\\/b>: 2024-08-31 09:36:00\",\"

    Customized Popup<\\/h3>Name<\\/b>: ALPHA
    Time<\\/b>: 2024-08-31 14:24:00\",\"

    Customized Popup<\\/h3>Name<\\/b>: ALPHA
    Time<\\/b>: 2024-08-31 19:12:00\",\"

    Customized Popup<\\/h3>Name<\\/b>: ALPHA
    Time<\\/b>: 2024-09-01\"],\"tooltipContent\":[\"Time: 2024-08-30\",\"Time: 2024-08-30 04:48:00\",\"Time: 2024-08-30 09:36:00\",\"Time: 2024-08-30 14:24:00\",\"Time: 2024-08-30 19:12:00\",\"Time: 2024-08-31\",\"Time: 2024-08-31 04:48:00\",\"Time: 2024-08-31 09:36:00\",\"Time: 2024-08-31 14:24:00\",\"Time: 2024-08-31 19:12:00\",\"Time: 2024-09-01\"]},\"ARLENE\":{\"type\":\"Feature\",\"name\":null,\"geometry\":{\"type\":\"MultiPoint\",\"coordinates\":[[-84,16.9],[-83.90000000000001,17.4],[-83.90000000000001,18.2],[-84,19],[-84.09999999999999,19.7],[-84.2,20.4],[-84.40000000000001,21.2],[-84.5,21.8],[-84.7,23],[-85.09999999999999,24.9],[-85.59999999999999,26.5],[-85.59999999999999,26.5],[-86.8,27.7],[-87.2,28.9],[-87.5,30.1],[-87.5,30.3],[-87.59999999999999,31.4],[-87.7,32.7],[-88,35],[-87.8,37],[-87.5,38.5],[-86,40.5],[-85,42],[-84,43],[-81.09999999999999,43.7],[-77.59999999999999,44.8]]},\"properties\":{\"time\":[1724976000000,1724982912000,1724989824000,1724996736000,1725003648000,1725010560000,1725017472000,1725024384000,1725031296000,1725038208000,1725045120000,1725052032000,1725058944000,1725065856000,1725072768000,1725079680000,1725086592000,1725093504000,1725100416000,1725107328000,1725114240000,1725121152000,1725128064000,1725134976000,1725141888000,1725148800000]},\"popupContent\":[\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-30\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-30 01:55:12\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-30 03:50:24\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-30 05:45:36\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-30 07:40:48\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-30 09:36:00\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-30 11:31:12\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-30 13:26:24\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-30 15:21:36\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-30 17:16:48\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-30 19:12:00\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-30 21:07:12\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-30 23:02:24\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-31 00:57:36\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-31 02:52:48\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-31 04:48:00\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-31 06:43:12\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-31 08:38:24\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-31 10:33:36\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-31 12:28:48\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-31 14:24:00\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-31 16:19:12\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-31 18:14:24\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-31 20:09:36\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-08-31 22:04:48\",\"

    Customized Popup<\\/h3>Name<\\/b>: ARLENE
    Time<\\/b>: 2024-09-01\"],\"tooltipContent\":[\"Time: 2024-08-30\",\"Time: 2024-08-30 01:55:12\",\"Time: 2024-08-30 03:50:24\",\"Time: 2024-08-30 05:45:36\",\"Time: 2024-08-30 07:40:48\",\"Time: 2024-08-30 09:36:00\",\"Time: 2024-08-30 11:31:12\",\"Time: 2024-08-30 13:26:24\",\"Time: 2024-08-30 15:21:36\",\"Time: 2024-08-30 17:16:48\",\"Time: 2024-08-30 19:12:00\",\"Time: 2024-08-30 21:07:12\",\"Time: 2024-08-30 23:02:24\",\"Time: 2024-08-31 00:57:36\",\"Time: 2024-08-31 02:52:48\",\"Time: 2024-08-31 04:48:00\",\"Time: 2024-08-31 06:43:12\",\"Time: 2024-08-31 08:38:24\",\"Time: 2024-08-31 10:33:36\",\"Time: 2024-08-31 12:28:48\",\"Time: 2024-08-31 14:24:00\",\"Time: 2024-08-31 16:19:12\",\"Time: 2024-08-31 18:14:24\",\"Time: 2024-08-31 20:09:36\",\"Time: 2024-08-31 22:04:48\",\"Time: 2024-09-01\"]},\"BRET\":{\"type\":\"Feature\",\"name\":null,\"geometry\":{\"type\":\"MultiPoint\",\"coordinates\":[[-95.40000000000001,19.7],[-95.7,19.9],[-95.8,20],[-96.40000000000001,20.4],[-97.3,20.8],[-98.09999999999999,21.4],[-98.5,22]]},\"properties\":{\"time\":[1724976000000,1725004800000,1725033600000,1725062400000,1725091200000,1725120000000,1725148800000]},\"popupContent\":[\"

    Customized Popup<\\/h3>Name<\\/b>: BRET
    Time<\\/b>: 2024-08-30\",\"

    Customized Popup<\\/h3>Name<\\/b>: BRET
    Time<\\/b>: 2024-08-30 08:00:00\",\"

    Customized Popup<\\/h3>Name<\\/b>: BRET
    Time<\\/b>: 2024-08-30 16:00:00\",\"

    Customized Popup<\\/h3>Name<\\/b>: BRET
    Time<\\/b>: 2024-08-31\",\"

    Customized Popup<\\/h3>Name<\\/b>: BRET
    Time<\\/b>: 2024-08-31 08:00:00\",\"

    Customized Popup<\\/h3>Name<\\/b>: BRET
    Time<\\/b>: 2024-08-31 16:00:00\",\"

    Customized Popup<\\/h3>Name<\\/b>: BRET
    Time<\\/b>: 2024-09-01\"],\"tooltipContent\":[\"Time: 2024-08-30\",\"Time: 2024-08-30 08:00:00\",\"Time: 2024-08-30 16:00:00\",\"Time: 2024-08-31\",\"Time: 2024-08-31 08:00:00\",\"Time: 2024-08-31 16:00:00\",\"Time: 2024-09-01\"]},\"CINDY\":{\"type\":\"Feature\",\"name\":null,\"geometry\":{\"type\":\"MultiPoint\",\"coordinates\":[[-86.7,18.3],[-87.2,18.6],[-87.59999999999999,19],[-87.90000000000001,19.3],[-88.5,20.9],[-89,22.3],[-89.7,23.9],[-90.2,25.1],[-90.40000000000001,26.4],[-90.5,27.6],[-90.3,28.5],[-90.09999999999999,29.2],[-90,29.6],[-89.5,30.2],[-88.90000000000001,30.8],[-88.09999999999999,31.6],[-87.2,32.4],[-86.2,33.2],[-84.09999999999999,34.6],[-81.8,35.6],[-80,37.1],[-78.3,37.8],[-76.7,38.4],[-74.8,39.1],[-72,39.5],[-70.7,40.8],[-69.8,41.6],[-69.59999999999999,43.5],[-69.8,44.9],[-70,45.5],[-67.59999999999999,46.5],[-66.40000000000001,48],[-64.5,48.5],[-62.5,48.5]]},\"properties\":{\"time\":[1724976000000,1724981236363.636,1724986472727.273,1724991709090.909,1724996945454.545,1725002181818.182,1725007418181.818,1725012654545.455,1725017890909.091,1725023127272.727,1725028363636.364,1725033600000,1725038836363.636,1725044072727.273,1725049309090.909,1725054545454.545,1725059781818.182,1725065018181.818,1725070254545.455,1725075490909.091,1725080727272.727,1725085963636.364,1725091200000,1725096436363.636,1725101672727.273,1725106909090.909,1725112145454.545,1725117381818.182,1725122618181.818,1725127854545.455,1725133090909.091,1725138327272.727,1725143563636.364,1725148800000]},\"popupContent\":[\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-30\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-30 01:27:16.363636\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-30 02:54:32.727273\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-30 04:21:49.090909\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-30 05:49:05.454545\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-30 07:16:21.818182\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-30 08:43:38.181818\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-30 10:10:54.545455\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-30 11:38:10.909091\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-30 13:05:27.272727\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-30 14:32:43.636364\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-30 16:00:00\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-30 17:27:16.363636\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-30 18:54:32.727273\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-30 20:21:49.090909\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-30 21:49:05.454545\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-30 23:16:21.818182\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-31 00:43:38.181818\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-31 02:10:54.545455\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-31 03:38:10.909091\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-31 05:05:27.272727\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-31 06:32:43.636364\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-31 08:00:00\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-31 09:27:16.363636\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-31 10:54:32.727273\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-31 12:21:49.090909\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-31 13:49:05.454545\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-31 15:16:21.818182\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-31 16:43:38.181818\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-31 18:10:54.545455\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-31 19:38:10.909091\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-31 21:05:27.272727\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-08-31 22:32:43.636364\",\"

    Customized Popup<\\/h3>Name<\\/b>: CINDY
    Time<\\/b>: 2024-09-01\"],\"tooltipContent\":[\"Time: 2024-08-30\",\"Time: 2024-08-30 01:27:16.363636\",\"Time: 2024-08-30 02:54:32.727273\",\"Time: 2024-08-30 04:21:49.090909\",\"Time: 2024-08-30 05:49:05.454545\",\"Time: 2024-08-30 07:16:21.818182\",\"Time: 2024-08-30 08:43:38.181818\",\"Time: 2024-08-30 10:10:54.545455\",\"Time: 2024-08-30 11:38:10.909091\",\"Time: 2024-08-30 13:05:27.272727\",\"Time: 2024-08-30 14:32:43.636364\",\"Time: 2024-08-30 16:00:00\",\"Time: 2024-08-30 17:27:16.363636\",\"Time: 2024-08-30 18:54:32.727273\",\"Time: 2024-08-30 20:21:49.090909\",\"Time: 2024-08-30 21:49:05.454545\",\"Time: 2024-08-30 23:16:21.818182\",\"Time: 2024-08-31 00:43:38.181818\",\"Time: 2024-08-31 02:10:54.545455\",\"Time: 2024-08-31 03:38:10.909091\",\"Time: 2024-08-31 05:05:27.272727\",\"Time: 2024-08-31 06:32:43.636364\",\"Time: 2024-08-31 08:00:00\",\"Time: 2024-08-31 09:27:16.363636\",\"Time: 2024-08-31 10:54:32.727273\",\"Time: 2024-08-31 12:21:49.090909\",\"Time: 2024-08-31 13:49:05.454545\",\"Time: 2024-08-31 15:16:21.818182\",\"Time: 2024-08-31 16:43:38.181818\",\"Time: 2024-08-31 18:10:54.545455\",\"Time: 2024-08-31 19:38:10.909091\",\"Time: 2024-08-31 21:05:27.272727\",\"Time: 2024-08-31 22:32:43.636364\",\"Time: 2024-09-01\"]},\"DELTA\":{\"type\":\"Feature\",\"name\":null,\"geometry\":{\"type\":\"MultiPoint\",\"coordinates\":[[-48,27],[-47.5,26.7],[-46.7,26.7],[-45.9,27.2],[-44.8,27.7],[-43.5,28],[-42.2,28.3],[-41.1,29],[-40.1,29.9],[-39.6,30.9],[-40.1,31.5],[-39.9,31.4],[-39.8,31.2],[-40.5,30.7],[-40.9,29.9],[-41.3,28.8],[-41.2,27.4],[-40.8,26.4],[-40.2,25.5],[-39.6,25],[-39,24.8],[-38.9,24.6],[-39,24.1],[-39.3,23.8],[-39.6,23.3],[-39.8,22.8],[-39.8,22.3],[-39.4,21.8],[-38.4,22],[-37.3,22.6],[-35.8,23.5],[-34,24.8],[-31.9,26.7],[-29.9,28.3],[-27.5,29.1],[-24.8,29.9],[-21.6,30.2],[-18.2,30.2],[-14.6,30.2],[-10.9,30.7],[-6.6,32.6],[-1,35.3]]},\"properties\":{\"time\":[1724976000000,1724980214634.146,1724984429268.293,1724988643902.439,1724992858536.585,1724997073170.732,1725001287804.878,1725005502439.024,1725009717073.171,1725013931707.317,1725018146341.463,1725022360975.61,1725026575609.756,1725030790243.902,1725035004878.049,1725039219512.195,1725043434146.342,1725047648780.488,1725051863414.634,1725056078048.781,1725060292682.927,1725064507317.073,1725068721951.219,1725072936585.366,1725077151219.512,1725081365853.658,1725085580487.805,1725089795121.951,1725094009756.098,1725098224390.244,1725102439024.39,1725106653658.537,1725110868292.683,1725115082926.829,1725119297560.976,1725123512195.122,1725127726829.268,1725131941463.415,1725136156097.561,1725140370731.707,1725144585365.854,1725148800000]},\"popupContent\":[\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 01:10:14.634146\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 02:20:29.268293\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 03:30:43.902439\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 04:40:58.536585\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 05:51:13.170732\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 07:01:27.804878\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 08:11:42.439024\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 09:21:57.073171\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 10:32:11.707317\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 11:42:26.341463\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 12:52:40.97561\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 14:02:55.609756\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 15:13:10.243902\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 16:23:24.878049\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 17:33:39.512195\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 18:43:54.146342\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 19:54:08.780488\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 21:04:23.414634\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 22:14:38.04878\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-30 23:24:52.682927\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 00:35:07.317073\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 01:45:21.95122\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 02:55:36.585366\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 04:05:51.219512\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 05:16:05.853658\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 06:26:20.487805\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 07:36:35.121951\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 08:46:49.756098\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 09:57:04.390244\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 11:07:19.02439\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 12:17:33.658537\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 13:27:48.292683\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 14:38:02.926829\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 15:48:17.560976\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 16:58:32.195122\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 18:08:46.829268\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 19:19:01.463415\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 20:29:16.097561\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 21:39:30.731707\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-08-31 22:49:45.365854\",\"

    Customized Popup<\\/h3>Name<\\/b>: DELTA
    Time<\\/b>: 2024-09-01\"],\"tooltipContent\":[\"Time: 2024-08-30\",\"Time: 2024-08-30 01:10:14.634146\",\"Time: 2024-08-30 02:20:29.268293\",\"Time: 2024-08-30 03:30:43.902439\",\"Time: 2024-08-30 04:40:58.536585\",\"Time: 2024-08-30 05:51:13.170732\",\"Time: 2024-08-30 07:01:27.804878\",\"Time: 2024-08-30 08:11:42.439024\",\"Time: 2024-08-30 09:21:57.073171\",\"Time: 2024-08-30 10:32:11.707317\",\"Time: 2024-08-30 11:42:26.341463\",\"Time: 2024-08-30 12:52:40.97561\",\"Time: 2024-08-30 14:02:55.609756\",\"Time: 2024-08-30 15:13:10.243902\",\"Time: 2024-08-30 16:23:24.878049\",\"Time: 2024-08-30 17:33:39.512195\",\"Time: 2024-08-30 18:43:54.146342\",\"Time: 2024-08-30 19:54:08.780488\",\"Time: 2024-08-30 21:04:23.414634\",\"Time: 2024-08-30 22:14:38.04878\",\"Time: 2024-08-30 23:24:52.682927\",\"Time: 2024-08-31 00:35:07.317073\",\"Time: 2024-08-31 01:45:21.95122\",\"Time: 2024-08-31 02:55:36.585366\",\"Time: 2024-08-31 04:05:51.219512\",\"Time: 2024-08-31 05:16:05.853658\",\"Time: 2024-08-31 06:26:20.487805\",\"Time: 2024-08-31 07:36:35.121951\",\"Time: 2024-08-31 08:46:49.756098\",\"Time: 2024-08-31 09:57:04.390244\",\"Time: 2024-08-31 11:07:19.02439\",\"Time: 2024-08-31 12:17:33.658537\",\"Time: 2024-08-31 13:27:48.292683\",\"Time: 2024-08-31 14:38:02.926829\",\"Time: 2024-08-31 15:48:17.560976\",\"Time: 2024-08-31 16:58:32.195122\",\"Time: 2024-08-31 18:08:46.829268\",\"Time: 2024-08-31 19:19:01.463415\",\"Time: 2024-08-31 20:29:16.097561\",\"Time: 2024-08-31 21:39:30.731707\",\"Time: 2024-08-31 22:49:45.365854\",\"Time: 2024-09-01\"]}},{\"pathOptions\":{\"interactive\":true,\"className\":\"\",\"weight\":5},\"popupOptions\":{\"maxWidth\":300,\"minWidth\":50,\"autoPan\":true,\"keepInView\":false,\"closeButton\":true,\"className\":\"\",\"offset\":[0,-35]},\"labelOptions\":{\"interactive\":false,\"permanent\":true,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},\"popups\":true,\"labels\":true,\"color\":[\"red\",\"green\",\"blue\",\"orange\",\"yellow\"],\"radius\":3,\"tickLen\":1000000,\"speed\":5000,\"maxInterpolationTime\":10000,\"tracksLayer\":true,\"playControl\":true,\"dateControl\":true,\"sliderControl\":true,\"orientIcons\":false,\"staleTime\":3600000,\"transitionpopup\":false,\"transitionlabel\":false,\"playCommand\":\"Let's go\",\"stopCommand\":\"Stop it!\"}]}],\"limits\":{\"lat\":[15.8,48.5],\"lng\":[-98.5,-1]}},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addReachability.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Isochrones to Leaflet — addReachability","title":"Add Isochrones to Leaflet — addReachability","text":"leaflet plugin shows areas reachability based time distance different modes travel using openrouteservice isochrones API. Based leaflet.reachability plugin","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addReachability.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Isochrones to Leaflet — addReachability","text":"","code":"addReachability(map, apikey = NULL, options = reachabilityOptions())"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addReachability.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Isochrones to Leaflet — addReachability","text":"map map widget apikey valid Openrouteservice API-key. Can obtained Openrouteservice options list options. See reachabilityOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addReachability.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Isochrones to Leaflet — addReachability","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addReachability.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Add Isochrones to Leaflet — addReachability","text":"used Shiny, 3 events update certain shiny Input: reachability:displayed updates input$MAPID_reachability_displayed reachability:delete updates input$MAPID_reachability_delete reachability:error updates input$MAPID_reachability_error","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addReachability.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Isochrones to Leaflet — addReachability","text":"https://github.com/traffordDataLab/leaflet.reachability","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addReachability.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Isochrones to Leaflet — addReachability","text":"","code":"if (FALSE) { # \\dontrun{ library(leaflet) library(leaflet.extras2) Sys.setenv(\"OPRS\" = 'Your_API_Key') leaflet() %>% addTiles() %>% setView(8, 50, 10) %>% addReachability() } # }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebar.html","id":null,"dir":"Reference","previous_headings":"","what":"Add a Sidebar Leaflet Control — addSidebar","title":"Add a Sidebar Leaflet Control — addSidebar","text":"sidebar HTML must created sidebar_tabs sidebar_pane leafletOutput called.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebar.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add a Sidebar Leaflet Control — addSidebar","text":"","code":"addSidebar(map, id = \"sidebar\", options = list(position = \"left\"), ns = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebar.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add a Sidebar Leaflet Control — addSidebar","text":"map leaflet map widget id Id sidebar-div. Must match id sidebar_tabs options named list option position, either left right. ns namespace function, used Shiny modules.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebar.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add a Sidebar Leaflet Control — addSidebar","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebar.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add a Sidebar Leaflet Control — addSidebar","text":"https://github.com/Turbo87/sidebar-v2","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebar.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add a Sidebar Leaflet Control — addSidebar","text":"","code":"if (FALSE) { # \\dontrun{ library(shiny) # run example app showing a single sidebar runApp(paste0(system.file(\"examples\", package = \"leaflet.extras2\"), \"/sidebar_app.R\")) # run example app showing two sidebars runApp(paste0(system.file(\"examples\", package = \"leaflet.extras2\"), \"/multi_sidebar_app.R\")) } # }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebyside.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Side by Side View — addSidebyside","title":"Add Side by Side View — addSidebyside","text":"Leaflet control add split screen compare two map overlays. plugin works Panes, see example.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebyside.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Side by Side View — addSidebyside","text":"","code":"addSidebyside( map, layerId = NULL, leftId = NULL, rightId = NULL, options = list(thumbSize = 42, padding = 0) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebyside.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Side by Side View — addSidebyside","text":"map map widget layerId layer id, needed removeSidebyside leftId layerId Tile layer visible left side rightId layerId Tile layer visible right side options list options. Currently thumbSize padding can changed.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebyside.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Side by Side View — addSidebyside","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebyside.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Add Side by Side View — addSidebyside","text":"currently working correctly baseGroups defined addLayersControl.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebyside.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Side by Side View — addSidebyside","text":"https://github.com/digidem/leaflet-side--side","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSidebyside.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Side by Side View — addSidebyside","text":"","code":"library(leaflet) library(leaflet.extras2) leaflet(quakes) %>% addMapPane(\"left\", zIndex = 0) %>% addMapPane(\"right\", zIndex = 0) %>% addTiles(group = \"base\", layerId = \"baseid\", options = pathOptions(pane = \"right\")) %>% addProviderTiles(providers$CartoDB.DarkMatter, group=\"carto\", layerId = \"cartoid\", options = pathOptions(pane = \"left\")) %>% addCircleMarkers(data = breweries91[1:15,], color = \"blue\", group = \"blue\", options = pathOptions(pane = \"left\")) %>% addCircleMarkers(data = breweries91[15:20,], color = \"yellow\", group = \"yellow\") %>% addCircleMarkers(data = breweries91[15:30,], color = \"red\", group = \"red\", options = pathOptions(pane = \"right\")) %>% addLayersControl(overlayGroups = c(\"blue\",\"red\", \"yellow\")) %>% addSidebyside(layerId = \"sidecontrols\", rightId = \"baseid\", leftId = \"cartoid\") {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"createMapPane\",\"args\":[\"left\",0]},{\"method\":\"createMapPane\",\"args\":[\"right\",0]},{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",\"baseid\",\"base\",{\"interactive\":true,\"className\":\"\",\"pane\":\"right\",\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addProviderTiles\",\"args\":[\"CartoDB.DarkMatter\",\"cartoid\",\"carto\",{\"interactive\":true,\"className\":\"\",\"pane\":\"left\"}]},{\"method\":\"addCircleMarkers\",\"args\":[[49.71979,49.884051,49.502098,49.274716,49.861905,49.794334,49.701477,49.067436,49.070292,49.77994,49.060542,49.561804,49.595108,49.602554,49.72581],[10.889217,11.228988,10.416021,10.928096,11.291932,11.509409,11.163238,10.34418,10.316987,11.186931,10.965571,11.368508,11.009011,11.005049,11.059662],10,null,\"blue\",{\"interactive\":true,\"className\":\"\",\"pane\":\"left\",\"stroke\":true,\"color\":\"blue\",\"weight\":5,\"opacity\":0.5,\"fill\":true,\"fillColor\":\"blue\",\"fillOpacity\":0.2},null,null,null,null,null,{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null]},{\"method\":\"addCircleMarkers\",\"args\":[[49.72581,49.7202,49.644533,49.645651,49.615866,49.50683],[11.059662,11.056749,11.252699,11.248618,10.630027,11.428338],10,null,\"yellow\",{\"interactive\":true,\"className\":\"\",\"stroke\":true,\"color\":\"yellow\",\"weight\":5,\"opacity\":0.5,\"fill\":true,\"fillColor\":\"yellow\",\"fillOpacity\":0.2},null,null,null,null,null,{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null]},{\"method\":\"addCircleMarkers\",\"args\":[[49.72581,49.7202,49.644533,49.645651,49.615866,49.50683,48.900742,49.707329,49.884229,49.677827,49.450083,49.710838,49.276265,49.554706,49.882777,49.727998],[11.059662,11.056749,11.252699,11.248618,10.630027,11.428338,11.029479,10.806113,11.267583,11.252911,11.308721,11.172792,10.685605,11.22997,11.129541,11.202701],10,null,\"red\",{\"interactive\":true,\"className\":\"\",\"pane\":\"right\",\"stroke\":true,\"color\":\"red\",\"weight\":5,\"opacity\":0.5,\"fill\":true,\"fillColor\":\"red\",\"fillOpacity\":0.2},null,null,null,null,null,{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null]},{\"method\":\"addLayersControl\",\"args\":[[],[\"blue\",\"red\",\"yellow\"],{\"collapsed\":true,\"autoZIndex\":true,\"position\":\"topright\"}]},{\"method\":\"addSidebyside\",\"args\":[\"sidecontrols\",\"cartoid\",\"baseid\",{\"thumbSize\":42,\"padding\":0}]}],\"limits\":{\"lat\":[48.900742,49.884229],\"lng\":[10.316987,11.509409]}},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSpinner.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Spin Plugin — addSpinner","title":"Add Spin Plugin — addSpinner","text":"Adds animated loading spinning map.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSpinner.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Spin Plugin — addSpinner","text":"","code":"addSpinner(map) startSpinner(map, options = NULL) stopSpinner(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSpinner.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Spin Plugin — addSpinner","text":"map map widget object created leaflet options Spin.js options. Named list. See http://spin.js.org","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSpinner.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Spin Plugin — addSpinner","text":"leaflet map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSpinner.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Spin Plugin — addSpinner","text":"https://github.com/makinacorpus/Leaflet.Spin https://github.com/fgnass/spin.js","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addSpinner.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Spin Plugin — addSpinner","text":"","code":"library(leaflet) library(leaflet.extras2) leaflet(data = quakes) %>% addTiles() %>% addSpinner() %>% startSpinner(options = list(\"lines\" = 7, \"length\" = 20)) %>% addMarkers(~long, ~lat, popup = ~as.character(mag), label = ~as.character(mag)) %>% stopSpinner() {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"spinner\",\"args\":[true,{\"lines\":7,\"length\":20}]},{\"method\":\"addMarkers\",\"args\":[[-20.42,-20.62,-26,-17.97,-20.42,-19.68,-11.7,-28.11,-28.74,-17.47,-21.44,-12.26,-18.54,-21,-20.7,-15.94,-13.64,-17.83,-23.5,-22.63,-20.84,-10.98,-23.3,-30.2,-19.66,-17.94,-14.72,-16.46,-20.97,-19.84,-22.58,-16.32,-15.55,-23.55,-16.3,-25.82,-18.73,-17.64,-17.66,-18.82,-37.37,-15.31,-24.97,-15.49,-19.23,-30.1,-26.4,-11.77,-24.12,-18.97,-18.75,-19.26,-22.75,-21.37,-20.1,-19.85,-22.7,-22.06,-17.8,-24.2,-20.69,-21.16,-13.82,-11.49,-20.68,-17.1,-20.14,-21.96,-20.42,-15.46,-15.31,-19.86,-11.55,-23.74,-17.7,-23.54,-19.21,-12.11,-21.81,-28.98,-34.02,-23.84,-19.57,-20.12,-17.7,-19.66,-21.5,-23.64,-15.43,-15.41,-15.48,-13.36,-20.64,-19.72,-15.44,-19.73,-27.24,-18.16,-13.66,-24.57,-16.98,-26.2,-21.88,-33,-21.33,-19.44,-34.89,-20.24,-22.55,-36.95,-15.75,-16.85,-19.06,-26.11,-26.2,-26.13,-13.66,-13.47,-14.6,-18.96,-14.65,-19.9,-22.05,-19.22,-31.24,-17.93,-19.3,-26.53,-27.72,-19.19,-17.43,-17.05,-19.52,-23.71,-21.3,-16.24,-16.14,-23.95,-25.2,-18.84,-12.66,-20.65,-13.23,-29.91,-14.31,-20.1,-17.8,-21.27,-23.58,-17.9,-23.34,-15.56,-23.83,-11.8,-15.54,-20.65,-11.75,-24.81,-20.9,-11.34,-17.98,-24.34,-13.86,-35.56,-35.48,-34.2,-26,-19.89,-23.43,-18.89,-17.82,-25.68,-20.2,-15.2,-15.03,-32.22,-22.64,-17.42,-17.84,-15.02,-18.04,-24.6,-19.88,-20.3,-20.45,-17.67,-22.3,-19.85,-24.27,-15.85,-20.02,-18.56,-17.87,-24.08,-32.2,-20.36,-23.85,-24,-20.41,-17.72,-19.67,-17.7,-16.23,-26.72,-12.95,-21.97,-21.96,-20.32,-30.28,-20.2,-30.66,-16.17,-28.25,-20.47,-23.55,-20.94,-26.67,-18.13,-20.21,-18.31,-16.52,-22.36,-22.43,-20.37,-23.77,-13.65,-21.55,-16.24,-23.73,-22.34,-19.4,-24.64,-16,-19.62,-23.84,-23.54,-28.23,-21.68,-13.44,-24.96,-20.08,-24.36,-14.7,-18.2,-16.65,-18.11,-17.95,-15.5,-23.36,-19.15,-10.97,-14.85,-17.8,-22.5,-29.1,-20.32,-16.09,-19.18,-23.81,-23.79,-19.02,-20.9,-19.06,-17.88,-19.41,-26.17,-14.95,-18.73,-20.21,-21.29,-19.76,-22.09,-23.8,-20.16,-22.13,-17.44,-23.33,-24.78,-22,-19.13,-30.72,-22.32,-16.45,-17.7,-17.95,-24.4,-19.3,-21.13,-18.07,-20.6,-18.48,-13.34,-20.92,-25.31,-15.24,-16.4,-24.57,-17.94,-30.64,-18.64,-13.09,-19.68,-16.44,-21.09,-14.99,-23.3,-17.68,-22,-21.38,-32.62,-13.05,-12.93,-18.6,-21.34,-21.48,-17.4,-17.32,-18.77,-26.16,-12.59,-14.82,-21.79,-19.83,-29.5,-12.49,-26.1,-21.04,-10.78,-20.76,-11.41,-19.1,-23.91,-27.33,-12.25,-23.49,-27.18,-25.8,-27.19,-27.27,-27.1,-27.22,-27.38,-27.27,-27.54,-27.2,-27.71,-27.6,-27.38,-21.54,-27.21,-28.96,-12.01,-17.46,-30.17,-27.27,-17.79,-22.19,-17.1,-27.18,-11.64,-17.98,-16.9,-21.98,-32.14,-18.8,-26.78,-20.43,-18.3,-15.83,-23.44,-23.73,-19.89,-17.59,-19.77,-20.31,-15.33,-18.2,-15.36,-15.29,-15.36,-16.24,-13.47,-25.5,-14.32,-20.04,-28.83,-17.82,-27.23,-10.72,-27,-20.36,-27.17,-20.94,-17.46,-21.04,-23.7,-17.72,-15.87,-17.84,-13.45,-30.8,-11.63,-30.4,-26.18,-15.7,-17.95,-20.51,-15.36,-23.61,-33.2,-17.68,-22.24,-20.07,-25.04,-21.5,-14.28,-14.43,-32.7,-34.1,-19.7,-24.19,-26.6,-17.04,-22.1,-32.6,-33,-20.58,-20.61,-19.47,-17.47,-18.4,-23.33,-18.55,-26.16,-21.8,-27.63,-18.89,-20.3,-20.56,-16.1,-12.66,-21.05,-17.97,-19.83,-22.55,-22.28,-15.72,-20.85,-21.11,-25.31,-26.46,-24.09,-16.96,-23.19,-20.81,-15.03,-18.06,-19,-23.53,-18.18,-15.66,-18,-18.08,-18.05,-29.9,-20.9,-15.61,-16.03,-17.68,-31.94,-19.14,-18,-16.95,-10.79,-20.83,-32.9,-37.93,-29.09,-23.56,-19.6,-21.39,-14.85,-22.7,-32.42,-17.9,-23.58,-34.4,-17.61,-21.07,-13.84,-30.24,-18.49,-23.45,-16.04,-17.14,-22.54,-15.9,-30.04,-24.03,-18.89,-16.51,-20.1,-21.06,-13.07,-23.46,-19.41,-11.81,-11.76,-12.08,-25.59,-26.54,-20.9,-16.99,-23.46,-17.81,-15.17,-11.67,-20.75,-19.5,-26.18,-20.66,-19.22,-24.68,-15.43,-32.45,-21.31,-15.44,-13.26,-15.26,-33.57,-15.77,-15.79,-21,-16.28,-23.28,-16.1,-17.7,-15.96,-15.95,-17.56,-15.9,-15.29,-15.86,-16.2,-15.71,-16.45,-11.54,-19.61,-15.61,-21.16,-20.65,-20.33,-15.08,-23.28,-23.44,-23.12,-23.65,-22.91,-22.06,-13.56,-17.99,-23.92,-30.69,-21.92,-25.04,-19.92,-27.75,-17.71,-19.6,-34.68,-14.46,-18.85,-17.02,-20.41,-18.18,-16.49,-17.74,-20.49,-18.51,-27.28,-15.9,-20.57,-11.25,-20.04,-20.89,-16.62,-20.09,-24.96,-20.95,-23.31,-20.95,-21.58,-13.62,-12.72,-21.79,-20.48,-12.84,-17.02,-23.89,-23.07,-27.98,-28.1,-21.24,-21.24,-19.89,-32.82,-22,-21.57,-24.5,-33.03,-30.09,-22.75,-17.99,-19.6,-15.65,-17.78,-22.04,-20.06,-18.07,-12.85,-33.29,-34.63,-24.18,-23.78,-22.37,-23.97,-34.12,-25.25,-22.87,-18.48,-21.46,-28.56,-28.56,-21.3,-20.08,-18.82,-19.51,-12.05,-17.4,-23.93,-21.23,-16.23,-28.15,-20.81,-20.72,-23.29,-38.46,-15.48,-37.03,-20.48,-18.12,-18.17,-11.4,-23.1,-14.28,-22.87,-17.59,-27.6,-17.94,-17.88,-30.01,-19.19,-18.14,-23.46,-18.44,-18.21,-18.26,-15.85,-23.82,-18.6,-17.8,-10.78,-18.12,-19.34,-15.34,-24.97,-15.97,-23.47,-23.11,-20.54,-18.92,-20.16,-25.48,-18.19,-15.35,-18.69,-18.89,-17.61,-20.93,-17.6,-17.96,-18.8,-20.61,-20.74,-25.23,-23.9,-18.07,-15.43,-14.3,-18.04,-13.9,-17.64,-17.98,-25,-19.45,-16.11,-23.73,-17.74,-21.56,-20.97,-15.45,-15.93,-21.47,-21.44,-22.16,-13.36,-21.22,-26.1,-18.35,-17.2,-22.42,-17.91,-26.53,-26.5,-16.31,-18.76,-17.1,-19.28,-23.5,-21.26,-17.97,-26.02,-30.3,-24.89,-14.57,-15.4,-22.06,-25.14,-20.3,-25.28,-20.63,-19.02,-22.1,-38.59,-19.3,-31.03,-30.51,-22.55,-22.14,-25.6,-18.04,-21.29,-21.08,-20.64,-24.41,-12.16,-17.1,-21.13,-12.34,-16.43,-20.7,-21.18,-17.78,-21.57,-13.7,-12.27,-19.1,-19.85,-11.37,-20.7,-20.24,-16.4,-19.6,-21.63,-21.6,-21.77,-21.8,-21.05,-10.8,-17.9,-22.26,-22.33,-24.04,-20.4,-15,-27.87,-14.12,-23.61,-21.56,-21.19,-18.07,-26,-20.21,-28,-20.74,-31.8,-18.91,-20.45,-22.9,-18.11,-23.8,-23.42,-23.2,-12.93,-21.14,-19.13,-21.08,-20.07,-20.9,-25.04,-21.85,-19.34,-15.83,-23.73,-18.1,-22.12,-15.39,-16.21,-21.75,-22.1,-24.97,-19.36,-22.14,-21.48,-18.54,-21.62,-13.4,-15.5,-15.67,-21.78,-30.63,-15.7,-19.2,-19.7,-19.4,-15.85,-17.38,-24.33,-20.89,-18.97,-17.99,-15.8,-25.42,-21.6,-26.06,-17.56,-25.63,-25.46,-22.23,-21.55,-15.18,-13.79,-15.18,-18.78,-17.9,-18.5,-14.82,-15.65,-30.01,-13.16,-21.03,-21.4,-17.93,-20.87,-12.01,-19.1,-22.85,-17.08,-21.14,-12.23,-20.91,-11.38,-11.02,-22.09,-17.8,-18.94,-18.85,-21.91,-22.03,-18.1,-18.4,-21.2,-12,-11.7,-26.72,-24.39,-19.64,-21.35,-22.82,-38.28,-12.57,-22.24,-13.8,-21.07,-17.74,-23.87,-21.29,-22.2,-15.24,-17.82,-32.14,-19.3,-33.09,-20.18,-17.46,-17.44,-24.71,-21.53,-19.17,-28.05,-23.39,-22.33,-15.28,-20.27,-10.96,-21.52,-19.57,-23.08,-25.06,-17.85,-15.99,-20.56,-17.98,-18.4,-27.64,-20.99,-14.86,-29.33,-25.81,-14.1,-17.63,-23.47,-23.92,-20.88,-20.25,-19.33,-18.14,-22.41,-20.77,-17.95,-20.83,-27.84,-19.94,-23.6,-23.7,-30.39,-18.98,-27.89,-23.5,-23.73,-17.93,-35.94,-18.68,-23.47,-23.49,-23.85,-27.08,-20.88,-20.97,-21.71,-23.9,-15.78,-12.57,-19.69,-22.04,-17.99,-23.5,-21.4,-15.86,-23.95,-25.79,-23.75,-24.1,-18.56,-23.3,-17.03,-20.77,-28.1,-18.83,-23,-20.82,-22.95,-28.22,-27.99,-15.54,-12.37,-22.33,-22.7,-17.86,-16,-20.73,-15.45,-20.05,-17.95,-17.7,-25.93,-12.28,-20.13,-17.4,-21.59],[181.62,181.03,184.1,181.66,181.96,184.31,166.1,181.93,181.74,179.59,180.69,167,182.11,181.66,169.92,184.95,165.96,181.5,179.78,180.31,181.16,166.32,180.16,182,180.28,181.49,167.51,180.79,181.47,182.37,179.24,166.74,185.05,180.8,186,179.33,169.23,181.28,181.4,169.33,176.78,186.1,179.82,186.04,169.41,182.3,181.7,166.32,180.08,185.25,182.35,184.42,173.2,180.67,182.16,182.13,181,180.6,181.35,179.2,181.55,182.4,172.38,166.22,181.41,184.93,181.6,179.62,181.86,187.81,185.8,184.35,166.2,179.99,181.23,180.04,184.7,167.06,181.71,181.11,180.21,180.99,182.38,183.4,181.7,184.31,170.5,179.96,186.3,186.44,167.53,167.06,182.02,169.71,185.26,182.4,181.11,183.41,166.54,179.92,185.61,178.41,180.39,181.6,180.69,183.5,180.6,169.49,185.9,177.81,185.23,182.31,182.45,178.3,178.35,178.31,172.23,172.29,167.4,169.48,166.97,178.9,180.4,182.43,180.6,167.89,183.84,178.57,181.7,183.51,185.43,181.22,168.98,180.3,180.82,168.02,187.32,182.8,182.6,184.16,169.46,181.4,167.1,181.43,173.5,184.4,185.17,173.49,180.17,181.5,184.5,167.62,182.56,165.8,167.68,181.32,166.07,180,169.84,166.24,180.5,179.52,167.16,180.2,179.9,179.43,182.12,183.84,180,169.42,181.83,180.34,180.9,184.68,182.29,180.2,180.64,185.16,181.48,184.24,181.75,183.5,184.3,183,181.85,187.09,181.9,181.85,179.88,185.13,184.09,169.31,182,179.5,179.61,181.19,182.53,182.75,181.74,180.3,182.18,182.2,183.59,183.35,169.09,182.32,180.54,181.69,180.62,182.3,180.13,184.1,181.71,185.68,180.27,181.58,182.4,181.52,183.83,182.39,185.7,171.65,184.48,182.1,180.16,166.66,182.9,185.75,182.53,171.52,180.94,180.81,182.82,185.35,180.13,179.93,182.68,180.63,166.53,180.22,182.74,182.84,166,183.68,185.51,181.67,181.65,186.9,180.01,169.5,166.26,167.24,181.38,170.4,182.1,180.88,184.89,169.33,179.36,179.89,184.23,181.51,169.01,181.47,183.05,184.2,167.24,168.8,182.37,180.85,181.41,180.38,179.9,181.99,180.38,181.4,180.18,179.22,180.52,182.51,180.1,180.54,177.77,185,184.68,179.85,180.6,185.32,181.57,182.28,181.49,166.2,181.5,179.69,186.21,185.86,178.4,181.51,181.2,169.32,169.28,184.14,185.74,181.38,171.39,179.7,181.36,180.53,181.39,181.5,169.58,169.63,181.91,181.41,183.78,181.02,181.03,169.24,179.5,167.1,167.32,183.48,182.04,182.31,166.36,182.3,181.2,165.77,185.77,166.24,183.87,180,182.6,166.6,179.07,182.18,182.1,182.18,182.38,182.18,182.28,181.7,182.5,182.5,182.39,182.47,182.4,182.39,185.48,182.43,182.61,166.29,181.32,182.02,182.36,181.32,171.4,182.68,182.53,166.47,181.58,185.72,179.6,179.9,169.21,183.61,182.37,183.2,182.51,182.93,179.99,184.08,181.09,181.4,184.06,186.75,181.6,186.66,186.42,186.71,167.95,167.14,182.82,167.33,182.01,181.66,181.49,180.98,165.99,183.88,186.16,183.68,181.26,181.9,181.2,179.6,181.42,188.13,181.3,170.3,182.16,166.14,181.4,178.59,184.5,181.5,182.3,167.51,180.23,181.6,186.8,184.56,169.14,180.1,185.2,167.26,167.26,181.7,181.8,186.2,180.38,182.77,186.8,179.71,180.9,182.4,181.24,182.6,169.15,180.96,183.4,180.26,182.23,178.47,183.2,182.93,169.48,182.3,182.04,185.32,166.37,184.68,168.52,182.54,183.81,183.52,185.64,181.59,181.5,180.15,182.5,179.68,167.7,182.8,184.7,167.32,181.59,185.6,179.99,180.63,186.8,180.62,180.7,180.86,181.16,181.9,167.5,185.43,181.11,180.57,184.36,185.48,185.94,166.06,185.9,181.6,177.47,183.2,180.23,185.2,180.68,184.87,183.3,181.21,181.3,183.4,180.5,181.2,181.13,170.62,181.63,169.04,180.23,183.54,185.31,172.91,185.3,181.2,180.22,184.46,187.1,186.3,183.81,166.87,180.09,182.3,165.98,165.96,165.76,180.02,183.63,184.28,187,180.17,181.82,187.2,166.02,184.52,186.9,179.79,185.77,182.54,183.33,167.38,181.15,180.84,167.18,167.01,183.13,180.8,167.01,166.83,183.2,166.94,184.6,167.25,181.31,166.69,167.34,181.59,167.42,166.9,166.85,166.8,166.91,167.54,166.18,181.91,187.15,181.41,182.22,168.71,166.62,184.61,184.6,184.42,184.46,183.95,180.47,166.49,181.57,184.47,182.1,182.8,180.97,183.91,182.26,181.18,183.84,179.82,167.26,187.55,182.41,186.51,182.04,187.8,181.31,181.69,182.64,183.4,167.16,181.33,166.36,181.87,181.25,186.74,168.75,179.87,181.42,179.27,181.06,181.9,167.15,166.28,185,169.76,166.78,182.93,182.39,184.03,181.96,182.25,180.81,180.86,174.46,179.8,185.5,185.62,180.92,180.2,182.4,170.99,168.98,181.87,186.26,181.53,184.91,168.69,181.54,165.67,181.3,179.1,179.02,180.31,171.5,179.91,181.75,179.86,172.65,182.37,181.02,183.47,183.59,180.92,183.22,182.21,183.97,167.39,186.54,180.18,181.09,167.91,183.4,185.01,181.41,184,176.03,186.73,177.52,181.38,181.88,181.98,166.07,180.12,170.34,171.72,180.98,182.1,180.6,180.58,180.8,182.3,180.87,180.11,181.04,180.87,180.98,184.83,180.09,184.28,181.32,166.1,181.71,182.62,167.1,182.85,186.08,180.24,179.15,181.66,169.37,184.27,180.94,181.74,186.4,169.1,181.24,183.32,181.54,181.5,181.4,182.41,182.44,181.53,179.86,179.9,181.58,185.19,167.32,181.57,167.18,177.01,181.51,180,184.48,187.48,179.98,186.78,183.23,181.72,186.73,167.91,185.86,170.45,180.49,172.76,181.51,182.5,185.27,182.9,171.4,181.48,178.3,178.29,168.08,169.71,182.8,182.78,180,181.69,181.48,181.2,180.8,179.67,167.24,186.87,183.95,178.42,181.4,181.17,181.61,186.83,185.3,175.7,183,181.59,181.3,183.34,180.64,180.3,181.84,185.77,180.85,169.66,180.03,167.03,185.9,185.6,167.43,186.73,184.3,180.92,185.33,183.86,166.75,167.41,184.52,184.51,166.55,186.3,185.1,182.73,184.53,180.77,180.5,181,183.6,180.9,165.8,181.5,171.44,171.46,184.85,186.1,184.62,183.4,166.64,180.27,185.5,181.58,181.65,178.43,181.9,182,180.7,180.6,169.46,182.1,183.8,181.63,184.7,180.21,184.8,169.52,181.06,184.97,181.3,181.75,182.02,179.84,180.89,186.59,167.1,183,181.72,180.49,185.1,186.52,180.67,180.4,179.54,186.36,179.62,182.44,168.93,182.4,166.9,185.3,185.23,183.11,180.9,185.1,184.37,182.44,182.29,185.9,168.63,179.97,185.26,169.44,181.62,185.25,182.65,169.9,180.05,181.23,180.26,179.98,180.48,181.39,185.93,166.56,167.23,186.72,181.41,185.4,171.17,185.17,181.15,167.24,180.78,180.78,181.89,181.7,166.66,169.63,181.37,185.96,174.21,167.02,181.57,167.05,167.01,180.58,181.2,182.43,182.2,181.28,179.77,181.63,184.84,181.4,166.2,166.3,182.69,178.98,169.5,170.04,184.52,177.1,167.11,180.28,166.53,183.78,181.25,180.15,185.8,180.58,185.11,181.27,180,185.86,180.94,181.62,181.42,181.33,179.85,170.52,169.53,182.39,179.97,171.51,185.98,181.51,165.97,169.75,184.47,183.45,182.8,181.44,167.95,184.41,181.61,181.77,182.22,181.02,167.32,182.72,182.54,166.01,185.13,180.21,180.21,185.18,184.75,186.16,181.71,183.99,181.16,181.73,181.01,182.1,182.39,183.99,184.13,182.4,182.32,182.92,184.9,184.49,181.62,178.52,184.5,179.95,180.06,180.26,183.44,184.95,181.2,183.58,184.6,167.44,166.72,184.23,183.95,181.59,180.13,180.74,166.98,184.64,182.38,184.5,184.5,169.05,184.68,185.74,183.71,183.5,182.26,170.7,181.67,170.56,183.6,183.5,187.15,166.93,171.66,170.3,181.3,184.53,181.42,181.42,183.86,181.37,188.1,179.54,167.06,184.2,187.8,170.56],null,null,null,{\"interactive\":true,\"draggable\":false,\"keyboard\":true,\"title\":\"\",\"alt\":\"\",\"zIndexOffset\":0,\"opacity\":1,\"riseOnHover\":false,\"riseOffset\":250},[\"4.8\",\"4.2\",\"5.4\",\"4.1\",\"4\",\"4\",\"4.8\",\"4.4\",\"4.7\",\"4.3\",\"4.4\",\"4.6\",\"4.4\",\"4.4\",\"6.1\",\"4.3\",\"6\",\"4.5\",\"4.4\",\"4.4\",\"4.5\",\"4.2\",\"4.4\",\"4.7\",\"5.4\",\"4\",\"4.6\",\"5.2\",\"4.5\",\"4.4\",\"4.6\",\"4.7\",\"4.8\",\"4\",\"4.5\",\"4.3\",\"4.5\",\"4.6\",\"4.1\",\"4.4\",\"4.7\",\"4.6\",\"4.4\",\"4.3\",\"4.6\",\"4.9\",\"4.5\",\"4.4\",\"4.3\",\"5.1\",\"4.2\",\"4\",\"4.6\",\"4.3\",\"4.2\",\"4.4\",\"4.5\",\"4\",\"4.4\",\"4.3\",\"4.7\",\"4.1\",\"5\",\"4.6\",\"4.9\",\"4.7\",\"4.1\",\"5\",\"4.5\",\"5.5\",\"4\",\"4.5\",\"4.3\",\"5.2\",\"4.4\",\"4.3\",\"4.1\",\"4.5\",\"4.2\",\"5.3\",\"5.2\",\"4.5\",\"4.6\",\"4.3\",\"4\",\"4.3\",\"4.7\",\"4.5\",\"4.2\",\"4.3\",\"5.1\",\"4.7\",\"5.2\",\"4.2\",\"4.2\",\"4\",\"4.5\",\"5.2\",\"5.1\",\"4.7\",\"4.1\",\"4.6\",\"4.7\",\"4.7\",\"4.6\",\"4.2\",\"4.4\",\"4.6\",\"5.7\",\"5\",\"4.5\",\"4.2\",\"4\",\"4.8\",\"4.4\",\"4.2\",\"5.3\",\"4.7\",\"4.8\",\"4.2\",\"4.8\",\"4.3\",\"4.7\",\"4.5\",\"4.4\",\"5.1\",\"4.2\",\"5\",\"4.8\",\"4.3\",\"4.5\",\"4.2\",\"4.5\",\"4.6\",\"4.3\",\"4.7\",\"5.1\",\"4.6\",\"4.9\",\"4.2\",\"4.6\",\"4\",\"5\",\"4.4\",\"4.2\",\"4.2\",\"4.4\",\"4.9\",\"5.3\",\"4\",\"5.7\",\"6.4\",\"4.3\",\"4.2\",\"4.7\",\"4.7\",\"4.2\",\"4.3\",\"4.9\",\"4.6\",\"4.1\",\"4.8\",\"4.6\",\"4.6\",\"4.8\",\"5\",\"5.6\",\"5.3\",\"4.7\",\"4.5\",\"4.3\",\"4.6\",\"4.1\",\"4.1\",\"4.1\",\"5.7\",\"5\",\"4.5\",\"4.1\",\"4.6\",\"4.5\",\"4.3\",\"4.4\",\"4.2\",\"4.1\",\"4.9\",\"4.3\",\"4.9\",\"4.6\",\"4.6\",\"5.3\",\"4.7\",\"4.6\",\"4.1\",\"4.6\",\"4.2\",\"4.6\",\"4.5\",\"4.3\",\"5.2\",\"4.3\",\"4\",\"4.7\",\"4.5\",\"4.5\",\"4.3\",\"5.2\",\"4.5\",\"4.7\",\"4.2\",\"4.7\",\"4.3\",\"4.1\",\"5.4\",\"4.3\",\"4.3\",\"4.2\",\"4.6\",\"4.4\",\"4.2\",\"4.7\",\"4.6\",\"4.9\",\"4.2\",\"4.5\",\"4.9\",\"4.2\",\"4.5\",\"5\",\"5\",\"4.7\",\"4.3\",\"4.4\",\"4.9\",\"4.5\",\"4\",\"4.4\",\"5\",\"4.7\",\"4.8\",\"4.5\",\"4.1\",\"5.3\",\"4.8\",\"5\",\"4.6\",\"4.3\",\"4.7\",\"5.3\",\"4.2\",\"4.7\",\"4.5\",\"5.1\",\"4.9\",\"4.4\",\"4.2\",\"4.6\",\"4.7\",\"4.2\",\"4.9\",\"5.1\",\"4.7\",\"4.4\",\"4.4\",\"4.2\",\"4.9\",\"4.6\",\"4.4\",\"4.6\",\"4.5\",\"4.4\",\"4.9\",\"4.1\",\"4.2\",\"5.7\",\"4.6\",\"5\",\"4.3\",\"4.5\",\"5.2\",\"4.4\",\"4.2\",\"4.6\",\"4\",\"4.4\",\"4.7\",\"4.2\",\"4.7\",\"4.5\",\"5\",\"5\",\"4.8\",\"4.6\",\"4.6\",\"5\",\"5\",\"5.6\",\"4\",\"4\",\"4.6\",\"4.4\",\"4.8\",\"4.7\",\"4.6\",\"4.3\",\"4.7\",\"4.1\",\"4.9\",\"4.6\",\"4.8\",\"4.9\",\"5.1\",\"5.4\",\"4.5\",\"4.9\",\"4.4\",\"4.1\",\"5.3\",\"4.5\",\"4.9\",\"4.8\",\"5.2\",\"4.4\",\"4.4\",\"4.9\",\"4.4\",\"4.2\",\"4.6\",\"4.6\",\"5.3\",\"5.3\",\"4.5\",\"4.4\",\"5\",\"5.1\",\"4.5\",\"4.5\",\"5.4\",\"4.5\",\"4.7\",\"4.2\",\"4.8\",\"4.5\",\"4.3\",\"4.3\",\"4.3\",\"4.6\",\"4.5\",\"5\",\"4.6\",\"4.6\",\"4.9\",\"4.1\",\"5.5\",\"4.7\",\"5\",\"5.1\",\"5.5\",\"4.6\",\"4.7\",\"4.2\",\"4\",\"5.4\",\"4.3\",\"4.4\",\"4.6\",\"5.1\",\"4.5\",\"4.2\",\"4.1\",\"5.1\",\"5.4\",\"5.1\",\"5.1\",\"4.4\",\"5.7\",\"4.4\",\"5.1\",\"4.6\",\"5.5\",\"5.1\",\"4.4\",\"5\",\"5\",\"5.1\",\"5.1\",\"4.2\",\"4.5\",\"4\",\"4.9\",\"4.3\",\"4.8\",\"4.4\",\"4.2\",\"4.9\",\"4.2\",\"5.3\",\"5\",\"5.7\",\"5.3\",\"4.7\",\"4.6\",\"4.3\",\"5.4\",\"4.4\",\"4.3\",\"4.3\",\"4.7\",\"4.4\",\"4.2\",\"4.5\",\"4.8\",\"4.8\",\"4.3\",\"4.4\",\"5.1\",\"4.4\",\"4.4\",\"4.3\",\"4.8\",\"4.3\",\"4.5\",\"4.1\",\"5.1\",\"4.7\",\"4.6\",\"4.7\",\"4.6\",\"4.4\",\"4.2\",\"4.1\",\"4.7\",\"4\",\"4.8\",\"4.4\",\"4.3\",\"4.4\",\"4.5\",\"4.5\",\"4.7\",\"4.3\",\"4.7\",\"4.8\",\"4.6\",\"5.1\",\"4.7\",\"4.3\",\"5.1\",\"5.5\",\"4.5\",\"4.3\",\"4.3\",\"4.7\",\"4.3\",\"4.3\",\"4.6\",\"4.5\",\"4.5\",\"5.4\",\"4.6\",\"4.4\",\"5\",\"5.2\",\"4.4\",\"5.1\",\"4.4\",\"4.4\",\"4.8\",\"4.4\",\"4.7\",\"4.7\",\"4.4\",\"4.3\",\"5\",\"4.5\",\"4.6\",\"5.4\",\"4.6\",\"4.5\",\"4.4\",\"4.5\",\"4.1\",\"4\",\"4.9\",\"4.1\",\"5.2\",\"4.4\",\"4.1\",\"4.9\",\"4.6\",\"4.5\",\"4.8\",\"4.2\",\"4.2\",\"4.1\",\"5.5\",\"4.4\",\"4.8\",\"4.2\",\"4.8\",\"4.9\",\"4.6\",\"4.5\",\"4.4\",\"4.6\",\"4.2\",\"4.7\",\"4.4\",\"4.5\",\"4.9\",\"4.7\",\"5.5\",\"4.7\",\"4.6\",\"4.1\",\"4.7\",\"4.6\",\"4.3\",\"4.4\",\"4.7\",\"4.3\",\"4.1\",\"4.7\",\"4.5\",\"5.5\",\"4.5\",\"4.6\",\"5.1\",\"4.4\",\"4.7\",\"5.5\",\"4.6\",\"4\",\"4.6\",\"4.8\",\"4.7\",\"4.7\",\"4.2\",\"5.4\",\"4.6\",\"5.5\",\"4.2\",\"4.5\",\"4.5\",\"4.8\",\"4.6\",\"5.4\",\"4.6\",\"5\",\"4.3\",\"4.3\",\"4.8\",\"4.7\",\"4.7\",\"4.8\",\"4.2\",\"4.2\",\"5.9\",\"4.6\",\"4.5\",\"4.9\",\"4.7\",\"4.9\",\"5.3\",\"4.2\",\"4.2\",\"4.5\",\"5.2\",\"4.5\",\"5.6\",\"5.2\",\"4.8\",\"4.5\",\"5\",\"4.4\",\"4.5\",\"4.6\",\"4.5\",\"5.2\",\"5.1\",\"4.8\",\"4.3\",\"5.1\",\"4.7\",\"4.6\",\"4.8\",\"4.6\",\"4.4\",\"4.6\",\"5.1\",\"4.3\",\"4.4\",\"4.7\",\"4.8\",\"4.1\",\"4.6\",\"4.9\",\"4\",\"4.7\",\"4.7\",\"5.2\",\"4.6\",\"4.6\",\"4.9\",\"5.7\",\"4.7\",\"4.4\",\"4.9\",\"4.8\",\"4.6\",\"4.4\",\"4.8\",\"4.7\",\"4.2\",\"5.1\",\"4.8\",\"4.9\",\"5.1\",\"4.3\",\"4.4\",\"4.7\",\"4.7\",\"5.3\",\"5.1\",\"4.9\",\"4.5\",\"4.7\",\"4.2\",\"5.1\",\"4.8\",\"4.2\",\"4.8\",\"4.4\",\"4.5\",\"4.3\",\"5.6\",\"4\",\"5\",\"4.2\",\"4.6\",\"4.6\",\"4.5\",\"5\",\"4.7\",\"4.6\",\"4.8\",\"4.6\",\"4.4\",\"5.6\",\"4.2\",\"5.4\",\"4.8\",\"5.6\",\"4.4\",\"4.7\",\"4.6\",\"5.1\",\"4.6\",\"4.5\",\"4.2\",\"4.8\",\"4.9\",\"5.5\",\"5\",\"4.2\",\"5.2\",\"4.8\",\"4.4\",\"4.8\",\"4.4\",\"4.1\",\"4.9\",\"4.6\",\"4.5\",\"5.3\",\"4.8\",\"4.6\",\"4.8\",\"4.7\",\"4.9\",\"5.3\",\"4.4\",\"4.6\",\"4.3\",\"4.4\",\"4.2\",\"4.1\",\"4.2\",\"5\",\"4.1\",\"4.3\",\"5.2\",\"4.2\",\"4.5\",\"4.4\",\"4.4\",\"5\",\"4\",\"4.8\",\"5\",\"4.2\",\"5.2\",\"5.2\",\"4.5\",\"4.3\",\"4.5\",\"4.6\",\"5.1\",\"4.4\",\"4.3\",\"4.7\",\"5.6\",\"4.9\",\"5.1\",\"4.6\",\"4.4\",\"4.8\",\"4.2\",\"4.7\",\"4.1\",\"4.7\",\"4\",\"4.9\",\"5\",\"4.5\",\"4.4\",\"4\",\"4.5\",\"4.7\",\"4.4\",\"4.7\",\"4.7\",\"4\",\"4.2\",\"4.5\",\"4.7\",\"4.5\",\"4.1\",\"4.6\",\"4.3\",\"4.6\",\"5.2\",\"4.6\",\"4.7\",\"5\",\"5.2\",\"4.4\",\"4.6\",\"4.5\",\"4\",\"4.2\",\"5.3\",\"5.9\",\"4.9\",\"4.5\",\"4.4\",\"5.4\",\"5.3\",\"5.1\",\"4.1\",\"4.3\",\"4.5\",\"4.1\",\"5.1\",\"5.3\",\"4.5\",\"4.1\",\"4.4\",\"4.7\",\"4\",\"5.1\",\"4\",\"4.3\",\"4.3\",\"4\",\"4.1\",\"4.4\",\"4.3\",\"4.2\",\"4\",\"4.5\",\"4.7\",\"5\",\"4.3\",\"5.1\",\"4.7\",\"5.3\",\"5\",\"4.5\",\"5\",\"4.1\",\"4.9\",\"4.1\",\"4\",\"4.4\",\"4.5\",\"4.4\",\"4.5\",\"4.3\",\"4.3\",\"5\",\"4.5\",\"4.5\",\"4.4\",\"4.5\",\"4.1\",\"4.9\",\"4.7\",\"4.3\",\"4.6\",\"4.6\",\"5.2\",\"4.5\",\"4.3\",\"4.6\",\"4\",\"4.5\",\"4.8\",\"4.6\",\"4.1\",\"4.9\",\"4.7\",\"4.1\",\"4.3\",\"4.4\",\"4\",\"4.8\",\"4.4\",\"4.4\",\"4.6\",\"4.2\",\"4.1\",\"4.2\",\"4\",\"4.1\",\"4.1\",\"4.7\",\"4.8\",\"5.1\",\"5\",\"4.8\",\"4.4\",\"5\",\"5.2\",\"4.2\",\"4.1\",\"4.8\",\"4.5\",\"5\",\"5.1\",\"4.1\",\"4.7\",\"5.2\",\"4.8\",\"4.5\",\"4\",\"4.7\",\"4.1\",\"4.3\",\"4.3\",\"4\",\"4.7\",\"4.1\",\"4.2\",\"4.8\",\"4.8\",\"4.2\",\"4.2\",\"5.7\",\"6\",\"4.2\",\"4.5\",\"4.9\",\"4.4\",\"4\",\"4.3\",\"4.2\",\"4.5\",\"4.8\",\"4.4\",\"4.2\",\"4.2\",\"5\",\"4.2\",\"5.2\",\"4.5\",\"4.6\",\"5\",\"5\",\"5.4\",\"4.8\",\"4.2\",\"5.5\",\"4.3\",\"4.1\",\"4.4\",\"4.9\",\"4.5\",\"4.9\",\"4\",\"4.5\",\"5\",\"4.9\",\"4.5\",\"4.2\",\"4.2\",\"4.2\",\"5.2\",\"4.3\",\"5.1\",\"4.6\",\"4.6\",\"4.4\",\"4.4\",\"4.9\",\"5.1\",\"4.2\",\"4.7\",\"4\",\"5.6\",\"5.3\",\"5\",\"4.3\",\"4.1\",\"5.1\",\"4.5\",\"4.9\",\"5.4\",\"4.7\",\"4.8\",\"4.5\",\"4.2\",\"4.6\",\"4.6\",\"5.6\",\"5.4\",\"4\",\"5.2\",\"4.2\",\"4.7\",\"4.3\",\"4.8\",\"4.6\",\"5.4\",\"4.8\",\"4.6\",\"4.2\",\"5.5\",\"4.7\",\"4.7\",\"4.5\",\"5.5\",\"4.5\",\"4.1\",\"4\",\"4.3\",\"4.7\",\"4.9\",\"4.5\",\"4.7\",\"4.5\",\"4.8\",\"4.3\",\"4.1\",\"5.4\",\"4.1\",\"4.8\",\"4.2\",\"4.8\",\"5.4\",\"4.4\",\"5.2\",\"4.7\",\"4.9\",\"4.9\",\"4.2\",\"4.4\",\"4.4\",\"4.3\",\"4.9\",\"5\",\"4.7\",\"4.9\",\"4.3\",\"4.5\",\"4.2\",\"5.2\",\"4.8\",\"4\",\"4.7\",\"4.3\",\"4.3\",\"4.9\",\"4\",\"4.2\",\"4.4\",\"4.7\",\"4.5\",\"4.5\",\"6\"],null,null,null,[\"4.8\",\"4.2\",\"5.4\",\"4.1\",\"4\",\"4\",\"4.8\",\"4.4\",\"4.7\",\"4.3\",\"4.4\",\"4.6\",\"4.4\",\"4.4\",\"6.1\",\"4.3\",\"6\",\"4.5\",\"4.4\",\"4.4\",\"4.5\",\"4.2\",\"4.4\",\"4.7\",\"5.4\",\"4\",\"4.6\",\"5.2\",\"4.5\",\"4.4\",\"4.6\",\"4.7\",\"4.8\",\"4\",\"4.5\",\"4.3\",\"4.5\",\"4.6\",\"4.1\",\"4.4\",\"4.7\",\"4.6\",\"4.4\",\"4.3\",\"4.6\",\"4.9\",\"4.5\",\"4.4\",\"4.3\",\"5.1\",\"4.2\",\"4\",\"4.6\",\"4.3\",\"4.2\",\"4.4\",\"4.5\",\"4\",\"4.4\",\"4.3\",\"4.7\",\"4.1\",\"5\",\"4.6\",\"4.9\",\"4.7\",\"4.1\",\"5\",\"4.5\",\"5.5\",\"4\",\"4.5\",\"4.3\",\"5.2\",\"4.4\",\"4.3\",\"4.1\",\"4.5\",\"4.2\",\"5.3\",\"5.2\",\"4.5\",\"4.6\",\"4.3\",\"4\",\"4.3\",\"4.7\",\"4.5\",\"4.2\",\"4.3\",\"5.1\",\"4.7\",\"5.2\",\"4.2\",\"4.2\",\"4\",\"4.5\",\"5.2\",\"5.1\",\"4.7\",\"4.1\",\"4.6\",\"4.7\",\"4.7\",\"4.6\",\"4.2\",\"4.4\",\"4.6\",\"5.7\",\"5\",\"4.5\",\"4.2\",\"4\",\"4.8\",\"4.4\",\"4.2\",\"5.3\",\"4.7\",\"4.8\",\"4.2\",\"4.8\",\"4.3\",\"4.7\",\"4.5\",\"4.4\",\"5.1\",\"4.2\",\"5\",\"4.8\",\"4.3\",\"4.5\",\"4.2\",\"4.5\",\"4.6\",\"4.3\",\"4.7\",\"5.1\",\"4.6\",\"4.9\",\"4.2\",\"4.6\",\"4\",\"5\",\"4.4\",\"4.2\",\"4.2\",\"4.4\",\"4.9\",\"5.3\",\"4\",\"5.7\",\"6.4\",\"4.3\",\"4.2\",\"4.7\",\"4.7\",\"4.2\",\"4.3\",\"4.9\",\"4.6\",\"4.1\",\"4.8\",\"4.6\",\"4.6\",\"4.8\",\"5\",\"5.6\",\"5.3\",\"4.7\",\"4.5\",\"4.3\",\"4.6\",\"4.1\",\"4.1\",\"4.1\",\"5.7\",\"5\",\"4.5\",\"4.1\",\"4.6\",\"4.5\",\"4.3\",\"4.4\",\"4.2\",\"4.1\",\"4.9\",\"4.3\",\"4.9\",\"4.6\",\"4.6\",\"5.3\",\"4.7\",\"4.6\",\"4.1\",\"4.6\",\"4.2\",\"4.6\",\"4.5\",\"4.3\",\"5.2\",\"4.3\",\"4\",\"4.7\",\"4.5\",\"4.5\",\"4.3\",\"5.2\",\"4.5\",\"4.7\",\"4.2\",\"4.7\",\"4.3\",\"4.1\",\"5.4\",\"4.3\",\"4.3\",\"4.2\",\"4.6\",\"4.4\",\"4.2\",\"4.7\",\"4.6\",\"4.9\",\"4.2\",\"4.5\",\"4.9\",\"4.2\",\"4.5\",\"5\",\"5\",\"4.7\",\"4.3\",\"4.4\",\"4.9\",\"4.5\",\"4\",\"4.4\",\"5\",\"4.7\",\"4.8\",\"4.5\",\"4.1\",\"5.3\",\"4.8\",\"5\",\"4.6\",\"4.3\",\"4.7\",\"5.3\",\"4.2\",\"4.7\",\"4.5\",\"5.1\",\"4.9\",\"4.4\",\"4.2\",\"4.6\",\"4.7\",\"4.2\",\"4.9\",\"5.1\",\"4.7\",\"4.4\",\"4.4\",\"4.2\",\"4.9\",\"4.6\",\"4.4\",\"4.6\",\"4.5\",\"4.4\",\"4.9\",\"4.1\",\"4.2\",\"5.7\",\"4.6\",\"5\",\"4.3\",\"4.5\",\"5.2\",\"4.4\",\"4.2\",\"4.6\",\"4\",\"4.4\",\"4.7\",\"4.2\",\"4.7\",\"4.5\",\"5\",\"5\",\"4.8\",\"4.6\",\"4.6\",\"5\",\"5\",\"5.6\",\"4\",\"4\",\"4.6\",\"4.4\",\"4.8\",\"4.7\",\"4.6\",\"4.3\",\"4.7\",\"4.1\",\"4.9\",\"4.6\",\"4.8\",\"4.9\",\"5.1\",\"5.4\",\"4.5\",\"4.9\",\"4.4\",\"4.1\",\"5.3\",\"4.5\",\"4.9\",\"4.8\",\"5.2\",\"4.4\",\"4.4\",\"4.9\",\"4.4\",\"4.2\",\"4.6\",\"4.6\",\"5.3\",\"5.3\",\"4.5\",\"4.4\",\"5\",\"5.1\",\"4.5\",\"4.5\",\"5.4\",\"4.5\",\"4.7\",\"4.2\",\"4.8\",\"4.5\",\"4.3\",\"4.3\",\"4.3\",\"4.6\",\"4.5\",\"5\",\"4.6\",\"4.6\",\"4.9\",\"4.1\",\"5.5\",\"4.7\",\"5\",\"5.1\",\"5.5\",\"4.6\",\"4.7\",\"4.2\",\"4\",\"5.4\",\"4.3\",\"4.4\",\"4.6\",\"5.1\",\"4.5\",\"4.2\",\"4.1\",\"5.1\",\"5.4\",\"5.1\",\"5.1\",\"4.4\",\"5.7\",\"4.4\",\"5.1\",\"4.6\",\"5.5\",\"5.1\",\"4.4\",\"5\",\"5\",\"5.1\",\"5.1\",\"4.2\",\"4.5\",\"4\",\"4.9\",\"4.3\",\"4.8\",\"4.4\",\"4.2\",\"4.9\",\"4.2\",\"5.3\",\"5\",\"5.7\",\"5.3\",\"4.7\",\"4.6\",\"4.3\",\"5.4\",\"4.4\",\"4.3\",\"4.3\",\"4.7\",\"4.4\",\"4.2\",\"4.5\",\"4.8\",\"4.8\",\"4.3\",\"4.4\",\"5.1\",\"4.4\",\"4.4\",\"4.3\",\"4.8\",\"4.3\",\"4.5\",\"4.1\",\"5.1\",\"4.7\",\"4.6\",\"4.7\",\"4.6\",\"4.4\",\"4.2\",\"4.1\",\"4.7\",\"4\",\"4.8\",\"4.4\",\"4.3\",\"4.4\",\"4.5\",\"4.5\",\"4.7\",\"4.3\",\"4.7\",\"4.8\",\"4.6\",\"5.1\",\"4.7\",\"4.3\",\"5.1\",\"5.5\",\"4.5\",\"4.3\",\"4.3\",\"4.7\",\"4.3\",\"4.3\",\"4.6\",\"4.5\",\"4.5\",\"5.4\",\"4.6\",\"4.4\",\"5\",\"5.2\",\"4.4\",\"5.1\",\"4.4\",\"4.4\",\"4.8\",\"4.4\",\"4.7\",\"4.7\",\"4.4\",\"4.3\",\"5\",\"4.5\",\"4.6\",\"5.4\",\"4.6\",\"4.5\",\"4.4\",\"4.5\",\"4.1\",\"4\",\"4.9\",\"4.1\",\"5.2\",\"4.4\",\"4.1\",\"4.9\",\"4.6\",\"4.5\",\"4.8\",\"4.2\",\"4.2\",\"4.1\",\"5.5\",\"4.4\",\"4.8\",\"4.2\",\"4.8\",\"4.9\",\"4.6\",\"4.5\",\"4.4\",\"4.6\",\"4.2\",\"4.7\",\"4.4\",\"4.5\",\"4.9\",\"4.7\",\"5.5\",\"4.7\",\"4.6\",\"4.1\",\"4.7\",\"4.6\",\"4.3\",\"4.4\",\"4.7\",\"4.3\",\"4.1\",\"4.7\",\"4.5\",\"5.5\",\"4.5\",\"4.6\",\"5.1\",\"4.4\",\"4.7\",\"5.5\",\"4.6\",\"4\",\"4.6\",\"4.8\",\"4.7\",\"4.7\",\"4.2\",\"5.4\",\"4.6\",\"5.5\",\"4.2\",\"4.5\",\"4.5\",\"4.8\",\"4.6\",\"5.4\",\"4.6\",\"5\",\"4.3\",\"4.3\",\"4.8\",\"4.7\",\"4.7\",\"4.8\",\"4.2\",\"4.2\",\"5.9\",\"4.6\",\"4.5\",\"4.9\",\"4.7\",\"4.9\",\"5.3\",\"4.2\",\"4.2\",\"4.5\",\"5.2\",\"4.5\",\"5.6\",\"5.2\",\"4.8\",\"4.5\",\"5\",\"4.4\",\"4.5\",\"4.6\",\"4.5\",\"5.2\",\"5.1\",\"4.8\",\"4.3\",\"5.1\",\"4.7\",\"4.6\",\"4.8\",\"4.6\",\"4.4\",\"4.6\",\"5.1\",\"4.3\",\"4.4\",\"4.7\",\"4.8\",\"4.1\",\"4.6\",\"4.9\",\"4\",\"4.7\",\"4.7\",\"5.2\",\"4.6\",\"4.6\",\"4.9\",\"5.7\",\"4.7\",\"4.4\",\"4.9\",\"4.8\",\"4.6\",\"4.4\",\"4.8\",\"4.7\",\"4.2\",\"5.1\",\"4.8\",\"4.9\",\"5.1\",\"4.3\",\"4.4\",\"4.7\",\"4.7\",\"5.3\",\"5.1\",\"4.9\",\"4.5\",\"4.7\",\"4.2\",\"5.1\",\"4.8\",\"4.2\",\"4.8\",\"4.4\",\"4.5\",\"4.3\",\"5.6\",\"4\",\"5\",\"4.2\",\"4.6\",\"4.6\",\"4.5\",\"5\",\"4.7\",\"4.6\",\"4.8\",\"4.6\",\"4.4\",\"5.6\",\"4.2\",\"5.4\",\"4.8\",\"5.6\",\"4.4\",\"4.7\",\"4.6\",\"5.1\",\"4.6\",\"4.5\",\"4.2\",\"4.8\",\"4.9\",\"5.5\",\"5\",\"4.2\",\"5.2\",\"4.8\",\"4.4\",\"4.8\",\"4.4\",\"4.1\",\"4.9\",\"4.6\",\"4.5\",\"5.3\",\"4.8\",\"4.6\",\"4.8\",\"4.7\",\"4.9\",\"5.3\",\"4.4\",\"4.6\",\"4.3\",\"4.4\",\"4.2\",\"4.1\",\"4.2\",\"5\",\"4.1\",\"4.3\",\"5.2\",\"4.2\",\"4.5\",\"4.4\",\"4.4\",\"5\",\"4\",\"4.8\",\"5\",\"4.2\",\"5.2\",\"5.2\",\"4.5\",\"4.3\",\"4.5\",\"4.6\",\"5.1\",\"4.4\",\"4.3\",\"4.7\",\"5.6\",\"4.9\",\"5.1\",\"4.6\",\"4.4\",\"4.8\",\"4.2\",\"4.7\",\"4.1\",\"4.7\",\"4\",\"4.9\",\"5\",\"4.5\",\"4.4\",\"4\",\"4.5\",\"4.7\",\"4.4\",\"4.7\",\"4.7\",\"4\",\"4.2\",\"4.5\",\"4.7\",\"4.5\",\"4.1\",\"4.6\",\"4.3\",\"4.6\",\"5.2\",\"4.6\",\"4.7\",\"5\",\"5.2\",\"4.4\",\"4.6\",\"4.5\",\"4\",\"4.2\",\"5.3\",\"5.9\",\"4.9\",\"4.5\",\"4.4\",\"5.4\",\"5.3\",\"5.1\",\"4.1\",\"4.3\",\"4.5\",\"4.1\",\"5.1\",\"5.3\",\"4.5\",\"4.1\",\"4.4\",\"4.7\",\"4\",\"5.1\",\"4\",\"4.3\",\"4.3\",\"4\",\"4.1\",\"4.4\",\"4.3\",\"4.2\",\"4\",\"4.5\",\"4.7\",\"5\",\"4.3\",\"5.1\",\"4.7\",\"5.3\",\"5\",\"4.5\",\"5\",\"4.1\",\"4.9\",\"4.1\",\"4\",\"4.4\",\"4.5\",\"4.4\",\"4.5\",\"4.3\",\"4.3\",\"5\",\"4.5\",\"4.5\",\"4.4\",\"4.5\",\"4.1\",\"4.9\",\"4.7\",\"4.3\",\"4.6\",\"4.6\",\"5.2\",\"4.5\",\"4.3\",\"4.6\",\"4\",\"4.5\",\"4.8\",\"4.6\",\"4.1\",\"4.9\",\"4.7\",\"4.1\",\"4.3\",\"4.4\",\"4\",\"4.8\",\"4.4\",\"4.4\",\"4.6\",\"4.2\",\"4.1\",\"4.2\",\"4\",\"4.1\",\"4.1\",\"4.7\",\"4.8\",\"5.1\",\"5\",\"4.8\",\"4.4\",\"5\",\"5.2\",\"4.2\",\"4.1\",\"4.8\",\"4.5\",\"5\",\"5.1\",\"4.1\",\"4.7\",\"5.2\",\"4.8\",\"4.5\",\"4\",\"4.7\",\"4.1\",\"4.3\",\"4.3\",\"4\",\"4.7\",\"4.1\",\"4.2\",\"4.8\",\"4.8\",\"4.2\",\"4.2\",\"5.7\",\"6\",\"4.2\",\"4.5\",\"4.9\",\"4.4\",\"4\",\"4.3\",\"4.2\",\"4.5\",\"4.8\",\"4.4\",\"4.2\",\"4.2\",\"5\",\"4.2\",\"5.2\",\"4.5\",\"4.6\",\"5\",\"5\",\"5.4\",\"4.8\",\"4.2\",\"5.5\",\"4.3\",\"4.1\",\"4.4\",\"4.9\",\"4.5\",\"4.9\",\"4\",\"4.5\",\"5\",\"4.9\",\"4.5\",\"4.2\",\"4.2\",\"4.2\",\"5.2\",\"4.3\",\"5.1\",\"4.6\",\"4.6\",\"4.4\",\"4.4\",\"4.9\",\"5.1\",\"4.2\",\"4.7\",\"4\",\"5.6\",\"5.3\",\"5\",\"4.3\",\"4.1\",\"5.1\",\"4.5\",\"4.9\",\"5.4\",\"4.7\",\"4.8\",\"4.5\",\"4.2\",\"4.6\",\"4.6\",\"5.6\",\"5.4\",\"4\",\"5.2\",\"4.2\",\"4.7\",\"4.3\",\"4.8\",\"4.6\",\"5.4\",\"4.8\",\"4.6\",\"4.2\",\"5.5\",\"4.7\",\"4.7\",\"4.5\",\"5.5\",\"4.5\",\"4.1\",\"4\",\"4.3\",\"4.7\",\"4.9\",\"4.5\",\"4.7\",\"4.5\",\"4.8\",\"4.3\",\"4.1\",\"5.4\",\"4.1\",\"4.8\",\"4.2\",\"4.8\",\"5.4\",\"4.4\",\"5.2\",\"4.7\",\"4.9\",\"4.9\",\"4.2\",\"4.4\",\"4.4\",\"4.3\",\"4.9\",\"5\",\"4.7\",\"4.9\",\"4.3\",\"4.5\",\"4.2\",\"5.2\",\"4.8\",\"4\",\"4.7\",\"4.3\",\"4.3\",\"4.9\",\"4\",\"4.2\",\"4.4\",\"4.7\",\"4.5\",\"4.5\",\"6\"],{\"interactive\":false,\"permanent\":false,\"direction\":\"auto\",\"opacity\":1,\"offset\":[0,0],\"textsize\":\"10px\",\"textOnly\":false,\"className\":\"\",\"sticky\":true},null]},{\"method\":\"spinner\",\"args\":[false]}],\"limits\":{\"lat\":[-38.59,-10.72],\"lng\":[165.67,188.13]}},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTangram.html","id":null,"dir":"Reference","previous_headings":"","what":"Adds a Tangram layer to a Leaflet map in a Shiny App. — addTangram","title":"Adds a Tangram layer to a Leaflet map in a Shiny App. — addTangram","text":"Adds Tangram layer Leaflet map Shiny App.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTangram.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Adds a Tangram layer to a Leaflet map in a Shiny App. — addTangram","text":"","code":"addTangram(map, scene = NULL, layerId = NULL, group = NULL, options = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTangram.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Adds a Tangram layer to a Leaflet map in a Shiny App. — addTangram","text":"map map widget object created leaflet() scene Path required .yaml .zip file. file within /www folder Shiny-App, filename must given, otherwise full path needed. See Tangram repository Tangram docs information edit .yaml file. layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. options list options. See app examples/tangram folder docs information.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTangram.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Adds a Tangram layer to a Leaflet map in a Shiny App. — addTangram","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTangram.html","id":"note","dir":"Reference","previous_headings":"","what":"Note","title":"Adds a Tangram layer to a Leaflet map in a Shiny App. — addTangram","text":"works correctly Shiny-App environment.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTangram.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Adds a Tangram layer to a Leaflet map in a Shiny App. — addTangram","text":"https://github.com/tangrams/tangram","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTangram.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Adds a Tangram layer to a Leaflet map in a Shiny App. — addTangram","text":"","code":"if (FALSE) { # \\dontrun{ library(shiny) library(leaflet) library(leaflet.extras2) ## In the /www folder of a ShinyApp. Must contain the Nextzen API-key scene <- \"scene.yaml\" ui <- fluidPage(leafletOutput(\"map\")) server <- function(input, output, session) { output$map <- renderLeaflet({ leaflet() %>% addTiles(group = \"base\") %>% addTangram(scene = scene, group = \"tangram\") %>% addCircleMarkers(data = breweries91, group = \"brews\") %>% setView(11, 49.4, 14) %>% addLayersControl(baseGroups = c(\"tangram\", \"base\"), overlayGroups = c(\"brews\")) }) } shinyApp(ui, server) } # }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTimeslider.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Time Slider to Leaflet — addTimeslider","title":"Add Time Slider to Leaflet — addTimeslider","text":"LeafletSlider plugin enables dynamically add remove Markers/Lines map using JQuery UI slider.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTimeslider.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Time Slider to Leaflet — addTimeslider","text":"","code":"addTimeslider( map, data, radius = 10, stroke = TRUE, color = \"#03F\", weight = 5, opacity = 0.5, fill = TRUE, fillColor = color, fillOpacity = 0.2, dashArray = NULL, popup = NULL, popupOptions = NULL, label = NULL, labelOptions = NULL, ordertime = TRUE, options = timesliderOptions() )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTimeslider.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Time Slider to Leaflet — addTimeslider","text":"map map widget data data must Simple Feature collection type POINT LINESTRING column class Date POSIXct. radius numeric vector radii circles; can also one-sided formula, case radius values derived data (units meters circles, pixels circle markers) stroke whether draw stroke along path (e.g. borders polygons circles) color stroke color weight stroke width pixels opacity stroke opacity (layer opacity tile layers) fill whether fill path color (e.g. filling polygons circles) fillColor fill color fillOpacity fill opacity dashArray string defines stroke dash pattern popup character vector HTML content popups (recommended escape text using htmlEscape() security reasons) popupOptions Vector popupOptions provide popups label character vector HTML content labels labelOptions Vector labelOptions provide label options label. Default NULL ordertime boolean value indicating whether order data time column. slider adopt order timestamps. default TRUE. options List additional options. See timesliderOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTimeslider.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Time Slider to Leaflet — addTimeslider","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTimeslider.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Time Slider to Leaflet — addTimeslider","text":"https://github.com/dwilhelm89/LeafletSlider","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addTimeslider.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Time Slider to Leaflet — addTimeslider","text":"","code":"library(leaflet) library(leaflet.extras2) library(sf) data <- sf::st_as_sf(leaflet::atlStorms2005[1,]) data <- st_cast(data, \"POINT\") #> Warning: repeating attributes for all sub-geometries for which they may not be constant data$time = as.POSIXct( seq.POSIXt(Sys.time() - 1000, Sys.time(), length.out = nrow(data))) leaflet() %>% addTiles() %>% addTimeslider(data = data, options = timesliderOptions( position = \"topright\", timeAttribute = \"time\", range = TRUE)) %>% setView(-72, 22, 4) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addTimeslider\",\"args\":[{\"type\":\"FeatureCollection\",\"features\":[{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 21:08:40\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-67.5,15.8]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 21:10:20\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-68.5,16.5]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 21:12:00\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-69.6,17.3]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 21:13:40\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-70.5,17.8]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 21:15:20\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-71.3,18.3]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 21:17:00\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-72.2,18.6]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 21:18:40\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-72.7,19.8]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 21:20:20\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-72.9,21.6]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 21:22:00\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-73.0,23.5]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 21:23:40\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-72.4,25.1]}},{\"type\":\"Feature\",\"properties\":{\"Name\":\"ALPHA\",\"MaxWind\":45.0,\"MinPress\":998.0,\"time\":\"2024-09-01 21:25:20\",\"radius\":10.0,\"stroke\":true,\"color\":\"#03F\",\"weight\":5.0,\"fillColor\":\"#03F\",\"opacity\":0.5,\"fill\":true,\"fillOpacity\":0.2},\"geometry\":{\"type\":\"Point\",\"coordinates\":[-70.8,27.9]}}]},{\"position\":\"topright\",\"timeAttribute\":\"time\",\"isEpoch\":false,\"startTimeIdx\":0,\"timeStrLength\":19,\"maxValue\":-1,\"minValue\":0,\"showAllOnStart\":false,\"range\":true,\"follow\":false,\"alwaysShowDate\":false,\"sameDate\":false},null,null]}],\"limits\":{\"lat\":[15.8,27.9],\"lng\":[-73,-67.5]},\"setView\":[[22,-72],4,[]]},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addVelocity.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Velocity Animation — addVelocity","title":"Add Velocity Animation — addVelocity","text":"Add velocity animated data leaflet. Based leaflet-velocity plugin","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addVelocity.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Velocity Animation — addVelocity","text":"","code":"addVelocity( map, layerId = NULL, group = NULL, content = NULL, options = velocityOptions() )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addVelocity.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Velocity Animation — addVelocity","text":"map map widget object created leaflet() layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. content path URL JSON file representing velocity data data.frame can transformed JSON file. Please see demo files example data. options List options. See velocityOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addVelocity.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Velocity Animation — addVelocity","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addVelocity.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Velocity Animation — addVelocity","text":"https://github.com/onaci/leaflet-velocity","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addVelocity.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Velocity Animation — addVelocity","text":"","code":"if (FALSE) { # \\dontrun{ library(leaflet) library(leaflet.extras2) content <- \"https://raw.githubusercontent.com/onaci/leaflet-velocity/master/demo/water-gbr.json\" leaflet() %>% addTiles(group = \"base\") %>% setView(145, -20, 4) %>% addVelocity(content = content, group = \"velo\", layerId = \"veloid\") %>% addLayersControl(baseGroups = \"base\", overlayGroups = \"velo\") } # }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addWMS.html","id":null,"dir":"Reference","previous_headings":"","what":"Add Queryable WMS Layer — addWMS","title":"Add Queryable WMS Layer — addWMS","text":"Leaflet plugin working Web Map services, providing: single-tile/untiled/nontiled layers, shared WMS sources, GetFeatureInfo-powered identify. can also use CQL-Filters appending string 'baseUrl'. Something like 'http://server/wms?cql_filter=attribute=value'","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addWMS.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Add Queryable WMS Layer — addWMS","text":"","code":"addWMS( map, baseUrl, layerId = NULL, group = NULL, options = WMSTileOptions(), attribution = NULL, layers = NULL, popupOptions = NULL, checkempty = FALSE, data = getMapData(map) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addWMS.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Add Queryable WMS Layer — addWMS","text":"map map widget object created leaflet() baseUrl base URL WMS service layerId layer id group name group newly created layers belong (clearGroup addLayersControl purposes). Human-friendly group names permitted–need short, identifier-style names. number layers even different types layers (e.g. markers polygons) can share group name. options list extra options tile layers, popups, paths (circles, rectangles, polygons, ...), map elements attribution attribution text tile layer (HTML) layers comma-separated list WMS layers show popupOptions List popup options. See popupOptions. Default NULL. checkempty returned HTML-content checked emptiness? HTML-body empty popup opened. Default FALSE data data object argument values derived; default, data object provided leaflet() initially, can overridden","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addWMS.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Add Queryable WMS Layer — addWMS","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addWMS.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Add Queryable WMS Layer — addWMS","text":"https://github.com/heigeo/leaflet.wms","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/addWMS.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Add Queryable WMS Layer — addWMS","text":"","code":"library(leaflet) library(leaflet.extras2) leaflet() %>% addTiles(group = \"base\") %>% setView(9, 50, 5) %>% addWMS(baseUrl = \"https://maps.dwd.de/geoserver/dwd/wms\", layers = \"dwd:BRD_1km_winddaten_10m\", popupOptions = popupOptions(maxWidth = 600), checkempty = TRUE, options = WMSTileOptions( transparent = TRUE, format = \"image/png\", info_format = \"text/html\")) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,\"base\",{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addWMS\",\"args\":[\"https://maps.dwd.de/geoserver/dwd/wms\",null,null,{\"styles\":\"\",\"format\":\"image/png\",\"transparent\":true,\"version\":\"1.1.1\",\"info_format\":\"text/html\",\"layers\":\"dwd:BRD_1km_winddaten_10m\",\"checkempty\":true},{\"maxWidth\":600,\"minWidth\":50,\"autoPan\":true,\"keepInView\":false,\"closeButton\":true,\"className\":\"\"}]}],\"setView\":[[50,9],5,[]]},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/antpathOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"Antpath Options — antpathOptions","title":"Antpath Options — antpathOptions","text":"Additional list options 'ant-path' animated polylines.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/antpathOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Antpath Options — antpathOptions","text":"","code":"antpathOptions( delay = 400, paused = FALSE, reverse = FALSE, hardwareAccelerated = FALSE, dashArray = c(10, 20), pulseColor = \"#ffffff\", lineCap = NULL, lineJoin = NULL, interactive = TRUE, pointerEvents = NULL, className = \"\", ... )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/antpathOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Antpath Options — antpathOptions","text":"delay Add delay animation flux. Default 400 paused animation paused. Default FALSE reverse Defines flow follows path order . Default FALSE hardwareAccelerated Makes animation run hardware acceleration. Default FALSE dashArray size animated dashes. Default c(10, 20) pulseColor Adds color dashed flux. Default #ffffff lineCap string defines shape used end stroke lineJoin string defines shape used corners stroke interactive whether element emits mouse events pointerEvents sets pointer-events attribute path SVG backend used className CSS class name set element ... extra options passed underlying Javascript object constructor.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/antpathOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Antpath Options — antpathOptions","text":"list options addAntpath animated polylines","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/arrowheadOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"Arrowhead Options — arrowheadOptions","title":"Arrowhead Options — arrowheadOptions","text":"Additional list options polylines arrowheads. can also pass options inherited L.Path","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/arrowheadOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Arrowhead Options — arrowheadOptions","text":"","code":"arrowheadOptions( yawn = 60, size = \"15%\", frequency = \"allvertices\", proportionalToTotal = FALSE, offsets = NULL, perArrowheadOptions = NULL, ... )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/arrowheadOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Arrowhead Options — arrowheadOptions","text":"yawn Defines width opening arrowhead, given degrees. larger angle, wider arrowhead. size Determines size arrowhead. Accepts three types values: string suffix 'm', .e. '500m' set size arrowhead number meters. string suffix '%', .e. '15%' render arrows whose size percentage size parent polyline. polyline multiple segments, take percent average size segments. string suffix 'px', .e. '20px' render arrowhead whose size stays constant pixel value, regardless zoom level. look strange low zoom levels smaller parent vectors. Ideal larger parent vectors higher zoom levels. frequency many arrowheads rendered polyline. 'allvertices' renders arrowhead vertex. 'endonly' renders one end. numeric value renders number arrowheads evenly spaced along polyline. string suffix 'm', .e. '100m' render arrowheads spaced evenly along polyline roughly many meters one. string suffix 'px', .e. '30px' render arrowheads spaced evenly roughly many pixels , regardless zoom level. proportionalToTotal relevant size given percent. Useful frequency set 'endonly'. render arrowheads size proportional entire length multi-segmented polyline, rather proportional average length segments. offsets Enables developer arrowheads start end offset start /end polyline. option can list `start` `end` names. values must strings defining size offset either meters pixels, .e. list('start' = '100m', 'end' = '15px'). perArrowheadOptions Enables developer customize arrowheads one--one basis. Must form function , index arrowhead rendered loop arrowheads. Must return options object. Cannnot account frequency proportionalToTotal within perArrowheadOptions callback. See example details. ... Additional options arrowheads, inherited L.Path","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/arrowheadOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Arrowhead Options — arrowheadOptions","text":"list options addArrowhead polylines","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/arrowheadOptions.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Arrowhead Options — arrowheadOptions","text":"https://github.com/slutske22/leaflet-arrowheads#options","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearAntpath.html","id":null,"dir":"Reference","previous_headings":"","what":"clearAntpath — clearAntpath","title":"clearAntpath — clearAntpath","text":"Clear Antpaths","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearAntpath.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"clearAntpath — clearAntpath","text":"","code":"clearAntpath(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearAntpath.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"clearAntpath — clearAntpath","text":"map map widget object, possibly created leaflet() likely leafletProxy()","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearAntpath.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"clearAntpath — clearAntpath","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearArrowhead.html","id":null,"dir":"Reference","previous_headings":"","what":"Remove arrowheads from Lines by group — clearArrowhead","title":"Remove arrowheads from Lines by group — clearArrowhead","text":"Remove arrowheads Lines group","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearArrowhead.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Remove arrowheads from Lines by group — clearArrowhead","text":"","code":"clearArrowhead(map, group)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearArrowhead.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Remove arrowheads from Lines by group — clearArrowhead","text":"map map group group name","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearArrowhead.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Remove arrowheads from Lines by group — clearArrowhead","text":"modified leaflet map","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearFuture.html","id":null,"dir":"Reference","previous_headings":"","what":"clearFuture — clearFuture","title":"clearFuture — clearFuture","text":"Resets stack future items.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearFuture.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"clearFuture — clearFuture","text":"","code":"clearFuture(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearFuture.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"clearFuture — clearFuture","text":"map map widget object created leafletProxy","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearFuture.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"clearFuture — clearFuture","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearFuture.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"clearFuture — clearFuture","text":"https://github.com/cscott530/leaflet-history","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearHexbin.html","id":null,"dir":"Reference","previous_headings":"","what":"clearHexbin — clearHexbin","title":"clearHexbin — clearHexbin","text":"Clears data hexbinLayer.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearHexbin.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"clearHexbin — clearHexbin","text":"","code":"clearHexbin(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearHexbin.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"clearHexbin — clearHexbin","text":"map map widget","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearHexbin.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"clearHexbin — clearHexbin","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearHistory.html","id":null,"dir":"Reference","previous_headings":"","what":"clearHistory — clearHistory","title":"clearHistory — clearHistory","text":"Resets stack history items.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearHistory.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"clearHistory — clearHistory","text":"","code":"clearHistory(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearHistory.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"clearHistory — clearHistory","text":"map map widget object created leafletProxy","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearHistory.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"clearHistory — clearHistory","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clearHistory.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"clearHistory — clearHistory","text":"https://github.com/cscott530/leaflet-history","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/closeSidebar.html","id":null,"dir":"Reference","previous_headings":"","what":"Close the Sidebar — closeSidebar","title":"Close the Sidebar — closeSidebar","text":"Close Sidebar","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/closeSidebar.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Close the Sidebar — closeSidebar","text":"","code":"closeSidebar(map, sidebar_id = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/closeSidebar.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Close the Sidebar — closeSidebar","text":"map leaflet map widget sidebar_id id sidebar (per sidebar_tabs). Defaults NULL first sidebar used.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/closeSidebar.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Close the Sidebar — closeSidebar","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clusterchartOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"clusterchartOptions — clusterchartOptions","title":"clusterchartOptions — clusterchartOptions","text":"Adds options clusterCharts","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clusterchartOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"clusterchartOptions — clusterchartOptions","text":"","code":"clusterchartOptions( rmax = 30, size = c(20, 20), width = 40, height = 50, strokeWidth = 1, innerRadius = 10, labelBackground = FALSE, labelFill = \"white\", labelStroke = \"black\", labelColor = \"black\", labelOpacity = 0.9, digits = 2, sortTitlebyCount = TRUE )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/clusterchartOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"clusterchartOptions — clusterchartOptions","text":"rmax maximum radius clusters. size size cluster markers. width width bar-charts. height height bar-charts. strokeWidth stroke width chart. innerRadius inner radius pie-charts. labelBackground label background? Default `FALSE` labelFill label background color. Default `white` labelStroke label stroke color. Default `black` labelColor label color. Default `black` labelOpacity label color. Default `0.9` digits amount digits. Default `2` sortTitlebyCount svg-title sorted count categories.","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_mapmenuItems.html","id":null,"dir":"Reference","previous_headings":"","what":"context_mapmenuItems — context_mapmenuItems","title":"context_mapmenuItems — context_mapmenuItems","text":"context_mapmenuItems","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_mapmenuItems.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"context_mapmenuItems — context_mapmenuItems","text":"","code":"context_mapmenuItems(...)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_mapmenuItems.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"context_mapmenuItems — context_mapmenuItems","text":"... contextmenu item/s","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_mapmenuItems.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"context_mapmenuItems — context_mapmenuItems","text":"list context_menuItem map","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_markermenuItems.html","id":null,"dir":"Reference","previous_headings":"","what":"context_markermenuItems — context_markermenuItems","title":"context_markermenuItems — context_markermenuItems","text":"context_markermenuItems","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_markermenuItems.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"context_markermenuItems — context_markermenuItems","text":"","code":"context_markermenuItems(...)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_markermenuItems.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"context_markermenuItems — context_markermenuItems","text":"... contextmenu item/s","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_markermenuItems.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"context_markermenuItems — context_markermenuItems","text":"list context_menuItem markers","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_menuItem.html","id":null,"dir":"Reference","previous_headings":"","what":"context_menuItem — context_menuItem","title":"context_menuItem — context_menuItem","text":"context_menuItem","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_menuItem.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"context_menuItem — context_menuItem","text":"","code":"context_menuItem(text, callback = NULL, ...)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_menuItem.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"context_menuItem — context_menuItem","text":"text label use menu item callback callback function invoked menu item clicked. callback passed object properties identifying location menu opened : latlng, layerPoint containerPoint. callback-function must valid JavaScript wrapped JS. ... options please visit https://github.com/aratcliffe/Leaflet.contextmenu","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/context_menuItem.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"context_menuItem — context_menuItem","text":"contextmenu item list","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/disableContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"disableContextmenu — disableContextmenu","title":"disableContextmenu — disableContextmenu","text":"Disable contextmenu","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/disableContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"disableContextmenu — disableContextmenu","text":"","code":"disableContextmenu(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/disableContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"disableContextmenu — disableContextmenu","text":"map map widget object created leaflet","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/disableContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"disableContextmenu — disableContextmenu","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintMap.html","id":null,"dir":"Reference","previous_headings":"","what":"easyprintMap — easyprintMap","title":"easyprintMap — easyprintMap","text":"Print export map programmatically (e.g. Shiny environment).","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintMap.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"easyprintMap — easyprintMap","text":"","code":"easyprintMap(map, sizeModes = \"A4Portrait\", filename = \"map\")"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintMap.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"easyprintMap — easyprintMap","text":"map map widget sizeModes Must match one given sizeMode names easyprintOptions. options : CurrentSize, A4Portrait A4Landscape. want print map Custom sizeMode need pass Custom className. Default A4Portrait filename Name file exportOnly option TRUE.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintMap.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"easyprintMap — easyprintMap","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintMap.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"easyprintMap — easyprintMap","text":"","code":"## Only run examples in interactive R sessions if (interactive()) { library(shiny) library(leaflet) library(leaflet.extras2) ui <- fluidPage( leafletOutput(\"map\"), selectInput(\"scene\", \"Select Scene\", choices = c(\"CurrentSize\", \"A4Landscape\", \"A4Portrait\")), actionButton(\"print\", \"Print Map\") ) server <- function(input, output, session) { output$map <- renderLeaflet({ input$print leaflet() %>% addTiles() %>% setView(10, 50, 9) %>% addEasyprint(options = easyprintOptions( exportOnly = TRUE )) }) observeEvent(input$print, { leafletProxy(\"map\") %>% easyprintMap(sizeModes = input$scene) }) } shinyApp(ui, server) }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"easyprintOptions — easyprintOptions","title":"easyprintOptions — easyprintOptions","text":"Create list options easyprint plugin.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"easyprintOptions — easyprintOptions","text":"","code":"easyprintOptions( title = \"Print map\", position = \"topleft\", sizeModes = list(\"A4Portrait\", \"A4Landscape\", \"CurrentSize\"), defaultSizeTitles = NULL, exportOnly = FALSE, tileLayer = NULL, tileWait = 500, filename = \"map\", hidden = FALSE, hideControlContainer = TRUE, hideClasses = NULL, customWindowTitle = NULL, spinnerBgColor = \"#0DC5C1\", customSpinnerClass = \"epLoader\" )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"easyprintOptions — easyprintOptions","text":"title Sets text appears tooltip print/export button position Positions print button sizeModes Either character vector one following options: CurrentSize, A4Portrait, A4Landscape. want include Custom size mode need pass named list, width, height, name className assign background-image CSS. See example ./inst/examples/easyprint_app.R. defaultSizeTitles Button tooltips default page sizes exportOnly set TRUE map exported .png file tileLayer group name one tile layer can wait draw (helpful resizing) tileWait long wait tiles draw (helpful resizing) filename Name file exportOnly option TRUE hidden Set TRUE want display toolbar. Instead can create buttons fire print events programmatically. hideControlContainer Hides leaflet controls like zoom buttons attribution print hideClasses Use character vector list CSS-classes hide output image. customWindowTitle title print window get added printed paper spinnerBgColor valid css colour spinner background color customSpinnerClass class custom css spinner use waiting print.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"easyprintOptions — easyprintOptions","text":"list options 'easyprint' control","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/easyprintOptions.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"easyprintOptions — easyprintOptions","text":"https://github.com/rowanwins/leaflet-easyPrint","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/enableContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"enableContextmenu — enableContextmenu","title":"enableContextmenu — enableContextmenu","text":"Enable contextmenu","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/enableContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"enableContextmenu — enableContextmenu","text":"","code":"enableContextmenu(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/enableContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"enableContextmenu — enableContextmenu","text":"map map widget object created leaflet","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/enableContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"enableContextmenu — enableContextmenu","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/gibs_layers.html","id":null,"dir":"Reference","previous_headings":"","what":"The available GIBS layers with attributes — gibs_layers","title":"The available GIBS layers with attributes — gibs_layers","text":"available GIBS layers attributes","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/gibs_layers.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"The available GIBS layers with attributes — gibs_layers","text":"","code":"gibs_layers"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/gibs_layers.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"The available GIBS layers with attributes — gibs_layers","text":"object class data.frame 276 rows 4 columns.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goBackHistory.html","id":null,"dir":"Reference","previous_headings":"","what":"goBackHistory — goBackHistory","title":"goBackHistory — goBackHistory","text":"possible, go previous map extent. Pushes current extent \"future\" stack.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goBackHistory.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"goBackHistory — goBackHistory","text":"","code":"goBackHistory(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goBackHistory.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"goBackHistory — goBackHistory","text":"map map widget object created leafletProxy","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goBackHistory.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"goBackHistory — goBackHistory","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goBackHistory.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"goBackHistory — goBackHistory","text":"https://github.com/cscott530/leaflet-history","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goForwardHistory.html","id":null,"dir":"Reference","previous_headings":"","what":"goForwardHistory — goForwardHistory","title":"goForwardHistory — goForwardHistory","text":"possible, go next map extent. Pushes current extent \"back\" stack.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goForwardHistory.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"goForwardHistory — goForwardHistory","text":"","code":"goForwardHistory(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goForwardHistory.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"goForwardHistory — goForwardHistory","text":"map map widget object created leafletProxy","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goForwardHistory.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"goForwardHistory — goForwardHistory","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/goForwardHistory.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"goForwardHistory — goForwardHistory","text":"https://github.com/cscott530/leaflet-history","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/heightgraphOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"heightgraphOptions — heightgraphOptions","title":"heightgraphOptions — heightgraphOptions","text":"Customize heightgraph following additional options.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/heightgraphOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"heightgraphOptions — heightgraphOptions","text":"","code":"heightgraphOptions( position = c(\"bottomright\", \"topleft\", \"topright\", \"bottomleft\"), width = 800, height = 200, margins = list(top = 10, right = 30, bottom = 55, left = 50), expand = TRUE, expandCallback = NULL, mappings = NULL, highlightStyle = list(color = \"red\"), translation = NULL, xTicks = 3, yTicks = 3 )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/heightgraphOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"heightgraphOptions — heightgraphOptions","text":"position position control: \"topleft\", \"topright\", \"bottomleft\", \"bottomright\". Default bottomright. width width expanded heightgraph display pixels. Default 800. height height expanded heightgraph display pixels. Default 200. margins margins define distance border heightgraph actual graph inside. able specify margins top, right, bottom left pixels. Default list(top = 10, right = 30, bottom = 55, left = 50). expand Boolean value defines heightgraph expanded creation. Default 200. expandCallback Function called heightgraph expanded reduced. state heightgraph passed argument. TRUE expanded FALSE reduced. Default NULL. mappings may add mappings object customize colors labels height graph. Without adding custom mappings segments labels within graph displayed random colors. key object must correspond summary key properties within FeatureCollection. Default NULL. highlightStyle can customize highlight style using horizontal line find parts route elevation value. Use Leaflet Path options value highlightStyle parameter. Default list(color = \"red\"). translation can change labels heightgraph info field passing translations distance, elevation, segment_length, type legend. Default NULL. xTicks Specify tick frequency x axis graph. Corresponds approximately 2 power value ticks. Default 3. yTicks Specify tick frequency y axis graph. Corresponds approximately 2 power value ticks. Default 3.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/heightgraphOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"heightgraphOptions — heightgraphOptions","text":"list options addHeightgraph","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hexbinOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"hexbinOptions — hexbinOptions","title":"hexbinOptions — hexbinOptions","text":"list options customizing appearance/behavior hexbin layer.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hexbinOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"hexbinOptions — hexbinOptions","text":"","code":"hexbinOptions( duration = 200, colorScaleExtent = NULL, radiusScaleExtent = NULL, colorRange = c(\"#f7fbff\", \"#08306b\"), radiusRange = c(5, 15), pointerEvents = \"all\", resizetoCount = FALSE, tooltip = \"Count \" )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hexbinOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"hexbinOptions — hexbinOptions","text":"duration Transition duration hexbin layer colorScaleExtent extent color scale hexbin layer. used override derived extent color values specified vector form c(min= numeric, max= numeric). Can numeric vector custom JS array, like (JS(\"[40, undefined]\")) radiusScaleExtent exact configuration option colorScaleExtent, applied radius extent. colorRange Sets range color scale used fill hexbins layer. radiusRange Sets range radius scale used size hexbins layer. pointerEvents value passed directly element-level css style pointer-events. modify config option want change mouse event behavior hexbins. modify events propagated based visibility state /part hexbin hovered. resizetoCount Resizes hexbin count. Default FALSE. set TRUE resize based amount underlying elements. can also pass custom JS function. tooltip tooltips displayed? set TRUE, show amount underlying elements. string given, append string count. disable tooltips, please pass NULL FALSE. can also pass custom JS function.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hexbinOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"hexbinOptions — hexbinOptions","text":"list hexbin-specific options","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hideContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"hideContextmenu — hideContextmenu","title":"hideContextmenu — hideContextmenu","text":"Hide contextmenu","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hideContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"hideContextmenu — hideContextmenu","text":"","code":"hideContextmenu(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hideContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"hideContextmenu — hideContextmenu","text":"map map widget object created leaflet","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hideContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"hideContextmenu — hideContextmenu","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hideHexbin.html","id":null,"dir":"Reference","previous_headings":"","what":"hideHexbin — hideHexbin","title":"hideHexbin — hideHexbin","text":"Hide hexbinLayer.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hideHexbin.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"hideHexbin — hideHexbin","text":"","code":"hideHexbin(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hideHexbin.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"hideHexbin — hideHexbin","text":"map map widget","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/hideHexbin.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"hideHexbin — hideHexbin","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/historyOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"History Options — historyOptions","title":"History Options — historyOptions","text":"History Options","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/historyOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"History Options — historyOptions","text":"","code":"historyOptions( position = c(\"topright\", \"topleft\", \"bottomleft\", \"bottomright\"), maxMovesToSave = 10, backImage = \"fa fa-caret-left\", forwardImage = \"fa fa-caret-right\", backText = \"\", forwardText = \"\", backTooltip = \"Go to Previous Extent\", forwardTooltip = \"Go to Next Extent\", backImageBeforeText = TRUE, forwardImageBeforeText = FALSE, orientation = c(\"horizontal\", \"vertical\"), shouldSaveMoveInHistory = NULL )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/historyOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"History Options — historyOptions","text":"position Set position History control. Default topright. maxMovesToSave Number moves history save clearing oldest. Default value 10, use 0 negative number make unlimited. backImage class `back` button icon. Default \"fa fa-caret-left\". forwardImage class `forward` button icon. Default \"fa fa-caret-right\". backText text buttons. Default ”. forwardText text buttons. Default ”. backTooltip Tooltip content. Default \"Go Previous Extent\". forwardTooltip Tooltip content. Default \"Go Next Extent\". backImageBeforeText text image present, whether show image first text first (left right). Default TRUE forwardImageBeforeText text image present, whether show image first text first (left right). Default FALSE orientation Whether position buttons top one another side--side. Default horizontal shouldSaveMoveInHistory JS callback can provide gets called every move. return false save move.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/historyOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"History Options — historyOptions","text":"list options addHistory","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/historyOptions.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"History Options — historyOptions","text":"https://github.com/cscott530/leaflet-history","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/historyOptions.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"History Options — historyOptions","text":"","code":"library(leaflet) leaflet() %>% addTiles() %>% addHistory(options = historyOptions(position = \"bottomright\", maxMovesToSave = 20, backText = \"Go back\", forwardText = \"Go forward\", orientation = \"vertical\" )) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addHistory\",\"args\":[null,{\"position\":\"bottomright\",\"maxMovesToSave\":20,\"backImage\":\"fa fa-caret-left\",\"forwardImage\":\"fa fa-caret-right\",\"backText\":\"Go back\",\"forwardText\":\"Go forward\",\"backTooltip\":\"Go to Previous Extent\",\"forwardTooltip\":\"Go to Next Extent\",\"backImageBeforeText\":true,\"forwardImageBeforeText\":false,\"orientation\":\"vertical\"}]}]},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/insertItemContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"insertItemContextmenu — insertItemContextmenu","title":"insertItemContextmenu — insertItemContextmenu","text":"Insert new contextmenu menu item specific index","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/insertItemContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"insertItemContextmenu — insertItemContextmenu","text":"","code":"insertItemContextmenu(map, option, index)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/insertItemContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"insertItemContextmenu — insertItemContextmenu","text":"map map widget object created leaflet option new menu item add index Index contextmenu. (NOTE: Since index passed JavaScript, zero-based)","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/insertItemContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"insertItemContextmenu — insertItemContextmenu","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/isSynced.html","id":null,"dir":"Reference","previous_headings":"","what":"Is a map synchronized? — isSynced","title":"Is a map synchronized? — isSynced","text":"map snychronized specific map? Invoking method sets Shiny input returns TRUE map synchronized another map. syncwith set, TRUE returned map synchronized exactly map.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/isSynced.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Is a map synchronized? — isSynced","text":"","code":"isSynced(map, id = NULL, syncwith = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/isSynced.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Is a map synchronized? — isSynced","text":"map map id map id syncwith map synchronized one maps?","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/isSynced.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Is a map synchronized? — isSynced","text":"map","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/isSynced.html","id":"details","dir":"Reference","previous_headings":"","what":"Details","title":"Is a map synchronized? — isSynced","text":"Siny input name combined map-id \"_synced\". map id map1 input can retrieved input$map1_synced.","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/leaflet.extras2-package.html","id":null,"dir":"Reference","previous_headings":"","what":"leaflet.extras2: Extra Functionality for 'leaflet' Package — leaflet.extras2-package","title":"leaflet.extras2: Extra Functionality for 'leaflet' Package — leaflet.extras2-package","text":"Several 'leaflet' plugins integrated, available extension 'leaflet' package.","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/leaflet.extras2-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"leaflet.extras2: Extra Functionality for 'leaflet' Package — leaflet.extras2-package","text":"Maintainer: Gatscha Sebastian sebastian_gatscha@gmx.contributors: Ricardo Rodrigo Basa radbasa@gmail.com [contributor] Jeffrey O Hanson jeffrey.hanson@uqconnect.edu.au (ORCID) [contributor]","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/leafletsyncOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"leafletsync Options — leafletsyncOptions","title":"leafletsync Options — leafletsyncOptions","text":"Additional list options.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/leafletsyncOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"leafletsync Options — leafletsyncOptions","text":"","code":"leafletsyncOptions( noInitialSync = FALSE, syncCursor = TRUE, offsetFn = JS(\"function (center, zoom, refMap, tgtMap) { return center; }\") )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/leafletsyncOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"leafletsync Options — leafletsyncOptions","text":"noInitialSync Setting TRUE disables initial synchronization maps. default FALSE. syncCursor default TRUE adds circle marker synced map. offsetFn JavaScript-function compute offset center.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/leafletsyncOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"leafletsync Options — leafletsyncOptions","text":"list options addLeafletsync","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/makeMapkeyIcon.html","id":null,"dir":"Reference","previous_headings":"","what":"Make Mapkey Icon — makeMapkeyIcon","title":"Make Mapkey Icon — makeMapkeyIcon","text":"Make Mapkey Icon","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/makeMapkeyIcon.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Make Mapkey Icon — makeMapkeyIcon","text":"","code":"makeMapkeyIcon( icon = \"mapkey\", color = \"#ff0000\", iconSize = 12, background = \"#1F7499\", borderRadius = \"100%\", hoverScale = 1.4, hoverEffect = TRUE, additionalCSS = NULL, hoverCSS = NULL, htmlCode = NULL, boxShadow = TRUE )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/makeMapkeyIcon.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Make Mapkey Icon — makeMapkeyIcon","text":"icon ID mapkey Icon want use. color CSS color (e.g. 'red','rgba(20,160,90,0.5)', '#686868', ...) iconSize Size Icon Pixels. Default 12 background CSS color false background borderRadius number (circle size/2, square 0.001) hoverScale real number (best result range 1 - 2, use 1 effect) hoverEffect Switch /effect hover additionalCSS CSS code (e.g. \"border:4px solid #aa3838;\") hoverCSS CSS code (e.g. \"background-color:#992b00 !important; color:#99defc !important;\") htmlCode e.g. ''. boxShadow shadow visible","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/makeMapkeyIcon.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Make Mapkey Icon — makeMapkeyIcon","text":"list mapkey-icon data can passed argument icon","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/makeMapkeyIcon.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Make Mapkey Icon — makeMapkeyIcon","text":"https://github.com/mapshakers/leaflet-mapkey-icon","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/makeMapkeyIcon.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Make Mapkey Icon — makeMapkeyIcon","text":"","code":"makeMapkeyIcon(icon = \"traffic_signal\", color = \"#0000ff\", iconSize = 12, boxShadow = FALSE, background=\"transparent\") #> $icon #> [1] \"traffic_signal\" #> #> $color #> [1] \"#0000ff\" #> #> $size #> [1] 12 #> #> $background #> [1] \"transparent\" #> #> $borderRadius #> [1] \"100%\" #> #> $hoverScale #> [1] 1.4 #> #> $hoverEffect #> [1] TRUE #> #> $boxShadow #> [1] FALSE #> #> attr(,\"class\") #> [1] \"leaflet_mapkey_icon\""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIconList.html","id":null,"dir":"Reference","previous_headings":"","what":"Make Mapkey-icon set — mapkeyIconList","title":"Make Mapkey-icon set — mapkeyIconList","text":"Make Mapkey-icon set","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIconList.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Make Mapkey-icon set — mapkeyIconList","text":"","code":"mapkeyIconList(...)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIconList.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Make Mapkey-icon set — mapkeyIconList","text":"... icons created makeMapkeyIcon()","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIconList.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Make Mapkey-icon set — mapkeyIconList","text":"list class \"leaflet_mapkey_icon_set\"","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIconList.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Make Mapkey-icon set — mapkeyIconList","text":"https://github.com/mapshakers/leaflet-mapkey-icon","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIconList.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Make Mapkey-icon set — mapkeyIconList","text":"","code":"iconSet = mapkeyIconList( red = makeMapkeyIcon(color = \"#ff0000\"), blue = makeMapkeyIcon(color = \"#0000ff\") ) iconSet[c(\"red\", \"blue\")] #> $red #> $icon #> [1] \"mapkey\" #> #> $color #> [1] \"#ff0000\" #> #> $size #> [1] 12 #> #> $background #> [1] \"#1F7499\" #> #> $borderRadius #> [1] \"100%\" #> #> $hoverScale #> [1] 1.4 #> #> $hoverEffect #> [1] TRUE #> #> $boxShadow #> [1] TRUE #> #> attr(,\"class\") #> [1] \"leaflet_mapkey_icon\" #> #> $blue #> $icon #> [1] \"mapkey\" #> #> $color #> [1] \"#0000ff\" #> #> $size #> [1] 12 #> #> $background #> [1] \"#1F7499\" #> #> $borderRadius #> [1] \"100%\" #> #> $hoverScale #> [1] 1.4 #> #> $hoverEffect #> [1] TRUE #> #> $boxShadow #> [1] TRUE #> #> attr(,\"class\") #> [1] \"leaflet_mapkey_icon\" #> #> attr(,\"class\") #> [1] \"leaflet_mapkey_icon_set\""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIcons.html","id":null,"dir":"Reference","previous_headings":"","what":"Create a list of Mapkey icon data — mapkeyIcons","title":"Create a list of Mapkey icon data — mapkeyIcons","text":"icon can represented list form list(color, iconSize, ...). function vectorized arguments create list icon data. Shorter argument values re-cycled. NULL values arguments ignored.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIcons.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Create a list of Mapkey icon data — mapkeyIcons","text":"","code":"mapkeyIcons( icon = \"mapkey\", color = \"#ff0000\", iconSize = 12, background = \"#1F7499\", borderRadius = \"100%\", hoverScale = 1.4, hoverEffect = TRUE, hoverCSS = NULL, additionalCSS = NULL, htmlCode = NULL, boxShadow = TRUE )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIcons.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Create a list of Mapkey icon data — mapkeyIcons","text":"icon ID mapkey Icon want use. color CSS color (e.g. 'red','rgba(20,160,90,0.5)', '#686868', ...) iconSize Size Icon Pixels. Default 12 background CSS color false background borderRadius number (circle size/2, square 0.001) hoverScale real number (best result range 1 - 2, use 1 effect) hoverEffect Switch /effect hover hoverCSS CSS code (e.g. \"background-color:#992b00 !important; color:#99defc !important;\") additionalCSS CSS code (e.g. \"border:4px solid #aa3838;\") htmlCode e.g. ''. boxShadow shadow visible","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIcons.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Create a list of Mapkey icon data — mapkeyIcons","text":"list mapkey-icon data can passed argument icon","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIcons.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Create a list of Mapkey icon data — mapkeyIcons","text":"https://github.com/mapshakers/leaflet-mapkey-icon","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapkeyIcons.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Create a list of Mapkey icon data — mapkeyIcons","text":"","code":"if (FALSE) { # \\dontrun{ library(leaflet) leaflet() %>% addMapkeyMarkers(data = breweries91, icon = mapkeyIcons( color = \"red\", borderRadius = 0, iconSize = 25)) } # }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapmenuItems.html","id":null,"dir":"Reference","previous_headings":"","what":"mapmenuItems — mapmenuItems","title":"mapmenuItems — mapmenuItems","text":"mapmenuItems","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapmenuItems.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"mapmenuItems — mapmenuItems","text":"","code":"mapmenuItems(...)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapmenuItems.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"mapmenuItems — mapmenuItems","text":"... contextmenu item/s","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/mapmenuItems.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"mapmenuItems — mapmenuItems","text":"list menuItem map","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/markermenuItems.html","id":null,"dir":"Reference","previous_headings":"","what":"markermenuItems — markermenuItems","title":"markermenuItems — markermenuItems","text":"markermenuItems","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/markermenuItems.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"markermenuItems — markermenuItems","text":"","code":"markermenuItems(...)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/markermenuItems.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"markermenuItems — markermenuItems","text":"... contextmenu item/s","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/markermenuItems.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"markermenuItems — markermenuItems","text":"list menuItem markers","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/menuItem.html","id":null,"dir":"Reference","previous_headings":"","what":"menuItem — menuItem","title":"menuItem — menuItem","text":"menuItem","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/menuItem.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"menuItem — menuItem","text":"","code":"menuItem(text, callback = NULL, ...)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/menuItem.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"menuItem — menuItem","text":"text label use menu item callback callback function invoked menu item clicked. callback passed object properties identifying location menu opened : latlng, layerPoint containerPoint. callback-function must valid JavaScript wrapped JS. ... options please visit https://github.com/aratcliffe/Leaflet.contextmenu","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/menuItem.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"menuItem — menuItem","text":"contextmenu item list","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/movingMarkerOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"Set options for Moving Markers — movingMarkerOptions","title":"Set options for Moving Markers — movingMarkerOptions","text":"Set options Moving Markers","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/movingMarkerOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Set options for Moving Markers — movingMarkerOptions","text":"","code":"movingMarkerOptions(autostart = FALSE, loop = FALSE, pauseOnZoom = FALSE)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/movingMarkerOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Set options for Moving Markers — movingMarkerOptions","text":"autostart TRUE marker start automatically added map. Default FALSE loop TRUE marker start automatically beginning polyline arrives end. Default FALSE pauseOnZoom Pause marker zooming. improves animation, recommended animation time lost marker appear correct time next station. Default FALSE","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/movingMarkerOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Set options for Moving Markers — movingMarkerOptions","text":"list extra options moving markers","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/movingMarkerOptions.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Set options for Moving Markers — movingMarkerOptions","text":"https://github.com/ewoken/Leaflet.MovingMarker","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openSidebar.html","id":null,"dir":"Reference","previous_headings":"","what":"Open the Sidebar by ID — openSidebar","title":"Open the Sidebar by ID — openSidebar","text":"Open Sidebar ID","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openSidebar.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Open the Sidebar by ID — openSidebar","text":"","code":"openSidebar(map, id, sidebar_id = NULL, ns = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openSidebar.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Open the Sidebar by ID — openSidebar","text":"map leaflet map widget id id sidebar_pane open. sidebar_id id sidebar (per sidebar_tabs). Defaults NULL first sidebar used. ns namespace function, used Shiny modules.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openSidebar.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Open the Sidebar by ID — openSidebar","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openweatherCurrentOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"openweatherCurrentOptions — openweatherCurrentOptions","title":"openweatherCurrentOptions — openweatherCurrentOptions","text":"openweatherCurrentOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openweatherCurrentOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"openweatherCurrentOptions — openweatherCurrentOptions","text":"","code":"openweatherCurrentOptions(lang = \"en\", minZoom = 7, interval = 10, ...)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openweatherCurrentOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"openweatherCurrentOptions — openweatherCurrentOptions","text":"lang 'en', 'de', 'ru', 'fr', 'es', 'ca'. Language popup texts. Note: every translation finished yet. minZoom Number (7). Minimal zoom level fetching city data. Use smaller values risk. interval Number (0). Time minutes reload city data. Please use less 10 minutes. ... options passed L.OWM.current. See full list options","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openweatherCurrentOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"openweatherCurrentOptions — openweatherCurrentOptions","text":"list options addOpenweatherCurrent","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openweatherOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"OpenWeatherMap Options — openweatherOptions","title":"OpenWeatherMap Options — openweatherOptions","text":"OpenWeatherMap Options","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openweatherOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"OpenWeatherMap Options — openweatherOptions","text":"","code":"openweatherOptions( showLegend = TRUE, legendImagePath = NULL, legendPosition = c(\"bottomleft\", \"bottomright\", \"topleft\", \"topright\") )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openweatherOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"OpenWeatherMap Options — openweatherOptions","text":"showLegend TRUE option legendImagePath set legend image map legendImagePath URL (set default image layers, null others, see ). URL relative path image legend layer legendPosition Position legend images map. Must one 'bottomleft', 'bottomright', 'topleft', 'topright'","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/openweatherOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"OpenWeatherMap Options — openweatherOptions","text":"list options addOpenweatherTiles","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/playbackOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"playbackOptions — playbackOptions","title":"playbackOptions — playbackOptions","text":"list options addPlayback. full list please visit plugin repository.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/playbackOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"playbackOptions — playbackOptions","text":"","code":"playbackOptions( color = \"blue\", radius = 5, tickLen = 250, speed = 50, maxInterpolationTime = 5 * 60 * 1000, tracksLayer = TRUE, playControl = TRUE, dateControl = TRUE, sliderControl = TRUE, orientIcons = FALSE, staleTime = 60 * 60 * 1000, transitionpopup = TRUE, transitionlabel = TRUE, ... )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/playbackOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"playbackOptions — playbackOptions","text":"color colors CircleMarkers. radius numeric value radius CircleMarkers. tickLen Set tick length milliseconds. Increasing value, may improve performance, cost animation smoothness. Default 250 speed Set float multiplier default animation speed. Default 50 maxInterpolationTime Set max interpolation time milliseconds. Default 5*60*1000 (5 minutes). tracksLayer Set TRUE want show layer control map. Default TRUE playControl Set TRUE play button needed. Default TRUE dateControl Set TRUE date label needed. Default TRUE sliderControl Set TRUE slider control needed. Default TRUE orientIcons Set TRUE want icons orient tick based bearing towards next location. Default: FALSE staleTime Set time track considered stale faded . Default 60*60*1000 (1 hour) transitionpopup position popup move smoothly, like marker icon? Default: TRUE transitionlabel position label move smoothly, like marker icon? Default: TRUE ... arguments passed `L.Playback`","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/playbackOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"playbackOptions — playbackOptions","text":"list options addPlayback","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/playbackOptions.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"playbackOptions — playbackOptions","text":"https://github.com/hallahan/LeafletPlayback","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/reachabilityOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"reachabilityOptions — reachabilityOptions","title":"reachabilityOptions — reachabilityOptions","text":"Add extra options. full list please visit plugin repository.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/reachabilityOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"reachabilityOptions — reachabilityOptions","text":"","code":"reachabilityOptions( collapsed = TRUE, pane = \"overlayPane\", position = \"topleft\", ... )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/reachabilityOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"reachabilityOptions — reachabilityOptions","text":"collapsed control widget start collapsed mode. Default TRUE pane Leaflet pane add isolines GeoJSON . Default overlayPane position Leaflet control pane position. Default topleft ... arguments passed `L.Control.Reachability`","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/reachabilityOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"reachabilityOptions — reachabilityOptions","text":"list options addReachability","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/reachabilityOptions.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"reachabilityOptions — reachabilityOptions","text":"https://github.com/traffordDataLab/leaflet.reachability","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeAntpath.html","id":null,"dir":"Reference","previous_headings":"","what":"removeAntpath — removeAntpath","title":"removeAntpath — removeAntpath","text":"Remove one Antpaths map, identified layerId.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeAntpath.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"removeAntpath — removeAntpath","text":"","code":"removeAntpath(map, layerId = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeAntpath.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"removeAntpath — removeAntpath","text":"map map widget object, possibly created leaflet() likely leafletProxy() layerId character vector; layer id(s) item remove","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeAntpath.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"removeAntpath — removeAntpath","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeArrowhead.html","id":null,"dir":"Reference","previous_headings":"","what":"Remove arrowheads from Lines by layerId — removeArrowhead","title":"Remove arrowheads from Lines by layerId — removeArrowhead","text":"Remove arrowheads Lines layerId","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeArrowhead.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Remove arrowheads from Lines by layerId — removeArrowhead","text":"","code":"removeArrowhead(map, layerId)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeArrowhead.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Remove arrowheads from Lines by layerId — removeArrowhead","text":"map map layerId single layerId vector layerId's","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeArrowhead.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Remove arrowheads from Lines by layerId — removeArrowhead","text":"modified leaflet map","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeEasyprint.html","id":null,"dir":"Reference","previous_headings":"","what":"removeEasyprint — removeEasyprint","title":"removeEasyprint — removeEasyprint","text":"Removes easyprint control map.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeEasyprint.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"removeEasyprint — removeEasyprint","text":"","code":"removeEasyprint(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeEasyprint.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"removeEasyprint — removeEasyprint","text":"map map widget","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeEasyprint.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"removeEasyprint — removeEasyprint","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeItemContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"removeItemContextmenu — removeItemContextmenu","title":"removeItemContextmenu — removeItemContextmenu","text":"Remove contextmenu item index.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeItemContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"removeItemContextmenu — removeItemContextmenu","text":"","code":"removeItemContextmenu(map, index)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeItemContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"removeItemContextmenu — removeItemContextmenu","text":"map map widget object created leaflet index Index contextmenu. (NOTE: Since index passed JavaScript, zero-based)","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeItemContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"removeItemContextmenu — removeItemContextmenu","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removePlayback.html","id":null,"dir":"Reference","previous_headings":"","what":"removePlayback — removePlayback","title":"removePlayback — removePlayback","text":"Remove Playback controls markers.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removePlayback.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"removePlayback — removePlayback","text":"","code":"removePlayback(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removePlayback.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"removePlayback — removePlayback","text":"map map widget","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removePlayback.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"removePlayback — removePlayback","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeReachability.html","id":null,"dir":"Reference","previous_headings":"","what":"removeReachability — removeReachability","title":"removeReachability — removeReachability","text":"Remove reachability controls.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeReachability.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"removeReachability — removeReachability","text":"","code":"removeReachability(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeReachability.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"removeReachability — removeReachability","text":"map map widget.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeReachability.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"removeReachability — removeReachability","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeSidebar.html","id":null,"dir":"Reference","previous_headings":"","what":"Remove the Sidebar — removeSidebar","title":"Remove the Sidebar — removeSidebar","text":"Remove Sidebar","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeSidebar.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Remove the Sidebar — removeSidebar","text":"","code":"removeSidebar(map, sidebar_id = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeSidebar.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Remove the Sidebar — removeSidebar","text":"map leaflet map widget sidebar_id id sidebar (per sidebar_tabs). Defaults NULL first sidebar removed.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeSidebar.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Remove the Sidebar — removeSidebar","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeSidebyside.html","id":null,"dir":"Reference","previous_headings":"","what":"removeSidebyside — removeSidebyside","title":"removeSidebyside — removeSidebyside","text":"removeSidebyside","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeSidebyside.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"removeSidebyside — removeSidebyside","text":"","code":"removeSidebyside(map, layerId = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeSidebyside.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"removeSidebyside — removeSidebyside","text":"map map widget layerId layer id addSidebyside layer","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeSidebyside.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"removeSidebyside — removeSidebyside","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeTimeslider.html","id":null,"dir":"Reference","previous_headings":"","what":"removeTimeslider — removeTimeslider","title":"removeTimeslider — removeTimeslider","text":"Remove Timeslider controls markers.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeTimeslider.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"removeTimeslider — removeTimeslider","text":"","code":"removeTimeslider(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeTimeslider.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"removeTimeslider — removeTimeslider","text":"map map widget","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeTimeslider.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"removeTimeslider — removeTimeslider","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeVelocity.html","id":null,"dir":"Reference","previous_headings":"","what":"removeVelocity — removeVelocity","title":"removeVelocity — removeVelocity","text":"removeVelocity","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeVelocity.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"removeVelocity — removeVelocity","text":"","code":"removeVelocity(map, group)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeVelocity.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"removeVelocity — removeVelocity","text":"map map widget group group remove","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeVelocity.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"removeVelocity — removeVelocity","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeallItemsContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"removeallItemsContextmenu — removeallItemsContextmenu","title":"removeallItemsContextmenu — removeallItemsContextmenu","text":"Remove contextmenu items map.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeallItemsContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"removeallItemsContextmenu — removeallItemsContextmenu","text":"","code":"removeallItemsContextmenu(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeallItemsContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"removeallItemsContextmenu — removeallItemsContextmenu","text":"map map widget object created leaflet","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/removeallItemsContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"removeallItemsContextmenu — removeallItemsContextmenu","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setBuildingData.html","id":null,"dir":"Reference","previous_headings":"","what":"Update the OSM-Buildings Data — setBuildingData","title":"Update the OSM-Buildings Data — setBuildingData","text":"Update OSM-Buildings Data","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setBuildingData.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Update the OSM-Buildings Data — setBuildingData","text":"","code":"setBuildingData(map, data)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setBuildingData.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Update the OSM-Buildings Data — setBuildingData","text":"map map widget object created leaflet. data GeoJSON object containing Polygon features representing buildings. properties polygons can include attributes like height, color, roofColor, others specified OSM Buildings documentation.","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setBuildingStyle.html","id":null,"dir":"Reference","previous_headings":"","what":"Update the OSM-Buildings Style — setBuildingStyle","title":"Update the OSM-Buildings Style — setBuildingStyle","text":"Update OSM-Buildings Style","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setBuildingStyle.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Update the OSM-Buildings Style — setBuildingStyle","text":"","code":"setBuildingStyle( map, style = list(color = \"#ffcc00\", wallColor = \"#ffcc00\", roofColor = \"orange\", shadows = TRUE) )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setBuildingStyle.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Update the OSM-Buildings Style — setBuildingStyle","text":"map map widget object created leaflet. style named list styles","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setBuildingStyle.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Update the OSM-Buildings Style — setBuildingStyle","text":"","code":"library(leaflet) library(leaflet.extras2) style <- list(color = \"#0000ff\", wallColor = \"gray\", roofColor = \"orange\", shadows = TRUE) leaflet() %>% addTiles() %>% addBuildings() %>% setBuildingStyle(style) %>% setView(13.40, 52.51836,15) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addBuilding\",\"args\":[\"https://{s}.data.osmbuildings.org/0.2/59fcc2e8/tile/{z}/{x}/{y}.json\",null,null,null,null]},{\"method\":\"setBuildingStyle\",\"args\":[{\"color\":\"#0000ff\",\"wallColor\":\"gray\",\"roofColor\":\"orange\",\"shadows\":true}]}],\"setView\":[[52.51836,13.4],15,[]]},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setDate.html","id":null,"dir":"Reference","previous_headings":"","what":"Set Date for GIBS Layers — setDate","title":"Set Date for GIBS Layers — setDate","text":"Set new date multi-temporal layers.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setDate.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Set Date for GIBS Layers — setDate","text":"","code":"setDate(map, layers = NULL, dates = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setDate.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Set Date for GIBS Layers — setDate","text":"map map widget object created leaflet() layers character vector GIBS-layers. See gibs_layers dates Date object. multiple layers added, can add Date vector length","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setDate.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Set Date for GIBS Layers — setDate","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setDisabledContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"setDisabledContextmenu — setDisabledContextmenu","title":"setDisabledContextmenu — setDisabledContextmenu","text":"Enable/Disable contextmenu item index.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setDisabledContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"setDisabledContextmenu — setDisabledContextmenu","text":"","code":"setDisabledContextmenu(map, index, disabled = TRUE)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setDisabledContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"setDisabledContextmenu — setDisabledContextmenu","text":"map map widget object created leaflet index Index contextmenu. (NOTE: Since index passed JavaScript, zero-based) disabled Set TRUE disable element FALSE enable . Default TRUE","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setDisabledContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"setDisabledContextmenu — setDisabledContextmenu","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setOptionsVelocity.html","id":null,"dir":"Reference","previous_headings":"","what":"setOptionsVelocity — setOptionsVelocity","title":"setOptionsVelocity — setOptionsVelocity","text":"setOptionsVelocity","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setOptionsVelocity.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"setOptionsVelocity — setOptionsVelocity","text":"","code":"setOptionsVelocity(map, layerId, options)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setOptionsVelocity.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"setOptionsVelocity — setOptionsVelocity","text":"map map widget layerId layer id options see velocityOptions","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setOptionsVelocity.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"setOptionsVelocity — setOptionsVelocity","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setTransparent.html","id":null,"dir":"Reference","previous_headings":"","what":"Set Transparency for GIBS Layers — setTransparent","title":"Set Transparency for GIBS Layers — setTransparent","text":"Change transparency -data pixels.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setTransparent.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Set Transparency for GIBS Layers — setTransparent","text":"","code":"setTransparent(map, layers = NULL, transparent = TRUE)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setTransparent.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Set Transparency for GIBS Layers — setTransparent","text":"map map widget object created leaflet() layers character vector GIBS-layers. See gibs_layers transparent layer transparent. multiple layers added, can add boolean vector length","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/setTransparent.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Set Transparency for GIBS Layers — setTransparent","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/showContextmenu.html","id":null,"dir":"Reference","previous_headings":"","what":"showContextmenu — showContextmenu","title":"showContextmenu — showContextmenu","text":"Open contextmenu certain lat/lng-coordinates","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/showContextmenu.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"showContextmenu — showContextmenu","text":"","code":"showContextmenu(map, lat = NULL, lng = NULL, data = leaflet::getMapData(map))"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/showContextmenu.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"showContextmenu — showContextmenu","text":"map map widget object created leaflet() lat vector latitudes formula (similar lng argument; names lat latitude used guessing latitude column data) lng numeric vector longitudes, one-sided formula form ~x x variable data; default (explicitly provided), automatically inferred data looking column named lng, long, longitude (case-insensitively) data data object argument values derived; default, data object provided leaflet() initially, can overridden","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/showContextmenu.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"showContextmenu — showContextmenu","text":"leaflet map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/showHexbin.html","id":null,"dir":"Reference","previous_headings":"","what":"showHexbin — showHexbin","title":"showHexbin — showHexbin","text":"Show hexbinLayer.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/showHexbin.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"showHexbin — showHexbin","text":"","code":"showHexbin(map)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/showHexbin.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"showHexbin — showHexbin","text":"map map widget","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/showHexbin.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"showHexbin — showHexbin","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_pane.html","id":null,"dir":"Reference","previous_headings":"","what":"Create a Sidebar Pane — sidebar_pane","title":"Create a Sidebar Pane — sidebar_pane","text":"Create Sidebar Pane","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_pane.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Create a Sidebar Pane — sidebar_pane","text":"","code":"sidebar_pane( title = \"Sidebar Title\", id = NULL, icon = icon(\"caret-right\"), ... )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_pane.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Create a Sidebar Pane — sidebar_pane","text":"title title sidebar panel id id sidebar panel icon icon sidebar panel ... List elements include panel","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_pane.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Create a Sidebar Pane — sidebar_pane","text":"shiny.tag sidebar-specific HTML classes","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_pane.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Create a Sidebar Pane — sidebar_pane","text":"https://github.com/Turbo87/sidebar-v2, https://github.com/Turbo87/sidebar-v2/blob/master/doc/usage.md","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_pane.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Create a Sidebar Pane — sidebar_pane","text":"","code":"if (FALSE) { # \\dontrun{ library(shiny) sidebar_pane(id = \"id\", icon = icon(\"cars\"), tags$div()) } # }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_tabs.html","id":null,"dir":"Reference","previous_headings":"","what":"Create a Sidebar — sidebar_tabs","title":"Create a Sidebar — sidebar_tabs","text":"Create Sidebar","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_tabs.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Create a Sidebar — sidebar_tabs","text":"","code":"sidebar_tabs(id = \"sidebar\", iconList = NULL, ...)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_tabs.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Create a Sidebar — sidebar_tabs","text":"id id sidebar, must match id addSidebar. Default \"sidebar\" iconList list icons shown, sidebar collapsed. list required must match amount sidebar_pane. ... individual sidebar_pane's.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_tabs.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Create a Sidebar — sidebar_tabs","text":"shiny.tag individual sidebar panes","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_tabs.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Create a Sidebar — sidebar_tabs","text":"https://github.com/Turbo87/sidebar-v2, https://github.com/Turbo87/sidebar-v2/blob/master/doc/usage.md","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sidebar_tabs.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Create a Sidebar — sidebar_tabs","text":"","code":"if (FALSE) { # \\dontrun{ library(shiny) # run example app showing a single sidebar runApp(paste0(system.file(\"examples\", package = \"leaflet.extras2\"), \"/sidebar_app.R\")) # run example app showing two sidebars runApp(paste0(system.file(\"examples\", package = \"leaflet.extras2\"), \"/multi_sidebar_app.R\")) } # }"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/startMoving.html","id":null,"dir":"Reference","previous_headings":"","what":"Interact with the moving markers — startMoving","title":"Interact with the moving markers — startMoving","text":"marker begins path resumes paused.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/startMoving.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Interact with the moving markers — startMoving","text":"","code":"startMoving(map, layerId = NULL) stopMoving(map, layerId = NULL) pauseMoving(map, layerId = NULL) resumeMoving(map, layerId = NULL) addLatLngMoving(map, layerId = NULL, latlng, duration) moveToMoving(map, layerId = NULL, latlng, duration) addStationMoving(map, layerId = NULL, pointIndex, duration)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/startMoving.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Interact with the moving markers — startMoving","text":"map leafletProxy object layerId can pass string vector strings moving markers want address. none specified, action applied moving markers. latlng Coordinates list (e.g.: list(33, -67) list(lng=-65, lat=33)) duration Duration milliseconds pointIndex Index certain point","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/startMoving.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Interact with the moving markers — startMoving","text":"new map object","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/startMoving.html","id":"functions","dir":"Reference","previous_headings":"","what":"Functions","title":"Interact with the moving markers — startMoving","text":"stopMoving(): Manually stops marker, call start , marker starts polyline beginning. pauseMoving(): Pauses marker resumeMoving(): marker resumes animation addLatLngMoving(): Adds point polyline. Useful, set path one one. moveToMoving(): Stop current animation make marker move latlng duration ms. addStationMoving(): marker stop pointIndex point polyline duration milliseconds. add station first last point polyline.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/startMoving.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Interact with the moving markers — startMoving","text":"https://github.com/ewoken/Leaflet.MovingMarker","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sub-.leaflet_mapkey_icon_set.html","id":null,"dir":"Reference","previous_headings":"","what":"leaflet_mapkey_icon_set — [.leaflet_mapkey_icon_set","title":"leaflet_mapkey_icon_set — [.leaflet_mapkey_icon_set","text":"leaflet_mapkey_icon_set","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sub-.leaflet_mapkey_icon_set.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"leaflet_mapkey_icon_set — [.leaflet_mapkey_icon_set","text":"","code":"# S3 method for class 'leaflet_mapkey_icon_set' x[i]"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/sub-.leaflet_mapkey_icon_set.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"leaflet_mapkey_icon_set — [.leaflet_mapkey_icon_set","text":"x icons offset","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/timesliderOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"timesliderOptions — timesliderOptions","title":"timesliderOptions — timesliderOptions","text":"list options addTimeslider.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/timesliderOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"timesliderOptions — timesliderOptions","text":"","code":"timesliderOptions( position = c(\"topright\", \"bottomleft\", \"bottomright\", \"topleft\"), timeAttribute = \"time\", isEpoch = FALSE, startTimeIdx = 0, timeStrLength = 19, maxValue = -1, minValue = 0, showAllOnStart = FALSE, range = FALSE, follow = FALSE, alwaysShowDate = FALSE, rezoom = NULL, sameDate = FALSE )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/timesliderOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"timesliderOptions — timesliderOptions","text":"position position control: \"topleft\", \"topright\", \"bottomleft\", \"bottomright\". Default topright. timeAttribute column name time property. Default \"time\" isEpoch whether time attribute seconds elapsed epoch. Default FALSE startTimeIdx start looking timestring Default 0 timeStrLength size yyyy-mm-dd hh:mm:ss - milliseconds present larger. Default 19 maxValue Set maximum value slider. Default -1 minValue Set minimum value slider. Default 0 showAllOnStart Specify whether markers initially visible. Default FALSE range use range-slider, set TRUE. Default FALSE Default FALSE follow display markers specific timestamp specified slider. Specify value 1 (true) display single data point time, value null (false) display current marker previous markers. range property overrides follow property. Default FALSE alwaysShowDate Date always visible. Default FALSE rezoom Use rezoom property ensure markers displayed remain view. Default NULL sameDate Show data current selected time. Default FALSE","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/timesliderOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"timesliderOptions — timesliderOptions","text":"list options addTimeslider","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/timesliderOptions.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"timesliderOptions — timesliderOptions","text":"https://github.com/dwilhelm89/LeafletSlider","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/to_jsonformat.html","id":null,"dir":"Reference","previous_headings":"","what":"to_jsonformat Transform object to JSON expected format — to_jsonformat","title":"to_jsonformat Transform object to JSON expected format — to_jsonformat","text":"to_jsonformat Transform object JSON expected format","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/to_jsonformat.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"to_jsonformat Transform object to JSON expected format — to_jsonformat","text":"","code":"to_jsonformat(data, time, popup = NULL, label = NULL, name = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/to_jsonformat.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"to_jsonformat Transform object to JSON expected format — to_jsonformat","text":"data data time Name time column. popup Name popup column. label Name label column. name Name name column.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/to_jsonformat.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"to_jsonformat Transform object to JSON expected format — to_jsonformat","text":"list transformed expected JSON format","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/to_ms.html","id":null,"dir":"Reference","previous_headings":"","what":"to_ms Change POSIX or Date to milliseconds — to_ms","title":"to_ms Change POSIX or Date to milliseconds — to_ms","text":"to_ms Change POSIX Date milliseconds","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/to_ms.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"to_ms Change POSIX or Date to milliseconds — to_ms","text":"","code":"to_ms(data, time)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/to_ms.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"to_ms Change POSIX or Date to milliseconds — to_ms","text":"data data time Name time column.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/to_ms.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"to_ms Change POSIX or Date to milliseconds — to_ms","text":"data.frame time column milliseconds","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/unsync.html","id":null,"dir":"Reference","previous_headings":"","what":"Removes synchronization. — unsync","title":"Removes synchronization. — unsync","text":"Removes synchronization multiple maps specific map.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/unsync.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Removes synchronization. — unsync","text":"","code":"unsync(map, id = NULL, unsyncids = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/unsync.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Removes synchronization. — unsync","text":"map map id map id unsynchronize maps unsyncids unsyncids Unsynchronize maps following IDs","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/unsync.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Removes synchronization. — unsync","text":"map","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/updateBuildingTime.html","id":null,"dir":"Reference","previous_headings":"","what":"Update the Shadows OSM-Buildings with a POSIXct timestamp — updateBuildingTime","title":"Update the Shadows OSM-Buildings with a POSIXct timestamp — updateBuildingTime","text":"Update Shadows OSM-Buildings POSIXct timestamp","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/updateBuildingTime.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Update the Shadows OSM-Buildings with a POSIXct timestamp — updateBuildingTime","text":"","code":"updateBuildingTime(map, time)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/updateBuildingTime.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Update the Shadows OSM-Buildings with a POSIXct timestamp — updateBuildingTime","text":"map map widget object created leaflet. time timestamp can converted POSIXct","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/updateBuildingTime.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Update the Shadows OSM-Buildings with a POSIXct timestamp — updateBuildingTime","text":"","code":"library(leaflet) library(leaflet.extras2) leaflet() %>% addTiles() %>% addBuildings() %>% updateBuildingTime(as.POSIXct(\"2024-09-01 19:00:00 CET\")) %>% setView(13.40, 52.51836,15) {\"x\":{\"options\":{\"crs\":{\"crsClass\":\"L.CRS.EPSG3857\",\"code\":null,\"proj4def\":null,\"projectedBounds\":null,\"options\":{}}},\"calls\":[{\"method\":\"addTiles\",\"args\":[\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\",null,null,{\"minZoom\":0,\"maxZoom\":18,\"tileSize\":256,\"subdomains\":\"abc\",\"errorTileUrl\":\"\",\"tms\":false,\"noWrap\":false,\"zoomOffset\":0,\"zoomReverse\":false,\"opacity\":1,\"zIndex\":1,\"detectRetina\":false,\"attribution\":\"© OpenStreetMap<\\/a>, ODbL<\\/a>\"}]},{\"method\":\"addBuilding\",\"args\":[\"https://{s}.data.osmbuildings.org/0.2/59fcc2e8/tile/{z}/{x}/{y}.json\",null,null,null,null]},{\"method\":\"updateBuildingTime\",\"args\":[\"2024-09-01T19:00:00Z\"]}],\"setView\":[[52.51836,13.4],15,[]]},\"evals\":[],\"jsHooks\":[]}"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/updateHexbin.html","id":null,"dir":"Reference","previous_headings":"","what":"updateHexbin — updateHexbin","title":"updateHexbin — updateHexbin","text":"Dynamically change data /colorRange.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/updateHexbin.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"updateHexbin — updateHexbin","text":"","code":"updateHexbin(map, data = NULL, lng = NULL, lat = NULL, colorRange = NULL)"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/updateHexbin.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"updateHexbin — updateHexbin","text":"map map widget object created leaflet() data data object argument values derived; default, data object provided leaflet() initially, can overridden lng numeric vector longitudes, one-sided formula form ~x x variable data; default (explicitly provided), automatically inferred data looking column named lng, long, longitude (case-insensitively) lat vector latitudes formula (similar lng argument; names lat latitude used guessing latitude column data) colorRange range color scale used fill hexbins","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/updateHexbin.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"updateHexbin — updateHexbin","text":"new map object","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/velocityOptions.html","id":null,"dir":"Reference","previous_headings":"","what":"velocityOptions — velocityOptions","title":"velocityOptions — velocityOptions","text":"Define options velocity layer.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/velocityOptions.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"velocityOptions — velocityOptions","text":"","code":"velocityOptions( speedUnit = c(\"m/s\", \"k/h\", \"kt\"), minVelocity = 0, maxVelocity = 10, velocityScale = 0.005, colorScale = NULL, ... )"},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/velocityOptions.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"velocityOptions — velocityOptions","text":"speedUnit 'm/s' meter per second, 'k/h' kilometer per hour 'kt' knots minVelocity velocity particle intensity minimum maxVelocity velocity particle intensity maximum velocityScale scale wind velocity colorScale vector hex colors RGB matrix ... arguments passed Velocity layer Windy.js. information, please visit leaflet-velocity plugin","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/reference/velocityOptions.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"velocityOptions — velocityOptions","text":"list options addVelocity","code":""},{"path":[]},{"path":"https://trafficonese.github.io/leaflet.extras2/news/index.html","id":"leafletextras2-development-version","dir":"Changelog","previous_headings":"","what":"leaflet.extras2 (development version)","title":"leaflet.extras2 (development version)","text":"Included OSM Buildings plugin New Function addDivicon adds DivIcon markers Leaflet maps support custom HTML CSS classes. See example ./inst/examples/divicons_html_app.R Added addClusterCharts enable pie bar charts Marker clusters using Leaflet.markercluster, d3 L.DivIcon, support customizable category styling various aggregation methods like sum, min, max, mean, median. opened sidebar tab returned Shiny input using sidebar_tabs ID. #67 allow ... antpathOptions able set pane (e.g.: renderer= JS('L.svg({pane: \"-pane\"})')) Switched geojsonsf yyjsonr (heightgraph, timeslider, clustercharts) Fix roxygen2 > 7.0.0. #1491","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/news/index.html","id":"leafletextras2-122","dir":"Changelog","previous_headings":"","what":"leaflet.extras2 1.2.2","title":"leaflet.extras2 1.2.2","text":"CRAN release: 2023-08-21 Added enableContextmenu disableContextmenu Fixed tests leaflet v2.2.0. Thanks @gadenbuie (#60)","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/news/index.html","id":"leafletextras2-121","dir":"Changelog","previous_headings":"","what":"leaflet.extras2 1.2.1","title":"leaflet.extras2 1.2.1","text":"CRAN release: 2023-04-20 Bugfix Sidebar used inside Shiny modules. sidebar functions addSidebar openSidebar now argument ns, Shiny’s namespacing function (e.g: session$ns) can included. Arrowheads now passes options arrowheadOptions L.polyline Update leaflet.heightgraph 1.3.2. dependency d3 anymore. Skip tests use internet connection Adapted URLs deleted old Mapkey URL","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/news/index.html","id":"leafletextras2-120","dir":"Changelog","previous_headings":"","what":"leaflet.extras2 1.2.0","title":"leaflet.extras2 1.2.0","text":"CRAN release: 2022-05-10 Included Arrowheads plugin Included Leaflet.Sync plugin Included Leaflet MovingMarkers plugin Included Leaflet Spin plugin. Thanks @radbasa Included Labelgun plugin. addTimeslider gained styling options arguments label, labelOptions, sameDate ordertime works Point / Linestring Simple Feature Collections Enable multiple sidebars. Thanks @jeffreyhanson Option fit removed sidebars plugin CSS/JS adapted Deprecated menuItem/mapmenuItems/markermenuItems renamed prefix context_. Fixes #10 #17 now possible include multiple custom sizeModes easyprintOptions. example easyprint_app.R extended demonstrate new functionalities. tileLayer option now accepts group name tilelayer printing wait layer fully loaded. addPlayback now capable displaying labels popups every timestep. transition labels popups can controlled transitionpopup transitionlabel. function addHistory now requires fontawesome package, since dependency included shiny’s shared directory anymore. function addWMS gained argument checkempty, check returning HTML-body tag. body empty, popup opened. function addMovingMarker now accepts icons created makeAwesomeIcon.","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/news/index.html","id":"leafletextras2-110","dir":"Changelog","previous_headings":"","what":"leaflet.extras2 1.1.0","title":"leaflet.extras2 1.1.0","text":"CRAN release: 2020-10-20 Included Leaflet Contextmenu plugin Included Leaflet TimeSlider plugin addWMS gained layerId argument works like leaflet::addWMSTiles except popupOptions Side--Side doesn’t propagate click events dragging. Thanks f905a47 #23","code":""},{"path":"https://trafficonese.github.io/leaflet.extras2/news/index.html","id":"leafletextras2-100","dir":"Changelog","previous_headings":"","what":"leaflet.extras2 1.0.0","title":"leaflet.extras2 1.0.0","text":"CRAN release: 2020-05-18 Initial release","code":""}]