Raw geometry coordinates for this feature.
The geometry type (set by subclass).
Object of key/value properties.
Format polygon coordinates as [[[x1, y1, z1], [x2, y2, z2], ...]] (GeoJSON outer ring array).
Convert to a GeoJSON Feature as a string. Numbers in properties are formatted to two decimals.
Static
replacerJSON.stringify replacer function that rounds all numbers to two decimals.
Concrete GeoJSON Polygon feature.
Param: coordinates
Array of [x, y, (z)] points (polygon ring, closedness is caller’s responsibility).
Param: properties
Feature properties.