bbbfly.Map. MapboxStyleLayer

Properties

Name Type Default Description
Type bbbfly.Map.Layer.type mapbox_style
StyleUrl string Mapbox style URL
AccessToken string Mapbox access token
Format string 'png32' optional Service image format
See:

Examples

...
Layers: [{
  Type: 'MapboxStyleLayer',
  StyleUrl: 'mapbox://styles/mapbox/emerald-v8',
  Attribution: ['© Mapbox', '© OpenStreetMap'],
  AccessToken: 'your access token'
}]
...

Extends