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

Building layer is hiding location component #2006

Closed
Christophe668 opened this issue Jul 22, 2019 · 1 comment · Fixed by #2013
Closed

Building layer is hiding location component #2006

Christophe668 opened this issue Jul 22, 2019 · 1 comment · Fixed by #2013

Comments

@Christophe668
Copy link

When activating the BuildingPlugin on Mapbox Navigation 41, buildings are hiding the location component despite the opacity set the to building layer.
Tried to set BuildingPlugin constructor parameter "layerBelow" to LocationComponentConstants.SHADOW_LAYER for instance without success

Android API:
Android 9

Mapbox Navigation SDK version:
41

Steps to trigger behavior

  1. Update library from 39 to 41
  2. Activate BuidlingPlugin
val buildingPlugin = BuildingPlugin(config.mapView, mapbox, style)
buildingPlugin.setOpacity(0.3f)

Expected behavior

Screenshot 2019-07-22 at 17 18 05

Actual behavior

Screenshot 2019-07-22 at 17 18 12

@LukasPaczos
Copy link
Member

Hey @Christophe668, thanks for reporting the bug. This has been resolved upstream in mapbox/mapbox-gl-native#15065 and is most likely going to be a part of the next Nav SDK release, or alternatively upcoming Maps SDK 8.2.0 and patch releases that are going to backport the fix soon as well.

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 a pull request may close this issue.

2 participants