defaultconstant
Monaco, 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/mc";
Definition
const map: ChizuMap = { "id": "country-mc", "kind": "country", "name": "Monaco", "nameJa": "モナコ", "regionName": "Country", "regionNamePlural": "Countries", "viewBox": "0 0 1000 879", "width": 1000, "height": 879, "wraps": false, "projection": { "kind": "azimuthal-equal-area", "centre": [7.398972, 43.739846], "scale": 1105874.13, "translate": [463.408, 456.673] }, "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": "MC", "name": "Monaco", "nameJa": "モナコ", "reading": "モナコ", "group": "Europe", "groupJa": "ヨーロッパ", "iso3": "MCO", "path": "M1000,388.7L935.76,456.44L728.19,629.23L538,878.92L208.84,853.73L0,786.94L21.19,567.01L96.46,341.08L304.01,108.22L574.88,0L843.64,155.16Z", "neighbors": ["FR"], "bbox": [0, 0, 1000, 878.92], "centroid": [463.41, 456.67] }] }
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/mc";
console.log(map.id, map.kind, map.regions.length, map.viewBox);
// country-mc country 1 0 0 1000 879country-mc country 1 0 0 1000 879What it prints (run when this page was built)