toJS {rleafmap} | R Documentation |
This function is used internally by writeMap
to generate Leaflet JavaScript code for a given layer.
toJS(x, url = "")
x |
a |
url |
a character string giving the path for the raster files. |
A character string of JavaScript Code.