Enumerations

The following enumerations are available globally.

  • Where we’d like an add to be executed. If you need immediate feedback, then be on the main thread and use MaplyThreadCurrent. Any is the default.

    See more

    Declaration

    Objective-C

    enum MaplyThreadMode {}

    Swift

    enum MaplyThreadMode : Int
  • The various image formats we support. RGBA is the default, and most expensive.

    See more

    Declaration

    Objective-C

    enum MaplyQuadImageFormat {}

    Swift

    enum MaplyQuadImageFormat : Int
  • The system can set up as either GL or Metal

    See more

    Declaration

    Objective-C

    enum MaplyRenderType {}

    Swift

    enum MaplyRenderType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, MaplyMapType) {
    	MaplyMapType3D,
    	MaplyMapTypeFlat,
    }

    Swift

    enum MaplyMapType : Int
  • How we load frames in the QuadImageFrameLoader Broad means we load 0 first and the on down Narrow means we load the frames around the current display first

    See more

    Declaration

    Objective-C

    enum MaplyLoadFrameMode {}

    Swift

    enum MaplyLoadFrameMode : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger,MaplyMipmapType) {
        /// Don't generate a mipmap
        MaplyMipmapNone,
        /// Generate a basic mipmap
        MaplyMipmapAverage,
        /// Generate a mipmap using Gauss blurring
        MaplyMipmapGauss
    }

    Swift

    enum MaplyMipmapType : UInt
  • The various types of attributes that can be passed in to shaders.

    See more

    Declaration

    Objective-C

    enum MaplyShaderAttrType {}

    Swift

    enum MaplyShaderAttrType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger,MapboxLayerType) {
        MapboxLayerTypeBackground,
        MapboxLayerTypeCircle,
        MapboxLayerTypeFill,
        MapboxLayerTypeLine,
        MapboxLayerTypeRaster,
        MapboxLayerTypeSymbol,
        MapboxLayerTypeUnknown
    }

    Swift

    enum MapboxLayerType : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger,MapboxGeometryType)
    {
        GeomTypeUnknown = 0,
        GeomTypePoint = 1,
        GeomTypeLineString = 2,
        GeomTypePolygon = 3
    }

    Swift

    enum MapboxGeometryType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, MaplyLabelJustify) {
    	MaplyLabelJustifyLeft,
    	MaplyLabelJustifyMiddle,
    	MaplyLabelJustifyRight
    }

    Swift

    enum MaplyLabelJustify : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, MaplyParticleSystemType) {
    	MaplyParticleSystemTypePoint,
    	MaplyParticleSystemTypeRectangle,
    }

    Swift

    enum MaplyParticleSystemType : Int
  • Data type for the vector. Multi means it contains multiple types

    See more

    Declaration

    Objective-C

    enum MaplyVectorObjectType {}

    Swift

    enum MaplyVectorObjectType : Int