-
Notifications
You must be signed in to change notification settings - Fork 557
feat: Add InteractiveMap component using react‑leaflet #678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 8 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
deeec50
feat: add interactive map component and update dependencies v0.0.1
revogabe bdd705b
refactor: Optimized component code for better readability and bug fix…
revogabe 63504f4
feat: add interactive map component on CLI
revogabe 77843b5
fix: tooltip
revogabe 426d236
refactor: rename MapComponent to Map and update schema description
revogabe 6797813
fix: lazy-load mapSchema inside useEffect to avoid window error with SSR
revogabe c5a9508
chore: add comments to clarify dynamic loading of Map component for SSR
revogabe b9362e5
refactor: update map on CLI
revogabe 05e14bb
chore: revert changes to CHANGELOG.md
revogabe 74e37f2
chore: restore package-lock and package.json
revogabe 7915476
reinstall dependencies
revogabe 023bdac
Merge branch 'main' into interactive-map
revogabe f1ccdd0
npm install to update lockfile
alecf 2a4ffad
properly export Map
alecf e66a9c3
fix: turn off strict mode for map development
alecf e755eda
do not keep reregistering the map
alecf bdc2db5
refactor: remove dynamic import for Map component and use direct import
revogabe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| { | ||
| "name": "map", | ||
| "description": "Interactive map component with clustering and heatmap support.", | ||
| "componentName": "Map", | ||
| "dependencies": [ | ||
| "class-variance-authority", | ||
| "react-leaflet", | ||
| "@react-leaflet/core", | ||
| "leaflet", | ||
| "leaflet.heat", | ||
| "leaflet.markercluster", | ||
| "@tambo-ai/react" | ||
| ], | ||
| "devDependencies": [], | ||
| "requires": [], | ||
| "files": [ | ||
| { | ||
| "name": "map.tsx", | ||
| "content": "src/registry/map/map.tsx" | ||
| } | ||
| ] | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export { MapComponent, type MapProps } from "./map"; |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.