maps icon indicating copy to clipboard operation
maps copied to clipboard

Android: Compass will not render for android-sdk:9.6.2

Open mzu opened this issue 5 years ago • 2 comments

Describe the bug
The compass that normally appears during rotation of the map layer does not show up anymore for the latest android sdk.

To Reproduce

Add following dependencies to your build.gradle (as describes in install.md)

    implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.2'
    implementation 'com.mapbox.mapboxsdk:mapbox-sdk-services:5.6.0'
    implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-v9:0.9.0'

It's possible to test this with the example project here.

Versions (please complete the following information):

  • Platform: Android
  • Platform OS: Android 11
  • Device: moto g(8) power
  • Emulator/ Simulator: yes, same problem
  • Dev OS: macOS 11.4
  • react-native-mapbox-gl Version: 8.2.1
  • mapbox-android-sdk: 9.6.2
  • React Native Version: 0.64.1

The compass shows up as expected when testing the same exact code without the custom sdk.

I suspect the problem is connected to this change here .

Is there anything I can do to make this work again? For example adding any extra configuration to point to the new image resource for the compass since the bitmap version has been deprecated? Or does this require any code changes inside this project?

Many thanks!

mzu avatar Jul 17 '21 15:07 mzu

Hello! @mzu Just following up on this. Is this still a problem for you? There have been newer versions of the dependancies since then and I can now see the compass. If this is still an issue I can take a look at this.

Alexandria avatar Jan 28 '22 17:01 Alexandria

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 18 '22 18:04 stale[bot]