defaultconstant
Sri Lanka, alone: Natural Earth 5.1.2 admin-0 countries, 1:50m, 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/lk";
Definition
const map: ChizuMap
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/lk";
console.log(map.id, map.kind, map.regions.length, map.viewBox);
// country-lk country 1 0 0 557 1000country-lk country 1 0 0 557 1000What it prints (run when this page was built)