Skip to content

feat(web): support MarkerView minZoom and maxZoom - #4402

Merged
mfazekas merged 1 commit into
mainfrom
feat/markerview-web-zoom
Oct 25, 2026
Merged

mfazekas merged 1 commit into
mainfrom
feat/markerview-web-zoom

Conversation

@mfazekas

Copy link
Copy Markdown
Contributor

Description

Web follow-up to #4394. The web MarkerView (a mapbox-gl Marker) now hides itself while the map zoom is outside [minZoom, maxZoom], the same as native. priority and allowZElevate have no mapbox-gl equivalent, because web markers don't collide and can't be placed on 3D buildings, so web ignores them.

Checklist

  • I've read CONTRIBUTING.md
  • I updated the doc/other generated code with running yarn generate in the root folder
  • I have tested the new feature on /example app.
    • In V11 mode/ios
    • In New Architecture mode/ios
    • In V11 mode/android
    • In New Architecture mode/android
  • I added/updated a sample - if a new feature was implemented (/example)

Screenshot OR Video

Tested in the web example (Annotations/MarkerViewPlacement, mapbox-gl 3.15): the green minZoom 16 marker shows at zoom 17, is hidden at 15.5 and shows again at 17.

Hide the marker element while the map zoom is outside [minZoom, maxZoom].
priority and allowZElevate have no mapbox-gl equivalent and stay ignored on web.
@mfazekas
mfazekas merged commit 8fa0344 into main Oct 25, 2026
10 checks passed
@mfazekas
mfazekas deleted the feat/markerview-web-zoom branch October 25, 2026 21:01

This branch was previously deployed

1 inactive deployment
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