Skip to content

Add MVTAnnotationsPlugin#1615

Draft
gkjohnson wants to merge 28 commits into
masterfrom
mvt-annotations
Draft

Add MVTAnnotationsPlugin#1615
gkjohnson wants to merge 28 commits into
masterfrom
mvt-annotations

Conversation

@gkjohnson
Copy link
Copy Markdown
Contributor

@gkjohnson gkjohnson commented Jun 1, 2026

Fix #1600

  • Add "setResolution" to TilesRenderer
  • Fix "disposeTile" events firing for internal tileset json tiles

TODO

  • Add font manager, renderer
  • TODO: "setRegionVisible" seems to take a "normalized range" - should be changed to be consistent?
  • Phase 1: settled lines, points
  • Phase 2: occupation hide / show
  • Phase 3: display text
  • Adjust jitter
  • Clean up
    • simplify passed contents to the occupancy grid manager
  • Figure out a good way to time slice addition to the occupancy grid, raycasting
    • adjust every point on terrain adjustment? Just those visible?
  • Interactivity

Plans

  • Fix world rotation causing all points to disappear
  • Sort point annotations by embedded priority for occupation grid handling
  • Improved annotation replacement-by-id logic
    • What do we do if there are no ids?
    • Confirm Ids are consistent
  • Improved raycasting logic - specifically want to queue up all annotation to be "resettled" when any tiles hide / show, prioritizing them by currently visible first, then by prioritity. This will let annotations be settled correctly without too much overhead. Ideally we can limit the amount of time spend settling annotations here, as well, rather than simply running a fixed amount per frame.
  • Add glyphs for visualization per annotation.

@gkjohnson gkjohnson added this to the v0.5.0 milestone Jun 1, 2026
@gkjohnson gkjohnson marked this pull request as draft June 1, 2026 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MVT: Add support for annotations

1 participant