Skip to content

Fix runnable React example documentation snippets - #44

Merged
wf9a5m75 merged 1 commit into
developfrom
fix/example-documentation-snippets
Nov 7, 2026
Merged

wf9a5m75 merged 1 commit into
developfrom
fix/example-documentation-snippets

Conversation

@wf9a5m75

@wf9a5m75 wf9a5m75 commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Sample documentation currently displays incomplete TSX fragments, undefined data and helpers, and interaction handlers that do not reproduce the demonstrated behavior. Generate standalone App.tsx examples with the required imports, stylesheets, inline sample data and appropriate initial cameras.

  • Fix shape dragging, duplicate info bubbles, camera synchronization, raster opacity updates and Three.js cleanup. Generate a PNG for the ground-image example because MapLibre cannot decode the SVG source.
  • Add documentation for the five missing pages and provider definitions for TomTom, MapTiler, Longdo, Mappls and deck.gl; update the localized explanations.
  • Add check:snippets to type-check all 666 supported page/provider combinations and exercise interaction handlers with real SDK state objects. Include the supporting ignore rules, lockfile update and Three.js typings.

Validation: snippet type checks and interaction checks pass; repository lint passes with an existing HERE declaration warning. The examples client/SSR build and static generation passed. Chrome checks covered ten core examples and the extension examples in the local Studio, including GeoJSON/KML property clicks, heatmap rendering, cluster expansion, vector-style color changes and Three.js rendering.

The existing app-wide TypeScript errors outside the generated documentation snippets remain out of scope.

@wf9a5m75
wf9a5m75 merged commit a98dee7 into develop Nov 7, 2026
3 checks passed
@wf9a5m75
wf9a5m75 deleted the fix/example-documentation-snippets branch November 7, 2026 15:41
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.

1 participant