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.
Public methods
Functions setPosition / setPositionAnimated
- (BOOL)setPosition:(nonnull NCLocationPoint *)point;
Function sets the position of icon object on the map.
Parameters
point
— location point in metric coordinates.
Return value
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
Parameters
point
— location point in metric coordinates.duration
— animation duration in sectype
— NCAnimationType type of animation
Return value
true
if successfalse
if smth was wrong
Function setSize
- (BOOL)setSize:(float)width
height:(float)height;
Function sets the size of icon object in pixels.
Parameters
width
— width of the icon object in pixelsheight
— height of the icon object in pixels
Function setVisible
- (BOOL)setVisible:(BOOL)visible;
Function is used for setting the visibility of circle object on the map.
Function setBitmap
- (BOOL)setBitmap:(nullable UIImage *)bitmap;
Function is used for setting bitmap of map object.
Parameters
bitmap
— UIImage raster object