addGoogleTiles: Graphics elements and layers

Description Usage Arguments Value References

Description

Add graphics elements and layers to the map widget.

Usage

1
2
addGoogleTiles(map, attribution = NULL, layerId = NULL, group = NULL,
  options = tileOptions(), type = "satellite")

Arguments

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)

Value

the new map object

References

The Leaflet API documentation: http://leafletjs.com/reference.html https://gitlab.com/IvanSanchez/Leaflet.GridLayer.GoogleMutant


KillianDudduss/LeafletGoogle documentation built on May 23, 2019, 10:33 p.m.