MTStyleSprite

public struct MTStyleSprite : Decodable, Equatable

Represents a sprite defined in a map style.

  • id

    The identifier of the sprite. Default is “default” for string-based sprites.

    Declaration

    Swift

    public let id: String
  • url

    The URL of the sprite.

    Declaration

    Swift

    public let url: URL
  • Undocumented

    Declaration

    Swift

    public init(id: String = "default", url: URL)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws