dotted‑world‑map

Dotted map of Fiji

This is a dotted map of Fiji as an SVG, made with one call to @setkernel/dotted-map-next.

Dotted map of Fiji
Fiji at height: 53: 986 dots, drawn by the code below when this page was built.

Download

Free to use for any purpose: the country outlines come from world.geo.json, which is in the public domain under its Unlicense.

The code

npm install @setkernel/dotted-map-next

fiji.mjs
import { DottedMap } from '@setkernel/dotted-map-next';

const svg = new DottedMap({
  height: 53,
  countries: ['FJI'],
  region: {
    lat: { min: -18.288, max: -16.067 },
    lng: { min: 177.285, max: 180 },
  },
}).getSVG({ title: 'Dotted map of Fiji' });

Open Fiji in the playground to change the options of this map.

Numbers

Code
FJI
Dots
986
Grid
height: 53, and a width of 62 from the box
Box
latitude -18.288° to -16.067°, longitude 177.285° to 180°
SVG
37,374 bytes

Fiji has land on both sides of 180° of longitude, and a map cannot wrap around: this one is cropped with region to longitude 177.285° to 180°, and leaves out the land from -180° to -179.793°.

Neighbours

No other country's box touches the box of Fiji.