# @dioramajs/data/map

Exports of @dioramajs/data/map.

## Functions and values

- [default](/docs/api/data-map/default.md): A flat map of the world or a region, its land as dots or a solid fill, with markers for the element's places and arcs between them that draw in once in view. Fires `dio:marker` on the element when a marker lights up or goes dark.
- [dotGrid](/docs/api/data-map/dot-grid.md): A grid of dots over the view: land, sea inside the world's outline, nothing outside it.
- [project](/docs/api/data-map/project.md): Projected x, y of a latitude and a longitude from the central meridian, in radians.
- [REGIONS](/docs/api/data-map/regions.md): West, east, south and north edges of a region in degrees.
- [unpack](/docs/api/data-map/unpack.md): Decodes the land mask of @dioramajs/globe/land: 1 for land, `WIDTH` cells a row.
- [unproject](/docs/api/data-map/unproject.md): Latitude and longitude in radians of a projected point, undefined outside the world.
- [viewOf](/docs/api/data-map/view-of.md): The region's projected bounds around its middle meridian (moved by `center`), shrunk by `zoom` and widened to the box's proportions, so the region fits and the rest of the box shows more map.
