Set map marker to a custom color Android
I am making an app that adds pins to a map at certain points. I want the color of my pins to match the theme colors of our app. Sorry I'm really a noob int color = Color.rgb(255, 201, 14); mMap = ((MapFragment) getFragmentManager().findFragmentById(R.id.map)).getMap(); final LatLng PERTH = new LatLng(40, -80); Marker perth = mMap.addMarker(new MarkerOptions() .position(PERTH) .title("MY PIN") .snippet("MAGGIE EATS SNAKE SKINS") .draggable(true) .icon(BitmapDescriptorFactory.fromResource(R.drawable.pin)) .icon(BitmapDescriptorFactory.defaultMarker(BitmapDescriptorFactory.color))); The .icon