StyleURL

public enum StyleURL

Undocumented

  • Undocumented

    Declaration

    Swift

    public static var defaultStreetsVersion: UInt { get }
  • Undocumented

    Declaration

    Swift

    public static var defaultOutdoorsVersion: UInt { get }
  • Undocumented

    Declaration

    Swift

    public static var defaultLightVersion: UInt { get }
  • Undocumented

    Declaration

    Swift

    public static var defaultDarkVersion: UInt { get }
  • Undocumented

    Declaration

    Swift

    public static var defaultSatelliteVersion: UInt { get }
  • Undocumented

    Declaration

    Swift

    public static var defaultSatelliteStreetsVersion: UInt { get }
  • The latest version of the Mapbox Streets style as of publication.

    Mapbox Streets is a general-purpose style with detailed road and transit networks.

    Declaration

    Swift

    case streets
  • The Mapbox Streets style is a general-purpose style with detailed road and transit networks. The latest version of Mapbox Streets is used by default.

    @param version A specific version of the Mapbox Streets style. Defaults to the latest version.

    Declaration

    Swift

    case streetsVersion(_ version: UInt = defaultStreetsVersion)
  • The latest version of the Mapbox Outdoors style as of publication.

    Mapbox Streets is a general-purpose style tailored to outdoor activities.

    Declaration

    Swift

    case outdoors
  • The Mapbox Outdoors style is a general-purpose style tailored to outdoor activities. The latest version of Mapbox Outdoors is used by default.

    @param version A specific version of the Mapbox Outdoors style. Defaults to the latest version.

    Declaration

    Swift

    case outdoorsVersion(_ version: UInt = defaultOutdoorsVersion)
  • The latest version of the Mapbox Light style as of publication.

    Mapbox Light is a subtle, light-colored backdrop for data visualizations.

    Declaration

    Swift

    case light
  • The Mapbox Light style is a subtle, light-colored backdrop for data visualizations.

    The latest version of Mapbox Light is used by default.

    @param version A specific version of the Mapbox Light style. Defaults to the latest version.

    Declaration

    Swift

    case lightVersion(_ version: UInt = defaultLightVersion)
  • The latest version of the Mapbox Dark style as of publication.

    Mapbox Dark is a subtle, dark-colored backdrop for data visualizations.

    Declaration

    Swift

    case dark
  • The Mapbox Dark style is a subtle, dark-colored backdrop for data visualizations.

    The latest version of Mapbox Dark is used by default.

    @param version A specific version of the Mapbox Dark style. Defaults to the latest version.

    Declaration

    Swift

    case darkVersion(_ version: UInt = defaultDarkVersion)
  • The latest version of the Mapbox Satellite style as of publication.

    Mapbox Satellite is a base-map of high-resolution satellite and aerial imagery.

    Declaration

    Swift

    case satellite
  • The Mapbox Satellite style is a base-map of high-resolution satellite and aerial imagery.

    The latest version of Mapbox Satellite is used by default.

    @param version A specific version of the Mapbox Satellite style. Defaults to the latest version.

    Declaration

    Swift

    case satelliteVersion(_ version: UInt = defaultSatelliteVersion)
  • The latest version of the Mapbox Satellite Streets style as of publication.

    The latest version of Mapbox Satellite Streets is used by default.

    Declaration

    Swift

    case satelliteStreets
  • The Mapbox Satellite Streets style combines the high-resolution satellite and aerial imagery of Mapbox Satellite with unobtrusive labels and translucent roads from Mapbox Streets.

    The latest version of Mapbox Satellite Streets is used by default.

    @param version A specific version of the Mapbox Satellite Streets style. Defaults to the latest version.

    Declaration

    Swift

    case satelliteStreetsVersion(_ version: UInt = defaultSatelliteStreetsVersion)
  • The URL to a custom style. The URL may be a full HTTP or HTTPS URL, a Mapbox style URL (mapbox://styles/{user}/{style}), or a path to a local file relative to the application’s resource path.

    @param url The URL to a custom style.

    Declaration

    Swift

    case custom(url: URL)
  • url

    Undocumented

    Declaration

    Swift

    public var url: URL { get }