LayerError

public enum LayerError : Error

Error enum for all layer-related errors

  • The layer provided to the map in addLayer() could not be encoded

    Declaration

    Swift

    case layerEncodingFailed(Error)
  • The layer retrieved from the map could not be decoded.

    Declaration

    Swift

    case layerDecodingFailed(Error)
  • Addding the style layer to the map failed

    Declaration

    Swift

    case addStyleLayerFailed(String?)
  • The layer properties for a layer are nil

    Declaration

    Swift

    case getStyleLayerFailed(String?)
  • Remove the style layer from the map failed

    Declaration

    Swift

    case removeStyleLayerFailed(String?)
  • The retrieved layer is nil

    Declaration

    Swift

    case retrievedLayerIsNil
  • Updating the layer failed with error

    Declaration

    Swift

    case updateStyleLayerFailed(Error)