showContextmenu | R Documentation |
Open the contextmenu at certain lat/lng-coordinates
showContextmenu(map, lat = NULL, lng = NULL, data = leaflet::getMapData(map))
map |
a map widget object created from |
lat |
a vector of latitudes or a formula (similar to the |
lng |
a numeric vector of longitudes, or a one-sided formula of the form
|
data |
the data object from which the argument values are derived; by
default, it is the |
A leaflet map object
Other Contextmenu Functions:
addContextmenu()
,
addItemContextmenu()
,
context_mapmenuItems()
,
context_markermenuItems()
,
context_menuItem()
,
disableContextmenu()
,
enableContextmenu()
,
hideContextmenu()
,
insertItemContextmenu()
,
mapmenuItems()
,
markermenuItems()
,
menuItem()
,
removeItemContextmenu()
,
removeallItemsContextmenu()
,
setDisabledContextmenu()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.