Skip to content

feat: add showCallout and hideCallout methods to Marker#49

Merged
lodev09 merged 2 commits intomainfrom
feat/marker-show-hide-callout
Mar 22, 2026
Merged

feat: add showCallout and hideCallout methods to Marker#49
lodev09 merged 2 commits intomainfrom
feat/marker-show-hide-callout

Conversation

@lodev09
Copy link
Copy Markdown
Collaborator

@lodev09 lodev09 commented Mar 22, 2026

Summary

Add programmatic showCallout() and hideCallout() methods to the Marker component via ref. Shows callout in place without camera animation. No-op if no callout or title is set.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Test Plan

  • Call markerRef.current?.showCallout() to programmatically show a marker's callout
  • Call markerRef.current?.hideCallout() to dismiss it
  • Verify no onPress event is emitted when showing callout programmatically (Apple Maps fix included)
  • Example app: "Move Camera" button now also shows the target marker's callout

Checklist

  • I tested on iOS
  • I tested on Android
  • I tested on Web
  • I updated the documentation (if needed)

@lodev09 lodev09 merged commit 3b1f3ee into main Mar 22, 2026
3 checks passed
@lodev09 lodev09 deleted the feat/marker-show-hide-callout branch March 22, 2026 20:19
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