code: public static BitmapDescriptor vectorToBitmap(@DrawableRes int drawableRes, @ColorRes int colorRes) {
  		Drawable vectorDrawable = VectorDrawableCompat.create(AbstractApplication.get().getResources(), drawableRes, null);
  		Bitmap bitmap = Bitmap.createBitmap(vectorDrawable.getIntrinsicWidth(), vectorDrawable.getIntrinsicHeight(), Bitmap.Config.ARGB_8888);
  		Canvas canvas = new Canvas(bitmap);
  		vectorDrawable.setBounds(0, 0, canvas.getWidth(), canvas.getHeight());
  		DrawableCompat.setTint(vectorDrawable, AbstractApplication.get().getResources().getColor(colorRes));
  		vectorDrawable.draw(canvas);
  		return BitmapDescriptorFactory.fromBitmap(bitmap);
  	}
docs: Convert a {@link Drawable} to a {@link BitmapDescriptor}, for use as a marker icon.