Reference · Features: country-mf
defaultconstant
Named physical features and capital markers on the canvas of country-mf. Pair this layer with the map whose id matches its map field; these coordinates are not another map's coordinates.
Import it
import value from "@johnmorrisdotca/chizu/features/country-mf";
Definition
const layer: ChizuFeatureLayer = { "map": "country-mf", "source": "Natural Earth 5.1.2 physical vectors, 1:10m, on the canvas of country-mf; names from Natural Earth and Wikidata", "features": [{ "code": "Q5919800", "kind": "peak", "group": "peaks", "name": "Pic Paradis", "nameJa": "ピク・パラディ", "reading": "ピクパラディ", "rank": 9, "elevation": 420, "path": "", "bbox": [711.2, 324.9, 711.2, 324.9], "centroid": [711.2, 324.9], "neighbors": [] }, { "code": "capital-MF", "kind": "capital", "group": "capitals", "name": "Marigot", "nameJa": "マリゴ", "reading": "マリゴ", "rank": 0, "path": "", "bbox": [491.1, 402.9, 491.1, 402.9], "centroid": [491.1, 402.9], "neighbors": [] }] }
Members
| Name | Type | Description |
|---|---|---|
map | string | The id of the map whose canvas the features are drawn on. |
source | string | Where the shapes and names come from, in a line. |
features | ChizuFeature[] |
Examples
import layer from "@johnmorrisdotca/chizu/features/country-mf";
console.log(layer.map, layer.features.length);
// country-mf 2country-mf 2What it prints (run when this page was built)