JS API
Map Object
QueryEngine Object
Layer Object
Feature Object
Query Object
GeoJson Function Library (Experimental)

getArea

Calculates the area of a GeoJSON geometry object as a numeric value.

Parameters

Name Required Description
geometry Yes Any GeoJSON Point, MultiPoint, LineString, MultiLineString, Polygon or MultiPolygon object.