MTStyleSprite
public struct MTStyleSprite : Decodable, Equatable
Represents a sprite defined in a map style.
-
The identifier of the sprite. Default is “default” for string-based sprites.
Declaration
Swift
public let id: String -
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