Как мы можем достичь значка маркера карты с файлом векторного ресурса, способ, которым Google показывает это так, программно:
Обновление:
map.addMarker(new MarkerOptions()
.position(latLng)
.icon(BitmapDescriptorFactory.fromResource(R.drawable.your_vector_asset))
.title(title);
это не работает при работе с векторными активами. Основная причина - задать вопрос. Ошибка с приведенным выше кодом:
java.lang.IllegalArgumentException: Не удалось декодировать изображение. Предоставленное изображение должно быть растровым.