Package Documentation

leaflet.extras2

leaflet.extras2: Extra Functionality for 'leaflet' Package.

Ant Path

addAntpath()

Add Antpath Lines

clearAntpath()

clearAntpath

removeAntpath()

removeAntpath

antpathOptions()

Antpath Options

Arrowhead

addArrowhead()

Add Lines with an arrowhead

clearArrowhead()

Remove arrowheads from Lines by group

removeArrowhead()

Remove arrowheads from Lines by layerId

arrowheadOptions()

Arrowhead Options

Contextmenu

addContextmenu()

Add contextmenu Plugin

addItemContextmenu()

addItemContextmenu

disableContextmenu()

disableContextmenu

enableContextmenu()

enableContextmenu

hideContextmenu()

hideContextmenu

insertItemContextmenu()

insertItemContextmenu

removeItemContextmenu()

removeItemContextmenu

removeallItemsContextmenu()

removeallItemsContextmenu

setDisabledContextmenu()

setDisabledContextmenu

showContextmenu()

showContextmenu

context_mapmenuItems()

context_mapmenuItems

context_markermenuItems()

context_markermenuItems

context_menuItem()

context_menuItem

menuItem()

menuItem

mapmenuItems()

mapmenuItems

markermenuItems()

markermenuItems

Easy Print

addEasyprint()

Add easyPrint Plugin

removeEasyprint()

removeEasyprint

easyprintMap()

easyprintMap

easyprintOptions()

easyprintOptions

GIBS

addGIBS()

Add GIBS Layers

setDate()

Set Date for GIBS Layers

setTransparent()

Set Transparency for GIBS Layers

gibs_layers

The available GIBS layers with attributes

Heightgraph

addHeightgraph()

Add a Heightgraph layer

heightgraphOptions()

heightgraphOptions

Hexbin-D3

addHexbin()

Add a Hexbin layer

clearHexbin()

clearHexbin

hideHexbin()

hideHexbin

showHexbin()

showHexbin

updateHexbin()

updateHexbin

hexbinOptions()

hexbinOptions

History

addHistory()

Add History Plugin

clearHistory()

clearHistory

goBackHistory()

goBackHistory

goForwardHistory()

goForwardHistory

historyOptions()

History Options

clearFuture()

clearFuture

Labelgun

addLabelgun()

Add addLabelgun Plugin

Moving Markers

Mapkey Icons

addMapkeyMarkers()

Add Mapkey Markers

makeMapkeyIcon()

Make Mapkey Icon

mapkeyIconList()

Make Mapkey-icon set

mapkeyIcons()

Create a list of Mapkey icon data

`[`(<leaflet_mapkey_icon_set>)

leaflet_mapkey_icon_set

Moving Markers

movingMarkerOptions()

Set options for Moving Markers

addMovingMarker()

Add Moving Markers

startMoving() stopMoving() pauseMoving() resumeMoving() addLatLngMoving() moveToMoving() addStationMoving()

Interact with the moving markers

OpenWeatherMap

addOpenweatherCurrent()

Add current OpenWeatherMap Marker

addOpenweatherTiles()

Add OpenWeatherMap Tiles

openweatherCurrentOptions()

openweatherCurrentOptions

openweatherOptions()

OpenWeatherMap Options

Playback

addPlayback()

Add Playback to Leaflet

removePlayback()

removePlayback

playbackOptions()

playbackOptions

to_jsonformat()

to_jsonformat Transform object to JSON expected format

to_ms()

to_ms Change POSIX or Date to milliseconds

Reachability

addReachability()

Add Isochrones to Leaflet

removeReachability()

removeReachability

reachabilityOptions()

reachabilityOptions

addSidebar()

Add a Sidebar Leaflet Control

closeSidebar()

Close the Sidebar

openSidebar()

Open the Sidebar by ID

removeSidebar()

Remove the Sidebar

sidebar_pane()

Create a Sidebar Pane

sidebar_tabs()

Create a Sidebar

Side-by-Side

addSidebyside()

Add Side by Side View

removeSidebyside()

removeSidebyside

Spinner

addSpinner() startSpinner() stopSpinner()

Add Spin Plugin

Sync

addLeafletsync()

Synchronize multiple Leaflet map

addLeafletsyncDependency()

Add the Leaflet Sync JS dependencies

leafletsyncOptions()

leafletsync Options

unsync()

Removes synchronization.

isSynced()

Is a map synchronized?

Tangram

addTangram()

Adds a Tangram layer to a Leaflet map in a Shiny App.

Timeslider

addTimeslider()

Add Time Slider to Leaflet

removeTimeslider()

removeTimeslider

timesliderOptions()

timesliderOptions

Velocity

addVelocity()

Add Velocity Animation

removeVelocity()

removeVelocity

setOptionsVelocity()

setOptionsVelocity

velocityOptions()

velocityOptions

WMS

addWMS()

Add Queryable WMS Layer