Reference · The realistic Earth's pure parts
BorderShapestype
A set of shapes whose shared edges are the borders: a GeoJSON FeatureCollection in longitude and latitude, such as chizu's world-geo (the countries) or a country's regions.
Import it
import type { BorderShapes } from "@johnmorrisdotca/chikyu-earth/realistic";
Definition
interface BorderShapes {
features: readonly BorderFeature[];
}
Members
| Name | Type | Description |
|---|---|---|
features | readonly BorderFeature[] |
Examples
import type { BorderShapes } from "@johnmorrisdotca/chikyu-earth/realistic";
const none: BorderShapes = { features: [] };
console.log(none.features.length);0What it prints (run when this page was built)