StyleByZoom

public protocol StyleByZoom

Represents the style value to use for each zoom level.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Generic value per zoom level.

    Declaration

    Swift

    associatedtype Value
  • A mapping of zoom levels to a generic style type.

    Declaration

    Swift

    var valueByZoom: [Double : Value] { get }
  • The default value used when no mapping is found.

    Declaration

    Swift

    var defaultValue: Value { get }