Skip to content

Instantly share code, notes, and snippets.

Last active Sep 22, 2016
What would you like to do?
try {
boolean success = map.setMapStyle(
MapStyleOptions.loadRawResourceStyle(this, R.raw.style_json));
if (!success) {
// Handle map style load failure
} catch (Resources.NotFoundException e) {
// Oops, looks like the map style resource couldn't be found!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment