npm.io
0.1.0-alpha.0 • Published 4 months ago

@tileflow/static

Licence
—
Version
0.1.0-alpha.0
Deps
1
Size
25 kB
Vulns
0
Weekly
0

@tileflow/static

Static map schemas, overlay helpers, and request utilities for Tileflow static map rendering.

import { marker, validateStaticScene } from "@tileflow/static";

const scene = validateStaticScene({
  map: "madrid",
  camera: { type: "center", center: [-3.7038, 40.4168], zoom: 12 },
  size: { width: 1200, height: 800 },
  overlays: [marker({ coordinate: [-3.7038, 40.4168] })],
});

Docs: https://tileflow.dev/docs

Keywords