ui.Map

A Google map.

UsageReturns
ui.Map(center, onClick, style)ui.Map
ArgumentTypeDetails
centerObject, optionalAn object containing the latitude ('lat'), longitude ('lon') and optionally the zoom level ('zoom') for the map.
onClickFunction, optionalA callback fired when the map is clicked. The callback is passed an object containing the coordinates of the clicked point on the map (with keys lon and lat) and the map widget itself.
styleObject, optionalAn object of allowed CSS styles with their values to be set for this map. See style() documentation.