EarthWyrm is a Rust library for displaying vector tile maps in a WebAssembly context.
Wyrm tiles are geographic vector maps designed for fluid browser interactivity. A single tile is a "snippet" or fragment of SVG designed to be inserted into a web page's DOM with no modification.
Geographic coordinates for all map features are converted to Web Mercator.
Tiles are named using a ZXY naming scheme, with a wyrm file extension
(e.g. https://example.com/wyrm/12/990/1450.wyrm).
Tiles are square, scaled to 256x256 units, cropped at a margin of 8 around each edge. Path coordinates are rounded to the nearest integer.
Example tile: 14/3944/5895.wyrm
Layers are styled with standard CSS.
- Library documentation
- WyrmCast map server