One object for a cloud of screen-space arrows. More...
#include <com/navigine/idl/objc/NCPointBatch.h>
Inheritance diagram for NCPointBatch:Instance Methods | |
| (BOOL) | - setPoints:sublocationId: |
Replaces every arrow. sublocationId null draws on the outdoor map. | |
| (nullable NSNumber *) | - hitTest:radius: |
Index of the nearest arrow inside radius pixels, or null. | |
| (int32_t) | - getId |
| Gets the unique identifier of the map object. | |
| (NCMapObjectType) | - getType |
| Gets the type of the map object. | |
| (nonnull NSData *) | - getData |
| Gets the user-defined data associated with the map object. | |
| (BOOL) | - setVisible: |
| Method is used to specify the visibility of the map object. | |
| (BOOL) | - setInteractive: |
| Method is used to specify whether the map object can be interacted with. | |
| (void) | - setData: |
| Method is used to set user-defined data for the map object. | |
| (BOOL) | - setTitle: |
| Method is used to set the title of the map object. | |
| (BOOL) | - setTitleWithStyle:style: |
| Method is used to set the title and its style for the map object. | |
| (BOOL) | - setAlpha: |
| Method is used to set the opacity of the map object. | |
Properties | |
| BOOL | valid |
One object for a cloud of screen-space arrows.
setPoints replaces the whole set. The list order is the index returned by hitTest. The host draws the tooltip. Points are not clustered.
Definition at line 23 of file NCPointBatch.h.
| - (nonnull NSData *) getData |
Gets the user-defined data associated with the map object.
Swift code snippet:
Objective C code snippet:
| - (int32_t) getId |
Gets the unique identifier of the map object.
Swift code snippet:
Objective C code snippet:
| - (NCMapObjectType) getType |
Gets the type of the map object.
Swift code snippet:
Objective C code snippet:
| - (nullable NSNumber *) hitTest: | (CGPoint) | point | |
| radius: | (float) | radius |
Index of the nearest arrow inside radius pixels, or null.
| - (BOOL) setAlpha: | (float) | alpha |
Method is used to set the opacity of the map object.
| alpha | Opacity multiplier. Values below 0 will be set to 0. Values above 1 will be set to 1. Default: 1. |
Swift code snippet:
Objective C code snippet:
| - (void) setData: | (nonnull NSData *) | data |
Method is used to set user-defined data for the map object.
| data | Data to store in the map object. |
Swift code snippet:
Objective C code snippet:
| - (BOOL) setInteractive: | (BOOL) | interactive |
Method is used to specify whether the map object can be interacted with.
| interactive | Specifies whether the object can be picked in the pickMapObjectAt method (true) or not (false). Default: false. |
Swift code snippet:
Objective C code snippet:
| - (BOOL) setPoints: | (nonnull NSArray< NCPointSprite * > *) | points | |
| sublocationId: | (nullable NSNumber *) | sublocationId |
Replaces every arrow. sublocationId null draws on the outdoor map.
| - (BOOL) setTitle: | (nonnull NSString *) | title |
Method is used to set the title of the map object.
| title | The title to display on the location view. |
Swift code snippet:
Objective C code snippet:
| - (BOOL) setTitleWithStyle: | (nonnull NSString *) | title | |
| style: | (nonnull NCTitleStyle *) | style |
Method is used to set the title and its style for the map object.
| title | The title to display on the location view. |
| style | Title style parameters TitleStyle. |
Swift code snippet:
Objective C code snippet:
| - (BOOL) setVisible: | (BOOL) | visible |
Method is used to specify the visibility of the map object.
| visible | Specifies whether the object is visible (true) or hidden (false). Default: true. |
Swift code snippet:
Objective C code snippet:
|
readnonatomicassign |
Tells if this object is valid or not. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now.
Definition at line 44 of file NCPointBatch.h.