Description Usage Arguments Details Value Author(s) See Also
lmap
creates an instance of an interactive map using Leaflet.
1 2 3 4 |
x |
convenience positional shortcut for |
y |
convenience positional shortcut for |
zoom |
zoom level |
lat |
latitude of the center or points to base the center on |
lon |
longitude of the center or points to base the center on |
where |
optional, string identifying the element which will
contain the map using jQuery selector notation. If absent, a new
|
width |
if |
height |
if |
xlim |
range of longitudes to show |
ylim |
range of latitudes to show |
tilepath |
specification for tiles URLs |
eventfunc |
named list of callback functions to register |
lmap
creates a new instance of a Leaflet intercative map. It
also sets the current active map to this objects such that calls to
lpoints
and other plotting functions will default to
this instance if no map is specified explicitly.
Callback functions should generally have the signature
function(i, ...)
where i
is the index of the element
that triggered the callback (for lpoints
, lmarkers
etc). For lmap
it is always 0.
Returns an object of the class RCloudLeaflet
representing the
map.
Simon Urbanek
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.