Base class for objects shown in an SYMapView view. All objects displayed by an Sygic SDK view have SYViewObject as their base class. All such objects fall into one of two categories: proxy objects, created by the SDK, and user objects, created by the client application. These objects additionally inherit from SYViewObjects.
More...
#import <SYViewObjects.h>
Base class for objects shown in an SYMapView view. All objects displayed by an Sygic SDK view have SYViewObject as their base class. All such objects fall into one of two categories: proxy objects, created by the SDK, and user objects, created by the client application. These objects additionally inherit from SYViewObjects.
◆ coordinate
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:
SYMapView objects: SYMapObjectTypePoint - has location. SYMapObjectTypeSafetySpot - has location SYMapObjectTypeReserved - has location SYMapObjectTypeCircle - the center of the circle SYMapObjectTypeContainer - no location SYMapObjectTypeMarker - has location SYMapObjectTypeLabelMarker - has location SYMapObjectTypePolygon - the center of the polygon SYMapObjectTypePolyline - the first vertex SYMapObjectTypeRoute - the first waypoint of the route SYMapObjectTypeTrafficSign - may have location (if initialized with SYGeoCoordinate)
◆ screenPosition
- (CGPoint) screenPosition |
|
readwritenonatomicassign |
◆ baseType
- (SYViewObjectType) baseType |
|
readnonatomicassign |
Determines which type of this ViewObject it is.
◆ payload
Optional payload for storing custom data.
The documentation for this class was generated from the following file: