MTMapReferenceStyle

public enum MTMapReferenceStyle : Identifiable, Hashable, @unchecked Sendable

Defines purpose and guidelines on what information is displayed.

  • id

    Unique id of the style.

    Declaration

    Swift

    public var id: String { get }
  • The classic default style, perfect for urban areas.

    Declaration

    Swift

    case streets
  • High resolution satellite images.

    Declaration

    Swift

    case satellite
  • A solid hiking companion, with peaks, parks, isolines and more.

    Declaration

    Swift

    case outdoor
  • A map for developing skiing, snowboarding and other winter activities and adventures.

    Declaration

    Swift

    case winter
  • A minimalist style for data visualization.

    Declaration

    Swift

    case dataviz
  • A minimalist alternative to STREETS, with a touch of flat design.

    Declaration

    Swift

    case basic
  • A minimalist style for high contrast navigation.

    Declaration

    Swift

    case bright
  • Reference style for topographic study.

    Declaration

    Swift

    case topo
  • Reference style for very high contrast stylish maps.

    Declaration

    Swift

    case toner
  • Neutral greyscale style with hillshading suitable for colorful terrain-aware visualization.

    Declaration

    Swift

    case backdrop
  • Reference style without any variants.

    Declaration

    Swift

    case openStreetMap
  • Custom style from the URL.

    Custom style does not have variants.

    Declaration

    Swift

    case custom(URL)
  • Returns all child variants.

    Declaration

    Swift

    public func getVariants() -> [MTMapStyleVariant]?
  • Returns boolean indicating whether style is custom or pre-made.

    Declaration

    Swift

    public func isCustom() -> Bool
  • Returns reference style name..

    Declaration

    Swift

    public func getName() -> String
  • Returns all pre-made styles.

    Declaration

    Swift

    public static func all() -> [MTMapReferenceStyle]