Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
MapboxStaticImage client = new MapboxStaticImage.Builder()
.setAccessToken(Constants.MAPBOX_ACCESS_TOKEN)
.setWidth(1200).setHeight(800)
.setStyleId(Constants.MAPBOX_STYLE_TRAFFIC_DAY)
.setLat(37.783333).setLon(-122.416667).setZoom(15)
.build();
String url = client.getUrl().toString();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment