SYMapObject in the shape of a polyline. In order to display the polyline object on the map, the polyline object needs to be added to an SYMapView by calling addMapObject: More...
#import <SYMapObjects.h>
Instance Methods | |
(nonnull instancetype) | - initWithCoordinates: |
Initializes a SYMapPolyline instance with the specified SYGeoCoordinates. More... | |
Properties | |
NSArray< SYGeoCoordinate * > * | vertices |
The SYGeoCoordinate array that comprise the path of the SYMapPolyline. More... | |
NSUInteger | lineWidth |
The line width, in pixels. More... | |
UIColor * | primaryColor |
The line color. More... | |
UIColor * | secondaryColor |
The sceondary color used as second color on dashed line or as border color. More... | |
BOOL | dashed |
Indicates whether the SYMapPolyline is dashed. More... | |
BOOL | hasScalableWidth |
Indicates whether the width od SyMapPolyline is scaled based on ground distance. More... | |
BOOL | hasBorders |
Indicates whether the SyMapPolyline should be rendered with borders. More... | |
NSUInteger | dashLength |
The length of the dash segment of the SYMapPolyline. More... | |
NSUInteger | dashSecondaryLength |
The length of the secondary dash segment of the SYMapPolyline. More... | |
NSUInteger | cornerRadius |
Corner radius for the dash segment of the SYMapPolyline, in range [0, lineWidth / 2]. Corner radius of size lineWidth / 2 generates circled pattern, otherwise rectangle with rounded corners is generated. More... | |
Properties inherited from SYMapObject | |
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 | |
SYGeoCoordinate * | 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: More... | |
CGPoint | screenPosition |
Position of the SYViewObject on the screen. More... | |
SYViewObjectType | baseType |
Determines which type of this ViewObject it is. More... | |
id< NSCoding > | payload |
Optional payload for storing custom data. More... | |
SYMapObject in the shape of a polyline. In order to display the polyline object on the map, the polyline object needs to be added to an SYMapView by calling addMapObject:
- (nonnull instancetype) initWithCoordinates: | (nonnull NSArray< SYGeoCoordinate * > *) | coordinates |
Initializes a SYMapPolyline instance with the specified SYGeoCoordinates.
|
readnonatomicassign |
The SYGeoCoordinate array that comprise the path of the SYMapPolyline.
|
readwritenonatomicassign |
The line width, in pixels.
|
readwritenonatomicstrong |
The line color.
|
readwritenonatomicstrong |
The sceondary color used as second color on dashed line or as border color.
|
readwritenonatomicassign |
Indicates whether the SYMapPolyline is dashed.
|
readwritenonatomicassign |
Indicates whether the width od SyMapPolyline is scaled based on ground distance.
|
readwritenonatomicassign |
Indicates whether the SyMapPolyline should be rendered with borders.
|
readwritenonatomicassign |
The length of the dash segment of the SYMapPolyline.
|
readwritenonatomicassign |
The length of the secondary dash segment of the SYMapPolyline.
|
readwritenonatomicassign |
Corner radius for the dash segment of the SYMapPolyline, in range [0, lineWidth / 2]. Corner radius of size lineWidth / 2 generates circled pattern, otherwise rectangle with rounded corners is generated.