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

getFeatureAt

Returns a GeoJSON feature at a given distance along a GeoJSON LineString or MultiLineString.

The properties of the feature also include the rotation angle of the LineString/MultiLineString at the given distance.

Parameters

Name Required Description
geometry Yes Any GeoJSON LineString or MultiLineString.
distanceAlong Yes The distance along the GeoJSON LineString or MultiLineString at which to obtain the Feature.