Reference
/world-geo-detail
import { … } from "@johnmorrisdotca/chizu/world-geo-detail";
406.5 kB minified and gzipped, with everything it imports (measured with esbuild)
The world as longitude and latitude from the 1:50m outlines, for a globe zoomed in: the 177 countries of
@johnmorrisdotca/chizu/world-geo (the 1:110m world) with the same properties, and the 65 smaller countries and
territories that file leaves off, rounded to 0.01 degree and simplified with the borders between countries kept
identical. Its own entry, so it loads only on the page that draws it.
Exports
| Name | Kind | What it is |
|---|---|---|
ChizuGeoCollection | type | A map as longitude and latitude: the regions of one country, or the countries of the world, as a GeoJSON FeatureCollection with no projection. |
ChizuGeoFeature | type | One region or country as a GeoJSON feature, in WGS84 [longitude, latitude] degrees: a Polygon or MultiPolygon. |
ChizuGeoProperties | type | The properties of one feature of a map in longitude and latitude: a region's code (the same as in the flat map of the same country) and its ISO 3166-2 code, iso, where it has one, its names in English and Japanese; a country of the world also has iso3 and its larger part of the world, group and groupJa. |
default | constant | The world as longitude and latitude in degrees from the 1:50m outlines, for a globe zoomed in: 242 countries, the 177 of the 1:110m world-geo with the same properties and the 65 smaller ones that file leaves off, simplified with the borders between countries kept identical. |
WORLD_GEO_DETAIL | constant | The world as longitude and latitude in degrees from the 1:50m outlines, for a globe zoomed in: 242 countries, the 177 of the 1:110m world-geo with the same properties and the 65 smaller ones that file leaves off, simplified with the borders between countries kept identical. |