Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon Allow Overlap Property causing markers to flash / stretch #2915

Open
ekamp opened this issue Oct 8, 2024 · 2 comments
Open

Icon Allow Overlap Property causing markers to flash / stretch #2915

ekamp opened this issue Oct 8, 2024 · 2 comments
Labels
android bug Something isn't working

Comments

@ekamp
Copy link

ekamp commented Oct 8, 2024

Describe the bug
When adding a SymbolLayer with property icon-ignore-placement or icon-allow-overlap, marker flashes / stretches when zooming or rotating around the marker. If this property is turned off no such behavior occurs.

To Reproduce
Steps to reproduce the behavior:

  1. Add a SymbolLayer with Property icon-ignore-placement or icon-allow-overlap (or both)
  2. Zoom in on SymbolLayer location with Marker, or rotate around the view
  3. Flashing / Stretching occurs on Layer and Marker

Example Android Impl code :

val symbolLayer = SymbolLayer(layerId, sourceId)
            .withProperties(
                ...
                PropertyFactory.iconIgnorePlacement(true),
                PropertyFactory.iconAllowOverlap(true),
                ...

Expected behavior
SymbolLayer should be able to contain either Property icon-ignore-placement or icon-allow-overlap to allow for overlapping layers in terms of z-index to prevent hide / show behavior for layers occupying the same location.

Screenshots

map_markers.mp4

Platform information (please complete the following information):

  • OS: Android
  • Platform Android
  • Version 11.5.0 (Does not reproduce in 10.x versions)

Additional context
Add any other context about the problem here.

@ekamp ekamp added the bug Something isn't working label Oct 8, 2024
@louwers louwers added the android label Oct 8, 2024
@Fabi755
Copy link

Fabi755 commented Oct 9, 2024

Maybe this is also the cause of #2879

@alasram
Copy link
Collaborator

alasram commented Oct 21, 2024

If this is the same as #2879 then I posted a workaround there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants