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

appendPointToLineString

Adds the coordinates of a GeoJSON Point object to the end of a GeoJSON LineString object.

Parameters

Name Required Description
line Yes The LineString object to which the Point will be appended.
point Yes The Point object that will be appended to the LineString.