Loading...
Searching...
No Matches

represents icon object on location view. More...

#include <com/navigine/idl/objc/NCFlatIconMapObject.h>

+ Inheritance diagram for NCFlatIconMapObject:

Instance Methods

(BOOL) - setAngle:
 Method is used to specify rotation of object.
 
(BOOL) - setAngleAnimated:duration:type:
 Method is used to rotate object with specified animation.
 
(BOOL) - setPosition:
 Method is used to specify center of object.
 
(BOOL) - setPositionAnimated:duration:type:
 Method is used to move center of object with specified animation LocationPoint.
 
(BOOL) - setBitmap:
 Method is used to specify bitmap image to the object.
 
(BOOL) - setSize:height:
 Method is used to specify size of object.
 
(int32_t) - getId
 Unique identifier of map object.
 
(NCMapObjectType- getType
 Map object type MapObjectType. Map object could be casted to the specified type.
 
(nonnull NSData *) - getData
 Any kind of user's data.
 
(BOOL) - setVisible:
 Method is used to change visibility of map object.
 
(BOOL) - setInteractive:
 Method is used to interactive property If True - map object could be handled in pickMapObjectAt method.
 
(BOOL) - setStyle:
 Method is used to apply custom styling to map object.
 
(void) - setData:
 Method is used to set any kind of user's data.
 
(BOOL) - setTitle:
 Method is used to set object title. Title will shown on location view.
 

Detailed Description

represents icon object on location view.

Referenced from LocationWindow.

Note
FlatIconMapObject keep orientation to location view surface.

Definition at line 23 of file NCFlatIconMapObject.h.

Method Documentation

◆ getData

- (nonnull NSData *) getData

Any kind of user's data.

Returns
Data stored in map object MapObjectType.

◆ getId

- (int32_t) getId

Unique identifier of map object.

Returns
Unique identifier of current map objcet MapObjectType

◆ getType

- (NCMapObjectType) getType

Map object type MapObjectType. Map object could be casted to the specified type.

Returns
Type of current map objcet MapObjectType.

◆ setAngle:

- (BOOL) setAngle: (double) angle

Method is used to specify rotation of object.

Parameters
angleangle of rotation in degrees.
Returns
true if success, false otherwise.

◆ setAngleAnimated:duration:type:

- (BOOL) setAngleAnimated: (double) angle
duration: (float) duration
type: (NCAnimationType) type 

Method is used to rotate object with specified animation.

Parameters
angleangle of rotation in degrees.
durationanimation duration in seconds.
typeanimation type AnimationType.
Returns
true if success, false otherwise.

◆ setBitmap:

- (BOOL) setBitmap: (nullable UIImage *) bitmap

Method is used to specify bitmap image to the object.

Parameters
bitmapplatfrom bitmap object.
Returns
true if success, false otherwise.

◆ setData:

- (void) setData: (nonnull NSData *) data

Method is used to set any kind of user's data.

Parameters
dataData to store in map object

◆ setInteractive:

- (BOOL) setInteractive: (BOOL) interactive

Method is used to interactive property If True - map object could be handled in pickMapObjectAt method.

Parameters
interactivecontrol interactivity of the object.
Returns
true if success, false otherwise.

◆ setPosition:

- (BOOL) setPosition: (nonnull NCLocationPoint *) point

Method is used to specify center of object.

Parameters
pointmetrics coordinate of center LocationPoint.
Returns
true if success, false otherwise.

◆ setPositionAnimated:duration:type:

- (BOOL) setPositionAnimated: (nonnull NCLocationPoint *) point
duration: (float) duration
type: (NCAnimationType) type 

Method is used to move center of object with specified animation LocationPoint.

Parameters
pointmetrics coordinate of center LocationPoint.
durationanimation duration in seconds.
typeanimation type AnimationType.
Returns
true if success, false otherwise.

◆ setSize:height:

- (BOOL) setSize: (float) width
height: (float) height 

Method is used to specify size of object.

Parameters
widthwidth of object in pixels.
heightwidth of object in pixels.
Returns
true if success, false otherwise.

◆ setStyle:

- (BOOL) setStyle: (nonnull NSString *) style

Method is used to apply custom styling to map object.

Parameters
stylestyling string (Style parameters).
Returns
true if success, false otherwise.

◆ setTitle:

- (BOOL) setTitle: (nonnull NSString *) title

Method is used to set object title. Title will shown on location view.

Parameters
titleof map object.
Returns
true if success, false otherwise.

◆ setVisible:

- (BOOL) setVisible: (BOOL) visible

Method is used to change visibility of map object.

Parameters
visiblecontrol visibility of the object.
Returns
true if success, false otherwise.

The documentation for this class was generated from the following file: