Other Classes
The following classes are available globally.
-
Information about an attribution statement, usually a copyright or trademark statement, associated with a map content source.
See moreDeclaration
Objective-C
@interface MGLAttributionInfo : NSObject
Swift
class MGLAttributionInfo : NSObject
-
An
MGLConstantStyleValue
object is a generic container for a style attribute value that remains constant as the zoom level changes. The layout and paint attribute properties ofMGLStyleLayer
objects can be set toMGLConstantStyleValue
objects.The
See moreMGLConstantStyleValue
class takes a generic parameterT
that indicates the Foundation class being wrapped by this class.Declaration
Objective-C
@interface MGLConstantStyleValue <T> : MGLStyleValue<T>
Swift
class MGLConstantStyleValue
-
An
MGLStyleFunction
is a is an abstract superclass for functions that are defined by anMGLCameraStyleFunction
,MGLSourceStyleFunction
, orMGLCompositeStyleFunction
object.Create instances of
MGLCameraStyleFunction
,MGLSourceStyleFunction
, andMGLCompositeStyleFunction
in order to useMGLStyleFunction
‘s methods. Do not create instances ofMGLStyleFunction
directly, and do not create your own subclasses of this class.The
See moreMGLStyleFunction
class takes a generic parameterT
that indicates the Foundation class being wrapped by this class.Declaration
Objective-C
@interface MGLStyleFunction <T> : MGLStyleValue<T>
Swift
class MGLStyleFunction
-
An
MGLCameraStyleFunction
is a value function defining a style value that changes as the zoom level changes. The layout and paint attribute properties of anMGLStyleLayer
object can be set toMGLCameraStyleFunction
objects. Use a camera function to create the illusion of depth and control data density.The
See moreMGLCameraStyleFunction
class takes a generic parameterT
that indicates the Foundation class being wrapped by this class.Declaration
Objective-C
@interface MGLCameraStyleFunction <T> : MGLStyleFunction<T>
Swift
class MGLCameraStyleFunction
-
An
MGLSourceStyleFunction
is a value function defining a style value that changes with its properties. The layout and paint attribute properties of anMGLStyleLayer
object can be set toMGLSourceStyleFunction
objects. Use source functions to visually differentate types of features within the same layer or create data visualizations.The
See moreMGLSourceStyleFunction
class takes a generic parameterT
that indicates the Foundation class being wrapped by this class.Declaration
Objective-C
@interface MGLSourceStyleFunction <T> : MGLStyleFunction<T>
Swift
class MGLSourceStyleFunction
-
An
MGLCompositeStyleFunction
is a value function defining a style value that changes with the feature attributes at each map zoom level. The layout and paint attribute properties of anMGLStyleLayer
object can be set toMGLCompositeStyleFunction
objects. Use composite functions to allow the appearance of a map feature to change with both its attributes and the map zoom level.The
See moreMGLCompositeStyleFunction
class takes a generic parameterT
that indicates the Foundation class being wrapped by this class.Declaration
Objective-C
@interface MGLCompositeStyleFunction <T> : MGLStyleFunction<T>
Swift
class MGLCompositeStyleFunction