You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add deprecation notices for Marker and HeatmapLayer components
- Mark Marker component as deprecated (deprecated Feb 2024)
- Mark HeatmapLayer component as deprecated (deprecated May 2025)
- Add TypeScript @deprecated annotations with migration guidance
- Update README with GitHub-style warning alerts
- Update VitePress documentation with warning containers
- Add deprecation badges to component lists and table of contents
Follows Google Maps JavaScript API deprecation timeline:
- Marker API deprecated Feb 2024, migrate to AdvancedMarker
- HeatmapLayer deprecated May 2025, migrate to deck.gl (sunset May 2026)
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
@@ -87,7 +87,7 @@ This library is intended to be used in a composable fashion. Therefore you will
87
87
The main mapping component is `GoogleMap`, however the following components are available at your disposal:
88
88
89
89
-[AdvancedMarker](#advanced-marker)
90
-
-[Marker](#marker)
90
+
-[Marker](#marker) ⚠️ **Deprecated** - Use AdvancedMarker instead
91
91
-[Polyline](#polyline)
92
92
-[Polygon](#polygon)
93
93
-[Rectangle](#rectangle)
@@ -96,6 +96,7 @@ The main mapping component is `GoogleMap`, however the following components are
96
96
-[CustomMarker](#custom-marker)
97
97
-[CustomControl](#custom-control)
98
98
-[MarkerCluster](#marker-cluster)
99
+
-[HeatmapLayer](#heatmap-layer) ⚠️ **Deprecated**
99
100
100
101
### Advanced Marker
101
102
@@ -157,6 +158,9 @@ You can listen for [the following events](https://developers.google.com/maps/doc
157
158
158
159
### Marker
159
160
161
+
> [!WARNING]
162
+
> **DEPRECATED:** The `Marker` component is deprecated as of February 2024. Please use the [`AdvancedMarker`](#advanced-marker) component instead for new projects. The legacy `google.maps.Marker` API will be removed in a future version. [Learn more about the deprecation](https://developers.google.com/maps/deprecations#googlemapsmarker_in_the_deprecated_as_of_february_2024).
163
+
160
164
Use the `Marker` component to draw markers, drop pins or any custom icons on a map.
161
165
162
166
#### Options
@@ -709,6 +713,9 @@ You can listen for [the following events](https://googlemaps.github.io/js-marker
709
713
710
714
### Heatmap Layer
711
715
716
+
> [!WARNING]
717
+
> **DEPRECATED:** The `HeatmapLayer` component was deprecated on **May 27, 2025** and will be sunset in **May 2026**. Google recommends migrating to third-party library integrations like [deck.gl](https://deck.gl/), which offers a HeatmapLayer implementation. [Learn more about the deprecation](https://developers.google.com/maps/deprecations).
718
+
712
719
Use the `HeatmapLayer` component to depict the intensity of data at geographical points on the map. Make sure to include the `visualization` library in the `libraries` prop of the `GoogleMap` component.
Copy file name to clipboardExpand all lines: docs/components/heatmap-layer.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,10 @@ const heatmapData = [
25
25
26
26
# Heatmap Layer
27
27
28
+
::: warning DEPRECATED
29
+
The `HeatmapLayer` component was deprecated on **May 27, 2025** and will be sunset in **May 2026**. Google recommends migrating to third-party library integrations like [deck.gl](https://deck.gl/), which offers a HeatmapLayer implementation. [Learn more about the deprecation](https://developers.google.com/maps/deprecations).
30
+
:::
31
+
28
32
Use the `HeatmapLayer` component to depict the intensity of data at geographical points on the map. Make sure to include the `visualization` library in the `libraries` prop of the `GoogleMap` component.
The `Marker` component is deprecated as of February 2024. Please use the [`AdvancedMarker`](./advanced-marker.md) component instead for new projects. The legacy `google.maps.Marker` API will be removed in a future version. [Learn more about the deprecation](https://developers.google.com/maps/deprecations#googlemapsmarker_in_the_deprecated_as_of_february_2024).
12
+
:::
13
+
10
14
Use the `Marker` component to draw markers, drop pins or any custom icons on a map.
0 commit comments