Calculates a buffer for input features for a given radius. Units supported are miles, kilometers, and degrees.
object
(google.maps.Polygon | google.maps.Polyline | google.maps.Marker | google.maps.LatLng | Array<google.maps.LatLng> | Feature<(Polygon | Linestring | Point)>) input object to be bufferedoutput
String either 'geometry','object' (google.maps) or 'feature', case insensitive, defaults to 'feature'radius
Number distance to draw the buffer (negative values are allowed)options
Object options to pass to the buffer creation function
Returns (Feature | Feature<Geometry>) A GeoJson Feature or its geometry, according to output parameter