worldMapSvgfunction
The world map as a colouring sheet: all the land on one flat map, the continents with thick outlines, the names of the continents and of the five oceans written on it, and three facts.
Import it
import { worldMapSvg } from "@johnmorrisdotca/chikyu-earth/sheets";
Definition
function worldMapSvg(options: SheetOptions): string
Parameters
| Name | Type | Description |
|---|---|---|
options | SheetOptions | The room, the language and the type. |
Returns
string
The <svg> markup.
Examples
import { worldMapSvg } from "@johnmorrisdotca/chikyu-earth/sheets";
const svg = worldMapSvg({ widthMm: 184.6, heightMm: 180, lang: "en" });
console.log(svg.includes("Pacific"));trueWhat it prints (run when this page was built)