defaultconstant
Barbados, 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/bb";
Definition
const map: ChizuMap = { "id": "country-bb", "kind": "country", "name": "Barbados", "nameJa": "バルバドス", "regionName": "Country", "regionNamePlural": "Countries", "viewBox": "0 0 754 1000", "width": 754, "height": 1000, "wraps": false, "projection": { "kind": "azimuthal-equal-area", "centre": [-59.561202, 13.181041], "scale": 195295.53, "translate": [308.51, 557.345] }, "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": "BB", "name": "Barbados", "nameJa": "バルバドス", "reading": "バルバドス", "group": "North America", "groupJa": "北アメリカ大陸", "iso3": "BRB", "path": "M754.23,627.63L743.89,745.11L658.7,833.36L592.12,879.57L553.08,906.63L482.31,979.04L456.23,982.24L435.02,981.96L414.49,985.57L391.79,1000L359.09,943.69L297.75,908.46L223.18,890.85L178.87,887.65L152.66,885.84L108.09,854.07L69.75,779.31L26.84,627.7L0,168.48L6.63,115.64L30.13,70.98L77.25,22.46L137.17,0L198.16,33.3L243.77,102.37L259.7,136.91L282.78,187.12L346.36,325.12L390.11,385.72L451.68,433.01L538.79,499.7L589.03,528.81L653.99,550.01L715.31,578.27Z", "neighbors": [], "bbox": [0, 0, 754.23, 1000], "centroid": [308.51, 557.35] }] }
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/bb";
console.log(map.id, map.kind, map.regions.length, map.viewBox);
// country-bb country 1 0 0 754 1000country-bb country 1 0 0 754 1000What it prints (run when this page was built)