MaplyGeomState

@interface MaplyGeomState : NSObject

Geometry State is used to describe the visual look of objects as they’re added.

Set the various fields in the geometry state to control how geometry looks when you add it. There are defaults for all of these fields.

  • Color to use for the geometry

    Declaration

    Objective-C

    @property (nonatomic,strong) UIColor *color
  • Background color for text

    Declaration

    Objective-C

    @property (nonatomic,strong) UIColor *backColor
  • UIImage for MaplyTexture to apply to geometry

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) id texture;

    Swift

    var texture: Any! { get set }