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

createLineString

Creates a GeoJSON LineString geometry object.

Parameters

Name Required Description
coordinates Yes The GeoJSON coordinates of the LineString.

Example

var gjson = Mapzania.GeoJson.createLineString([[20.33, 30.64],[16.23, 21.59]]);