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

appendPointToPolygon

Adds the coordinates of a GeoJSON Point object to the end of the shell of a GeoJSON Polygon object.

Parameters

Name Required Description
poly Yes The Polygon object to which the Point will be appended.
point Yes The Point object that will be appended to the shell of the Polygon.