Expand description
The map: Map, its options, its snapshots, its style’s loading and
feature state, and the events it reports. Its camera is in camera.
Structs§
- Camera
Bounds - All the limits on a map’s camera.
- Camera
Change - A camera change: whether it jumps or animates, and what made it.
- Free
Camera - A camera’s whole position and orientation in three dimensions.
- Map
- A map: its style, its camera, and the updates it publishes for its renderer.
- MapOptions
- How a map renders and lays itself out.
- MapSnapshot
- A map’s state at one moment.
- Render
Frame Status - Terrain
Options - How a map draws its terrain, for the map’s lifetime.
- Tile
Settings - How a map picks the tiles to load.
Enums§
- Camera
Change Mode - Camera
Change Source - What moved the camera, as the C API’s
mln_camera_change_sourcereports it. - MapEvent
- An event of a map. The variants match the C API’s
mln_runtime_event_typevalues for maps. - MapMode
- Terrain
Skirt Length - How far the skirts that hang from the edges of terrain tiles reach down. Skirts hide the cracks where the edges of neighboring tiles don’t meet, and show through where the layers draped over the terrain are translucent.
Functions§
- style_
camera - The camera options of
style’s default camera, which the map jumps to once the style loads, unless a camera command came first.