// For specifying the global range
const bbox = [-180, -90, 180, 90];
// For specifying the area around Japan
const bbox = [120, 15, 160, 55];
// For specifying a range of radius dl[deg] from a specific latitude-longitude point
const lng = 138.73;
const lat = 35.36;
const dl = 0.2;
const bbox = [lng - dl, lat - dl, lng + dl, lat + dl];
// For the North Region (EPSG:3995) or South Region (EPSG:3031)
const bbox = [-8388608, -8388608, 8388608, 8388608];
// For writing in TypeScript (please download and use jaxa.earth.esm.js and jaxa.earth.esm.d.ts)
import type { Bbox } from "./jaxa.earth.esm.js";
const bbox: Bbox = [-180, -90, 180, 90];
A numeric array representing a latitude-longitude range. For the equirectangular projection (EPSG:4326), the numeric array is specified counterclockwise using latitude [deg] and longitude [deg] in WGS84, as [west longitude, south latitude, east longitude, north latitude].
For the North Region (EPSG:3995), it is specified counterclockwise using distance [m] as [-X, -Y, X, Y], with the North Pole as the origin, the +Y direction along the longitude 180-degree line, and the -Y direction along the longitude 0-degree line.
For the South Region (EPSG:3031), it is specified counterclockwise using distance [m] as [-X, -Y, X, Y], with the South Pole as the origin, the +Y direction along the longitude 0-degree line, and the -Y direction along the longitude 180-degree line.