Skip to main content

Function: exteriorRings()

exteriorRings(geometry): GeoLinearRing[]

Defined in: src/mobjects/geo/geojson.ts:62

Return the exterior rings of a feature's geometry.

A Polygon yields its first ring. A MultiPolygon yields the first ring of each contained polygon. Interior rings (holes) are dropped: the choropleth fills exterior rings only in V1.

Parameters​

geometry​

GeoGeometry

The feature geometry.

Returns​

GeoLinearRing[]

One linear ring per exterior boundary.