Rotate and change position for markers in latest MapBox SDK 6.7
问题 Mapbox Android SDK: 6.7.0 The requirement in the application we are developing is that we have to add multiple markers in different LatLng positions and also rotate them with some bearing. In the old mapbox version(4.2.1), we could do it without any issues. ////Working code with MapBox SDK 4.2.1//// MarkerViewOptions markerViewOptions = new MarkerViewOptions(); IconFactory iconFactory = IconFactory.getInstance(this); Icon arrowIcon = iconFactory.fromResource(R.drawable.compass_needle);