You should initialize a manager class within the onMapReady() method to be sure that the annotations are added to a MapboxMap that's completely ready. The manager classes are explained below and their constructors only require a MapboxMap object. The plugin includes manager classes for the various map layers available in the Mapbox Maps SDK for Android. Implementation ':mapbox-android-plugin-annotation-v9:0.9.0' } Initialize the plugin
0 Comments
Leave a Reply. |