Skip to content

chore: require @rnmapbox/maps 10.3.16 for CarMap - #20

Merged
mfazekas merged 2 commits into
mainfrom
chore/maps-10.3.16-car-map
Oct 28, 2026
Merged

mfazekas merged 2 commits into
mainfrom
chore/maps-10.3.16-car-map

Conversation

@mfazekas

Copy link
Copy Markdown
Contributor

Follow-up to #17, which was merged before these landed.

Requires @rnmapbox/maps 10.3.16 (peer >=10.3.16 <10.4.0, both examples and the dev dependency):

Checked on an Android emulator (car preview shown and hidden twice: 0 of those warnings, 4 before) and in the iOS 26.4 Simulator (CarPlay guidance map: the ring and POI sources are added).

It adds RNMBXExternalMap.invalidate(), creates no fallback map for a stale
external map id, and on iOS adds layers to an external map once its style
has loaded, which <CarMap> on the CarPlay guidance map needs.
<CarMap> unmounts asynchronously after the car screen's surface goes away,
and its layers then touched the destroyed map's style. RNMBXExternalMap's
invalidate() makes them drop it instead.
@mfazekas
mfazekas marked this pull request as ready for review October 28, 2026 01:46
@mfazekas
mfazekas merged commit c919b51 into main Oct 28, 2026
6 checks passed
@mfazekas mfazekas mentioned this pull request Oct 28, 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