-
Notifications
You must be signed in to change notification settings - Fork 5
Class NCTextureMapObject
NCTextureMapObject class is used for showing texture objects on the map.
Referenced from: NCLocationView.
- (void)setPosition:(nonnull NCPoint *)point;
Function sets the position of texture object on the map.
-
point
— x and y metric coordinates.
- (nonnull NCPoint *)getPosition;
Function returns the position of texture object on the map.
X and y metric coordinates of texture object.
- (void)setSize:(float)width
height:(float)height;
Function sets the size of texture object on the map.
-
width
— width of texture object in metric coordinates. (You should know the size of base location view image, for fitting the screen) -
height
— height of texture object in metric coordinates. (You should know the size of base location view image, for fitting the screen)
- (float)getWidth;
Function returns the width of texture map object.
Width of texture in metric coordinates.
- (float)getHeight;
Function returns the height of texture map object.
Height of texture in metric coordinates.
- (void)setData:(nonnull NSData *)data;
Function sets the data for circle map object which could be used for distinguishing different objects on map.
-
data
— byte array of data.
- (nonnull NSData *)getData;
Function returns the data attached to the circle object.
Byte array of data.
- (void)setEnabled:(BOOL)status;
Function is used for setting the visibility of texture object on the map.
-
visibility
— visibility of texture map object on screen.
- (void)setTexture:(nonnull NSData *)data
imageWidth:(int32_t)imageWidth
imageHeight:(int32_t)imageHeight;
Function is used for setting the texture data and its width and height into texture map object.
-
data
— byte array of image data. -
imageWidth
— width of image which should be shown in texture map object. -
imageHeight
— height of image which should be shown in texture map object.
Tutorials
Classes
- NCNavigineSdk
- NCLocationListManager
- NCLocationManager
- NCNavigationManager
- NCRouteManager
- NCZoneManager
- NCNotificationManager
- NCMeasurementManager
- NCLocationEditManager
- NCResourceManager
- NCLocation
- NCSublocation
- NCCategory
- NCVenue
- NCZone
- NCBeacon
- NCEddystone
- NCWifi
- NCLocationView
- NCGestureRecognizerDelegate
- NCCircleMapObject
- NCLineMapObject
- NCLocationListListener
- NCLocationListener
- NCPositionListener
- NCRouteListener
- NCZoneListener
- NCNotificationListener
- NCLocationEditListener
- NCMeasurementListener
- NCResourceListener
- NCResourceUploadListener
- NCNotification
- NCPosition
- NCSignalMeasurement
- NCSensorMeasurement
- NCImage
- NCRoutePath
- NCRouteEvent
- NCLocationPoint
- NCLocationInfo
- NCBitmapRegionDecoder