bytebitx
bytebitx
I encountered the same problem, is there a solution?
class MapBoxViewActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_map_box) with(findViewById(R.id.mapView)) { // 设置地图样式 mapboxMap.loadStyle(Style.SATELLITE) location.locationPuck = createDefault2DPuck(true) location.enabled = true location.puckBearing = PuckBearing.COURSE viewport.transitionTo( targetState = viewport.makeFollowPuckViewportState(...