class NCCircleMapObject - Navigine/Indoor-Navigation-iOS-Mobile-SDK-2.0 GitHub Wiki
NCCircleMapObject class is used for showing circle objects on the map.
Referenced from: NCLocationView.
- (boolean)setPosition:(nonnull LocationPoint *)point;
Function sets the position of circle object on the map.
-
point
— location point in metric coordinates.
-
true
if successfalse
if smth was wrong
- (BOOL)setPositionAnimated:(nonnull NCLocationPoint *)point
duration:(float)duration
type:(NCAnimationType)type;
Function sets the position of circle object on the map with animation
-
point
— location point in metric coordinates. -
duration
— animation duration in sec -
type
— NCAnimationType type of animation
-
true
if successfalse
if smth was wrong
- (BOOL)setRadius:(float)radius;
Function sets the radius of circle object.
-
radius
— radius of the circle object in meters
- (BOOL)setVisible:(BOOL)visible;
Function is used for setting the visibility of circle object on the map.
- (BOOL)setColor:(float)red
green:(float)green
blue:(float)blue
alpha:(float)alpha;
Function is used for setting the color of map object.
-
red
— red color in range 0..1. -
green
— green color in range 0..1. -
blue
— blue color in range 0..1. -
alpha
— alpha color in range 0..1.