Skip to content

Commit 49d3e9b

Browse files
committed
docs: add deprecation notice for AdvancedMarkerAnchorPoint
1 parent d7b128e commit 49d3e9b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/advanced-marker.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ export const AdvancedMarkerContext =
3939
React.createContext<AdvancedMarkerContextValue | null>(null);
4040

4141
// [xPosition, yPosition] when the top left corner is [0, 0]
42+
/**
43+
* @deprecated Using `anchorPosition` is deprecated.
44+
* Use `anchorLeft` and `anchorTop` instead.
45+
*/
4246
export const AdvancedMarkerAnchorPoint = {
4347
TOP_LEFT: ['0%', '0%'],
4448
TOP_CENTER: ['50%', '0%'],

0 commit comments

Comments
 (0)