MarkerCollectionObject
Objective-C
@interface MarkerCollectionObject : NSObject
Swift
class MarkerCollectionObject : NSObject
This class encapsulates marker collection information.
-
Initializes and returns a newly allocated object using the model data..
Declaration
Objective-C
- (nonnull instancetype)initWithModelData:(nonnull void *)data;
-
Initializes and returns a newly allocated object using the name and type.
Declaration
Objective-C
- (nonnull instancetype)initWithName:(nonnull NSString *)name type:(MarkerCollectionType)type;
Swift
init(name: String, type: MarkerCollectionType)
-
Returns the model data.
Declaration
Objective-C
- (nonnull void *)getModelData;
-
Returns the collection id.
Declaration
Objective-C
- (NSInteger)getId;
Swift
func getId() -> Int
-
Returns the collection type.
Declaration
Objective-C
- (MarkerCollectionType)getType;
Swift
func getType() -> MarkerCollectionType
-
Returns the collection name.
Declaration
Objective-C
- (nonnull NSString *)getName;
Swift
func getName() -> String
-
Returns the collection size.
Declaration
Objective-C
- (int)getSize;
Swift
func getSize() -> Int32
-
Returns the marker at the given index.
Declaration
Objective-C
- (nullable MarkerObject *)getMarkerAt:(int)index;
Swift
func getMarkerAt(_ index: Int32) -> MarkerObject?
-
Returns the marker with the given identifier.
Declaration
Objective-C
- (nullable MarkerObject *)getMarkerById:(int)identifier;
Swift
func getMarkerById(_ identifier: Int32) -> MarkerObject?
-
Returns the index of the given marker.
Declaration
Objective-C
- (int)indexOf:(nonnull MarkerObject *)marker;
Swift
func index(of marker: MarkerObject) -> Int32
-
Add a new marker to collection.
Declaration
Objective-C
- (void)addMarker:(nonnull MarkerObject *)marker;
Swift
func addMarker(_ marker: MarkerObject)
-
Add a new marker to collection at the given index.
Declaration
Objective-C
- (void)addMarker:(nonnull MarkerObject *)marker atIndex:(int)index;
Swift
func addMarker(_ marker: MarkerObject, at index: Int32)
-
Remove the marker from collection at the given index.
Declaration
Objective-C
- (void)deleteMarkerAtIndex:(int)index;
Swift
func deleteMarker(at index: Int32)
-
Remove all markers.
Declaration
Objective-C
- (void)clear;
Swift
func clear()
-
Get whole collection enclosing area.
Declaration
Objective-C
- (nullable RectangleGeographicAreaObject *)getArea;
Swift
func getArea() -> RectangleGeographicAreaObject?
-
Set the polyline inner color.
Declaration
Objective-C
- (void)setInnerColor:(nonnull UIColor *)color;
Swift
func setInnerColor(_ color: UIColor)
-
Set the polyline outer color.
Declaration
Objective-C
- (void)setOuterColor:(nonnull UIColor *)color;
Swift
func setOuterColor(_ color: UIColor)
-
Set the polyline inner size ( in millimeters ).
Declaration
Objective-C
- (void)setInnerSize:(double)size;
Swift
func setInnerSize(_ size: Double)
-
Set the polyline outer size ( in millimeters ).
Declaration
Objective-C
- (void)setOuterSize:(double)size;
Swift
func setOuterSize(_ size: Double)
-
Set the polygon fill color.
Declaration
Objective-C
- (void)setFillColor:(nonnull UIColor *)color;
Swift
func setFill(_ color: UIColor)
-
Returns the polyline inner color.
Declaration
Objective-C
- (nonnull UIColor *)getInnerColor;
Swift
func getInnerColor() -> UIColor
-
Returns the polyline outer color.
Declaration
Objective-C
- (nonnull UIColor *)getOuterColor;
Swift
func getOuterColor() -> UIColor
-
Returns the polyline inner size ( in millimeters ).
Declaration
Objective-C
- (double)getInnerSize;
Swift
func getInnerSize() -> Double
-
Returns the polyline outer size ( in millimeters ).
Declaration
Objective-C
- (double)getOuterSize;
Swift
func getOuterSize() -> Double
-
Returns the polygon fill color.
Declaration
Objective-C
- (nonnull UIColor *)getFillColor;
Swift
func getFillColor() -> UIColor
-
Set the point image.
Declaration
Objective-C
- (void)setPointImage:(nonnull UIImage *)image;
Swift
func setPointImage(_ image: UIImage)
-
Returns the point image.
Declaration
Objective-C
- (nullable UIImage *)getPointImage;
Swift
func getPointImage() -> UIImage?