MSFVectorElementClickInfo

Objective-C


@interface MSFVectorElementClickInfo : NSObject {
  void *swigCPtr;
  BOOL swigCMemOwn;
}

Swift

class MSFVectorElementClickInfo : NSObject

A container class that provides information about a click performed on a vector element.

  • Checks if this object is equal to the specified object.

    Declaration

    Objective-C

    - (BOOL)isEqual:(id)object;

    Swift

    func isEqual(_ object: Any!) -> Bool

    Parameters

    object

    The reference object.

    Return Value

    True when objects are equal, false otherwise.

  • Returns the hash value of this object.

    Declaration

    Objective-C

    - (NSUInteger)hash;

    Swift

    func hash() -> UInt

    Return Value

    The hash value of this object.

  • Returns the click type.

    Declaration

    Objective-C

    - (enum MSFClickType)getClickType;

    Swift

    func getClickType() -> MSFClickType

    Return Value

    The type of the click performed.

  • Returns the click info.

    Declaration

    Objective-C

    - (MSFClickInfo *)getClickInfo;

    Swift

    func getClickInfo() -> MSFClickInfo!

    Return Value

    The attributes of the click.

  • Returns the click position.

    Declaration

    Objective-C

    - (MSFMapPos *)getClickPos;

    Swift

    func getClickPos() -> MSFMapPos!

    Return Value

    The click position in the coordinate system of the data source.

  • Returns the position on the clicked element, that is close to the click position. For points it will always be the center position, for lines it will be the closest point on the line, for billboards it will be the anchor point and for polygons it’s equal to getClickPos().

    Declaration

    Objective-C

    - (MSFMapPos *)getElementClickPos;

    Swift

    func getElementClickPos() -> MSFMapPos!

    Return Value

    The element click position in the coordinate system of the data source.

  • Returns the clicked vector element.

    Declaration

    Objective-C

    - (MSFVectorElement *)getVectorElement;

    Swift

    func getVectorElement() -> MSFVectorElement!

    Return Value

    The vector element on which the click was performed.

  • Returns the layer of the clicked vector element.

    Declaration

    Objective-C

    - (MSFLayer *)getLayer;

    Swift

    func getLayer() -> MSFLayer!

    Return Value

    The layer of the vector element on which the click was performed.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()