MPMapboxStyleSource.custom constructor

const MPMapboxStyleSource.custom(
  1. String styleUri
)

Cache a custom Mapbox style, given as the same mapbox://styles/... URI the map is rendering.

Implementation

const MPMapboxStyleSource.custom(String styleUri)
    : _type = "custom",
      _styleUri = styleUri;