Is it possible to alter MarkerView culling behavior? #4144
Unanswered
bubblesocialdev
asked this question in
Q&A
Replies: 1 comment
-
|
Hi it's an upstream behaviour by native mapbox-ios and android libraries. Afaik we don't have means to influence it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am noticing that marker components utilizing MarkerView disappear when at the edge of the screen, obviously for performance reasons. However, I'm noticing markers are un-rendering when not fully offscreen, which creates a jarring and not so fluid look. I understand that PointAnnotations or SymbolLayers resolve this issue, but given some of the interactive features I need and the complex styling, I need to use MarkerView.
Is there a way to ensure the marker is fully offscreen before un-rendering? My understanding is there's some internal logic that examines the viewport in order to determine if a marker should be visible. I'm hoping I can somehow configure it so that there is extra padding to the viewport, i.e. the marker does not render until it is 100px off-screen for instance.
Thanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions