AWFCombinedSource

Objective-C

@interface AWFCombinedSource : AWFPointSource

Swift

class AWFCombinedSource : AWFPointSource

An AWFCombinedSource object represents a data source that manages a combination of different overlays on a map. Specifically, this layer type manages annotations, overlays, polygons and polylines needed to display a specific data layer.

  • The overlays being managed by the source (readonly).

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSArray *overlays;

    Swift

    var overlays: [Any]? { get }
  • The polygons being managed by the source (readonly).

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSArray<NSObject<AWFPolygon> *> *polygons;
  • The polylines being managed by the source (readonly).

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSArray<NSObject<AWFPolyline> *> *polylines;
  • The style to apply to the source’s overlays.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) id overlayStyle;

    Swift

    var overlayStyle: Any? { get set }
  • An array of animations associated with the content source. For combined sources, each map data representable type will have its own animation instance for managing the rendering of data for that map representable type.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<AWFAnimation *> *animations;

    Swift

    var animations: [AWFAnimation]? { get set }
  • Determines whether the map source should show annotations during an animation, which is YES by default.

    Declaration

    Objective-C

    @property (nonatomic) BOOL showAnnotationsDuringAnimation;

    Swift

    var showAnnotationsDuringAnimation: Bool { get set }
  • Determines whether the map source should show overlays during an animation, which is NO by default.

    Declaration

    Objective-C

    @property (nonatomic) BOOL showOverlaysDuringAnimation;

    Swift

    var showOverlaysDuringAnimation: Bool { get set }
  • Determines whether the map source should show polygons during an animation, which is NO by default.

    Declaration

    Objective-C

    @property (nonatomic) BOOL showPolygonsDuringAnimation;

    Swift

    var showPolygonsDuringAnimation: Bool { get set }
  • Determines whether the map source should show polylines during an animation, which is NO by default.

    Declaration

    Objective-C

    @property (nonatomic) BOOL showPolylinesDuringAnimation;

    Swift

    var showPolylinesDuringAnimation: Bool { get set }
  • Returns a single overlay representing a set of objects on the map based on a specific group identifier.

    Declaration

    Objective-C

    - (nullable NSArray *)overlayForIdentifier:(nonnull NSString *)identifier;

    Swift

    func overlay(forIdentifier identifier: String) -> [Any]?

    Parameters

    identifier

    The group identifier to return an overlay for.

    Return Value

    Returns a single map overlay object, which varies depending on the map strategy being used.

  • Returns an array of polygons representing a set of objects on the map based on a specific group identifier.

    Declaration

    Objective-C

    - (nullable NSArray<NSObject<AWFPolygon> *> *)polygonsForIdentifier:
        (nonnull NSString *)identifier;

    Parameters

    identifier

    The group identifier to return polygons for.

    Return Value

    Returns an array of map polygon objects, which varies depending on the map strategy being used.

  • Returns an array of polylines representing a set of objects on the map based on a specific group identifier.

    Declaration

    Objective-C

    - (nullable NSArray<NSObject<AWFPolyline> *> *)polylinesForIdentifier:
        (nonnull NSString *)identifier;

    Parameters

    identifier

    The group identifier to return polylines for.

    Return Value

    Returns an array of map polyline objects, which varies depending on the map strategy being used.