public class Style extends Object
Style provides URLs to several professional styles designed by Mapbox.
These styles are all ready to go in your app. To load one, pass it intoMapView.setStyleUrl(String)
MapView.setStyleUrl(String)
Modifier and Type | Class and Description |
---|---|
static interface |
Style.StyleUrl
Indicates the parameter accepts one of the values from Style.
|
Modifier and Type | Field and Description |
---|---|
static String |
DARK
Dark: Subtle dark backdrop for data visualizations.
|
static String |
LIGHT
Light: Subtle light backdrop for data visualizations.
|
static String |
MAPBOX_STREETS
Mapbox Streets: A complete basemap, perfect for incorporating your own data.
|
static String |
OUTDOORS
Outdoors: A general-purpose style tailored to outdoor activities.
|
static String |
SATELLITE
Satellite: A beautiful global satellite and aerial imagery layer.
|
static String |
SATELLITE_STREETS
Satellite Streets: Global satellite and aerial imagery with unobtrusive labels.
|
static String |
TRAFFIC_DAY
Traffic Day: Color-coded roads based on live traffic congestion data.
|
static String |
TRAFFIC_NIGHT
Traffic Night: Color-coded roads based on live traffic congestion data, designed to maximize
legibility in low-light situations.
|
Constructor and Description |
---|
Style() |
public static final String MAPBOX_STREETS
public static final String OUTDOORS
public static final String LIGHT
public static final String DARK
public static final String SATELLITE
public static final String SATELLITE_STREETS
public static final String TRAFFIC_DAY
public static final String TRAFFIC_NIGHT
© 2015–2018 Mapbox. All rights reserved.