JS API
- Parameters
- Options
- Example
- Methods
- fitToBoundingBox
- getBoundingBox
- getInitialBoundingBox
- getLayers
- getMouseMode
- off
- on
- once
- refresh
- reset
- setMouseMode
- usingLayer
- usingNewLayer
- Events
- Parameters
- Example
- Methods
- addFeature
- addFeatureCollection
- bringForwards
- bufferGeometry
- changeProperties
- clearFilters
- clearFeatures
- clearStyle
- clipByFeatureCollection
- convertToCentroids
- filterByBoundingBox
- filterByFeatureCollection
- filterByNearest
- filterByText
- getFeatureCollection
- hide
- sendBackwards
- show
- style
- update
- usingFeature
createMultiLineString
Creates a GeoJSON MultiLineString geometry object.
Parameters
Name | Required | Description |
---|---|---|
coordinates | Yes | The GeoJSON coordinates of the MultiLineString. |
Example
var gjson = Mapzania.GeoJson.createMultiLineString([[[20.33, 30.64],[16.23, 21.59]],[[12.43, 41.22],[19.87, 32.43]]]);