LocationComponentOptions locationComponentOptions = LocationComponentOptions.builder(this) .layerBelow(layerId) .foregroundDrawable(R.drawable.drawable_name) .bearingTintColor(int color) .accuracyAlpha(float) .build(); LocationComponentActivationOptions locationComponentActivationOptions = LocationComponentActivationOptions .builder(this, style) .locationComponentOptions(locationComponentOptions) .build(); locationComponent = mapboxMap.getLocationComponent(); locationComponent.activateLocationComponent(locationComponentActivationOptions); Pielavesi.v0.64_ios