Skip to content

Instantly share code, notes, and snippets.

@hitherejoe hitherejoe/StyleMap.java Secret
Last active Sep 22, 2016

Embed
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
You can’t perform that action at this time.