fix(google-maps): deprecate heatmap component#809
Conversation
@types/google.maps v3.65 removed HeatmapLayer/HeatmapLayerOptions (Google's deprecation, runtime gone May 2026), breaking typecheck. Type the layer surface locally so it compiles, and flag the component as deprecated via a dev warning and @deprecated JSDoc pointing to deck.gl.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
commit: |
📝 WalkthroughWalkthrough
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
❓ Type of change
📚 Description
@types/google.mapsv3.65 strippedHeatmapLayerandHeatmapLayerOptionsdown to an empty stub as part of Google's deprecation (deprecated May 2025, runtime feature removed May 2026), which brokenuxt typecheckinScriptGoogleMapsHeatmapLayer.vue(missingHeatmapLayerOptions,setMap,setOptions).This types the heatmap layer surface locally so the component compiles again, and flags it as deprecated: a dev-only
console.warnon use plus an@deprecatedJSDoc on theoptionsprop, both pointing to deck.gl HeatmapLayer as the alternative. The component still works at runtime for anyone pinned to an older Maps version.