DataAreaType

public enum DataAreaType

There are thousands of turbulence reports around the globe. To reduce network traffic usage and keep only data that is currently needed the data fetch is separated into the different types controlled by the SkyPath.dataQuery object that is set initially to default values and can be updated at any time. Each area type is fetched by a separate server request. It can be used to update different data map layers if for example route and viewport data are on different layers.

  • The global data can be: turbulence polygons, limited traffic count and limited PIREPs objects. It gives a high level view when no detailed data is needed.

    Declaration

    Swift

    case global
  • The route corridor data configured in SkyPath.dataQuery.

    Declaration

    Swift

    case route
  • The viewport data configured in SkyPath.dataQuery.

    Declaration

    Swift

    case viewport
  • all

    Locally cached data that merges all area types. Provided once after start.

    Declaration

    Swift

    case all