Area

getArea()

Description

Returns the area value between three or more specified coordinate.
Return value is in "m2"

Parameter

Location (Array)

Example

map.getArea(
   [
       {lng: -122.019807, lat: 45.632433},
       {lng: -122.019767, lat: 45.632453},
       {lng: -122.01971, lat: 45.632472}
   ]))