Class: Feature

.Geo. Feature


new Feature(geometry [, properties] [, boundaryBox] [, id])

A GeoJSON feature object

Parameters:
Name Type Argument Description
geometry jsonOdm.Geo.Point | jsonOdm.Geo.MultiPoint | jsonOdm.Geo.LineString | jsonOdm.Geo.MultiLineString | jsonOdm.Geo.Polygon | jsonOdm.Geo.MultiPolygon | jsonOdm.Geo.GeometryCollection

Any jsonOdm.Geo.<geometry> object

properties * <optional>

Additional properties that belong to this feature

boundaryBox Array <optional>

An array with [min. longitude, min. latitude, max. longitude, max. latitude]

id * <optional>

A unique identifier