-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Setting my location view drawables in xml causes entire object to tint #9393
Comments
Hi guys, can someone help me to put a annotation like that car in my project?? this is the code im testing. `/*
package com.raywenderlich.where2go import android.annotation.SuppressLint class MainActivity : AppCompatActivity(), //1 //2 var locationEngine: LocationEngine? = null var navigationMapRoute: NavigationMapRoute? = null override fun onCreate(savedInstanceState: Bundle?) {
} override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
} @SuppressWarnings("MissingPermission")
} override fun onResume() { override fun onPause() { override fun onStop() { override fun onDestroy() { override fun onLowMemory() { override fun onSaveInstanceState(outState: Bundle?) { override fun onExplanationNeeded(permissionsToExplain: MutableList?) { override fun onPermissionResult(granted: Boolean) { override fun onLocationChanged(location: Location?) { override fun onConnected() { override fun onMapReady(mapboxMap: MapboxMap?) {
} //1 //2
} @SuppressWarnings("MissingPermission")
} //3 override fun onRequestPermissionsResult(requestCode: Int, permissions: Array, grantResults: IntArray) {
} /*override fun onMapClick(point: LatLng) {
} private fun getRoute(originPoint: Point, endPoint: Point) {
} ` |
When setting a location layer foreground or bearing drawable in xml, the icon gets fully tinted before displaying to the user.
@tobrun @Guardiola31337
The text was updated successfully, but these errors were encountered: