5.20211.781
wijmo.chart.map Module GeoJSON Wijmo API Module

GeoJSON Module

Type aliases

BBox

BBox: [number, number, number, number] | [number, number, number, number, number, number]

GeoJSON

Union of GeoJSON objects.

GeoJsonGeometryTypes

GeoJsonGeometryTypes: "Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon" | "GeometryCollection"

The valid values for the "type" property of GeoJSON geometry objects. https://tools.ietf.org/html/rfc7946#section-1.4

GeoJsonTypes

GeoJsonTypes: "Point" | "MultiPoint" | "LineString" | "MultiLineString" | "Polygon" | "MultiPolygon" | "GeometryCollection" | "Feature" | "FeatureCollection"

The value values for the "type" property of GeoJSON Objects. https://tools.ietf.org/html/rfc7946#section-1.4

Geometry

Position

Position: number[]

A Position is an array of coordinates. https://tools.ietf.org/html/rfc7946#section-3.1.1 Array should contain between two and three elements. The previous GeoJSON specification allowed more elements (e.g., which could be used to represent M values), but the current specification only allows X, Y, and (optionally) Z to be defined.