SYMapObject Class Reference

Base class for all view objects created by client application which can be added and shown on map. In order to display the object on the map, the object needs to be added to an SYMapView by calling addMapObject:. More...

#import <SYMapObjects.h>

Inheritance diagram for SYMapObject:
Collaboration diagram for SYMapObject:

Instance Methods

(instancetype) - initWithCoordinate:type:payload: [implementation]
 
(Sygic::Map::MapObject *) - sdkMapObject [implementation]
 
- Instance Methods inherited from SYViewObject
(instancetype) - initWithCoordinate:baseType: [implementation]
 
(instancetype) - initWithCoordinate:baseType:payload: [implementation]
 

Properties

NSInteger tag
 An integer that you can use to identify view objects in your application. Default value is 0. More...
 
SYMapObjectType mapObjectType
 Map object type. See the available SYMapObjectTypes. More...
 
NSUInteger zIndex
 Z-index (stacking order) for the SYMapObject. Objects with the highest value are placed at the top of the stacking order. More...
 
BOOL visibility
 Visibility of the SYMapObject. Can be shown or hidden. More...
 
- Properties inherited from SYViewObject
SYGeoCoordinatecoordinate
 Geographical location of the SYViewObject. The meaning of the location for a particular object depends on that object's type. Objects that don't have a location will return nil. The meaning of the location for certain view objects is as follows: More...
 
SYViewObjectType baseType
 Determines which type of this ViewObject it is. More...
 
id< NSCoding > payload
 Optional payload for storing custom data. More...
 

Additional Inherited Members

- Class Methods inherited from SYViewObject
(std::vector< uint8_t >) + serializePayload: [implementation]
 
(id< NSCoding >) + deserializePayload: [implementation]
 

Detailed Description

Base class for all view objects created by client application which can be added and shown on map. In order to display the object on the map, the object needs to be added to an SYMapView by calling addMapObject:.

Method Documentation

◆ initWithCoordinate:type:payload:()

- (instancetype) initWithCoordinate: (SYGeoCoordinate *)  coordinate
type: (SYMapObjectType)  type
payload: (id< NSCoding >)  payload 
implementation

◆ sdkMapObject()

- Map:
implementation

Property Documentation

◆ mapObjectType

- (SYMapObjectType) mapObjectType
readnonatomicassign

Map object type. See the available SYMapObjectTypes.

◆ tag

- (NSInteger) tag
readwritenonatomicassign

An integer that you can use to identify view objects in your application. Default value is 0.

◆ visibility

- (BOOL) visibility
readwritenonatomicassign

Visibility of the SYMapObject. Can be shown or hidden.

◆ zIndex

- (NSUInteger) zIndex
readwritenonatomicassign

Z-index (stacking order) for the SYMapObject. Objects with the highest value are placed at the top of the stacking order.


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