defaultconstant
Nauru, alone: Natural Earth 5.1.2 admin-0 countries, 1:10m, Lambert azimuthal equal-area centred on the country, longer side 1000. The native map geometry, region identifiers, names, projection and insets; coordinates belong to this canvas.
Import it
import value from "@johnmorrisdotca/chizu/countries/nr";
Definition
const map: ChizuMap = { "id": "country-nr", "kind": "country", "name": "Nauru", "nameJa": "ナウル", "regionName": "Country", "regionNamePlural": "Countries", "viewBox": "0 0 834 1000", "width": 834, "height": 1000, "wraps": false, "projection": { "kind": "azimuthal-equal-area", "centre": [166.933132, -0.520783], "scale": 932518.15, "translate": [425.409, 494.316] }, "insets": [], "source": "Natural Earth 5.1.2 admin-0 countries, 1:10m, Lambert azimuthal equal-area centred on the country, longer side 1000", "regions": [{ "code": "NR", "name": "Nauru", "nameJa": "ナウル", "reading": "ナウル", "group": "Oceania", "groupJa": "オセアニア", "iso3": "NRU", "path": "M517.87,0L790.7,123.17L834.41,443.7L721.82,793.38L517.87,1000L152.32,929.8L0,560.27L104.63,158.95Z", "neighbors": [], "bbox": [0, 0, 834.41, 1000], "centroid": [425.41, 494.32] }] }
Members
| Name | Type | Description |
|---|---|---|
id | string |
|
kind | "world" | "country" | "divisions" | "local" | What its regions are: the whole |
name | string | The map's name in English and Japanese. |
nameJa (optional) | string | undefined | |
regionName | string | What a region is called here, singular and plural, in English: |
regionNamePlural | string | |
viewBox | string | The canvas: |
width | number | |
height | number | |
wraps | boolean | Whether its east edge is its west edge: a map of the earth is a cylinder cut open, and pans round without stopping. |
projection | ChizuProjection | |
insets | ChizuInset[] | The regions drawn in boxes of their own. |
source | string | Where the outlines come from, in a line. |
regions | ChizuRegion[] |
Examples
import map from "@johnmorrisdotca/chizu/countries/nr";
console.log(map.id, map.kind, map.regions.length, map.viewBox);
// country-nr country 1 0 0 834 1000country-nr country 1 0 0 834 1000What it prints (run when this page was built)