2

Добрый день-вечер. Ребят, возможно ли реализовать ночный режим или темное покрытие в Google Maps API v2? Или все попытки тщетны?

1 ответ 1

1
try {
    // Customise the styling of the base map using a JSON object defined
    // in a raw resource file.
    boolean success = mMap.setMapStyle(MapStyleOptions.loadRawResourceStyle(this, R.raw.style_json));

    if (!success) {
        Log.e("MapsActivityRaw", "Style parsing failed.");
    }
} catch (Resources.NotFoundException e) {
    Log.e("MapsActivityRaw", "Can't find style.", e);
}

Источник

Ваш ответ

By clicking “Отправить ответ”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками или задайте свой вопрос.