Description Usage Arguments Value References
Add graphics elements and layers to the map widget.
1 2 |
map |
a leaflet map object |
attribution |
the attribution text of the tile layer (HTML) |
layerId |
the identification number/string of the layer created |
group |
the group identification number/string |
options |
a list of extra options for tile layers, popups, paths (circles, rectangles, polygons, ...), or other map elements |
type |
map type (satellite, roadmap, hybrid) |
the new map
object
The Leaflet API documentation: http://leafletjs.com/reference.html https://gitlab.com/IvanSanchez/Leaflet.GridLayer.GoogleMutant
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.