feat: Add InteractiveMap component using react‑leaflet#678
feat: Add InteractiveMap component using react‑leaflet#678MichaelMilstead merged 17 commits intotambo-ai:mainfrom
Conversation
…es, such as dynamically adapting to NextJS - Added HeatMap and Variation styles
|
@revogabe is attempting to deploy a commit to the tambo ai Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
The demo looks great! I wonder if we can show the map after the first pin is generated, and then upon each complete of a full pin we show it to to the graph? I'm working on something similar for our graph component right now. We an swap notes tomorrow. |
|
In my last commits I made some adjustments and we’re no longer seeing any errors. This is a temporary solution to handle Next.js, and we can look for a better way in the future to avoid this split between server-side and client-side. |
|
looks like we have a To get this PR through, how about we remove the package-lock changes and we can clean that up later |
|
so in order to seperate out these issues, I just landed #703 which adds back ts-node. It seems like someone deleted the package-lock.json and then re-ran My request for the above is:
that should make sure only the minimal changes are made to the various package*.json files. |
|
I'm running into this same issue again after reverting back to react-leaflet v4. I remember this was the main reason I originally moved to v5. I'm trying to find a workaround, but so far nothing seems to work consistently.
PaulLeCam/react-leaflet#936 cc: @alecf |
done, but I’m still working on the issue I mentioned above. |
|
@revogabe I found a few fixes - and I turned off strict mode for the showcase to let the map run - turns out strict mode for development is what is causing that map container error. As much as I'd like to use strict mode, turning it off is preferred to upgrading to react 19. Please see my changes here: |
|
Nice! this works well and is stable for merged, we can work on improvements later. Thanks for the help @alecf |

Description
Adds a new
InteractiveMapcomponent to address issue #675. The component:markers: Array<{ lat: number; lng: number; label: string }>heatData: Array<[number, number, number]>zodschema for props validationuseTamboComponentState,useTamboStreamingProps,useTamboStreamStatus, andTamboPropStreamProvidergraph.tsxexampleRelated Issue
Preview
Recording.2025-07-21.031339.mp4
Next Steps