Skip to main content

Module mvt_pmtiles_curved_labels

Module mvt_pmtiles_curved_labels 

Source
Expand description

Re-exports MVT/PMTiles vector tile style evaluator, curve-following centerline glyph placement, and R-Tree screen-space label collision solver from etalon_render::geo_viewport::curved_labels.

Structs§

CurvedGlyphQuad
GPU-ready glyph vertex quad layout oriented along a curve tangent.
LabelCandidate
Point-label placement candidate.
PlacedLabel
Accepted label with placed coordinates and Imhof position code.
RTreeNode
Internal R-Tree node for bounding-box screen spatial index.
RTreeScreenIndex
Screen-space R-Tree collision structure.
StyleZoomStop
A zoom-dependent keyframe stop for vector tile property interpolation.
VectorTileLayerStyle
Vector tile layer visual styling configuration.

Enums§

GeoLabelError
Error conditions for vector tile styling, glyph layout, and label collision.

Constants§

OFFSET_B
OFFSET_BL
OFFSET_BR
OFFSET_CENTER
OFFSET_L
OFFSET_R
OFFSET_T
OFFSET_TL
OFFSET_TR

Functions§

evaluate_style_zoom_interpolated
Evaluates Mapbox/MapLibre-style zoom interpolation for vector layer properties.
layout_glyphs_along_centerline
Layout glyph quads along a curve centerline (roads, rivers).
solve_screen_space_label_collisions
Screen-space label collision solver with 8-position Imhof offset resolution.