Expand description
Deterministic map-label selection and collision handling.
The crate turns already-supplied geographic features into normalized screen positions. It does not download map data, choose a legal data license, or replace a full cartographic projection engine.
Structs§
- GeoPoint
- A validated WGS84-style latitude and longitude pair in degrees.
- Localized
Label - Localized label text with explicit fallback.
- MapDisplay
- Deterministic label-layout policy.
- MapFeature
- A labeled geographic feature and its visible zoom interval.
- Placed
Label - A label selected for display.
- Screen
Point - Normalized screen coordinate with
(0, 0)at the top left. - Viewport
- Geographic area displayed by a map, including antimeridian-wrapping areas.
Enums§
- Label
Priority - Relative importance used when labels collide.
- MapError
- Invalid map-display input.
Constants§
- GSI_
MAPS_ VECTOR_ URL - Official GSI Maps Vector viewer.
- GSI_
VECTOR_ TILE_ URL - Official GSI explanation of vector-tile map expression.