feat: Add GeoJSON, TopoJSON, and ASCII STL interactive renderers#182
Merged
Conversation
Deploying markdown-viewer with
|
| Latest commit: |
842f023
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c044daab.markdown-viewer.pages.dev |
| Branch Preview URL: | https://feature-map-and-3d-renderers.markdown-viewer.pages.dev |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…and modal zoom to 3D STL viewer
Deploying markdownviewer with
|
| Latest commit: |
842f023
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://16a6ef5a.markdownviewer.pages.dev |
| Branch Preview URL: | https://feature-map-and-3d-renderers.markdownviewer.pages.dev |
… for unified layout
…d styling and add zoom/reset actions
…ch GitHub's STL view
…iles with Three.js Y-up system
29916f9 to
71a4e8a
Compare
…ad of transparency
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces three new high-fidelity interactive code block renderers:
geojson): Displays interactive maps using Leaflet.js, complete with layer bounding autofits and an XSS-safe popup metadata properties explorer table.topojson): Converts TopoJSON features dynamically using the TopoJSON Client library and renders them as interactive Leaflet maps.stl): Renders 3D models using Three.js, STLLoader, and OrbitControls.Key Implementation Features
requestAnimationFrameloops on page re-renders, preventing browser context exhaustion.prepare.js) to automatically bundle Leaflet CSS, JS, marker image assets, TopoJSON, and Three.js libraries.