class NCIconMapObject - Navigine/Indoor-Navigation-iOS-Mobile-SDK-2.0 GitHub Wiki
NCIconMapObject class is used for showing icon objects on the map.
Referenced from: LocationView.
- (BOOL)setPosition:(nonnull NCLocationPoint *)point;
Function sets the position of icon 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 icon 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)setSize:(float)width
height:(float)height;
Function sets the size of icon object in pixels.
-
width
— width of the icon object in pixels -
height
— height of the icon object in pixels
- (BOOL)setVisible:(BOOL)visible;
Function is used for setting the visibility of circle object on the map.
- (BOOL)setBitmap:(nullable UIImage *)bitmap;
Function is used for setting bitmap of map object.
-
bitmap
— UIImage raster object