Skip to content

Add PointAnnotationManager component with slot support#4209

Open
mfazekas wants to merge 6 commits into
mainfrom
feat/annotation-slot
Open

Add PointAnnotationManager component with slot support#4209
mfazekas wants to merge 6 commits into
mainfrom
feat/annotation-slot

Conversation

@mfazekas
Copy link
Copy Markdown
Contributor

@mfazekas mfazekas commented May 17, 2026

New PointAnnotationManager component that configures the shared point annotation manager. Supports slot prop for positioning annotations in the Standard style layer stack.

Usage:

<MapView styleURL="mapbox://styles/mapbox/standard">
  <PointAnnotationManager slot="middle">
    <PointAnnotation coordinate={[lng, lat]} id="pin1">
      ...
    </PointAnnotation>
  </PointAnnotationManager>
</MapView>

New component that configures the shared point annotation manager.
Supports slot prop for positioning annotations in the Standard style
layer stack.
@mfazekas mfazekas force-pushed the feat/annotation-slot branch from 42ee626 to 702e214 Compare May 17, 2026 20:05
@mfazekas mfazekas changed the title Add slot prop to PointAnnotation Add PointAnnotationManager component with slot support May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant