Navmii SDK
2.2.0
Write yourself a navigation system in iOS
|
Inherits NMGeoObject.
Instance Methods | |
(instancetype) | - initWithVertices: |
(void) | - appendVertex: |
(void) | - insertVertex:atIndex: |
(void) | - removeLastVertex |
(void) | - removeVertexAtIndex: |
(void) | - removeAllVertices |
Class Methods | |
(instancetype) | + geoPolylineWithVertices: |
Properties | |
CGFloat | width |
UIColor * | color |
UIImage * | textureImage |
NSInteger | vertexCount |
NMMapCoordinates * | lastVertex |
NSArray< NMMapCoordinates * > * | vertices |
Properties inherited from NMGeoObject | |
NSUInteger | zIndex |
NSUInteger | objectId |
BOOL | hidden |
A class representing a polyline that can be drawn on the map.
- (void) appendVertex: | (NMMapCoordinates *) | vertex |
Adds a vertex to the end of the receiver’s list of vertices.
+ (instancetype) geoPolylineWithVertices: | (NSArray< NMMapCoordinates * > *) | vertices |
- (instancetype) initWithVertices: | (NSArray< NMMapCoordinates * > *) | vertices |
- (void) insertVertex: | (NMMapCoordinates *) | vertex | |
atIndex: | (NSUInteger) | index | |
Inserts a vertex at the specified index.
- (void) removeAllVertices |
Removes all vertex from list of vertices.
- (void) removeLastVertex |
Removes the last vertex from list of vertices.
- (void) removeVertexAtIndex: | (NSUInteger) | index |
Removes a vertex at the specified index.
|
readwritenonatomicstrong |
The color of the polyline. If the textureImagePath property is set, the color property defines the color mask which is applied to the texture.
|
readnonatomiccopy |
Returns the last vertex in the polyline.
|
readwritenonatomicstrong |
Texture image which should be used to draw polyline.
|
readnonatomicassign |
Number of vertices in the polyline.
|
readnonatomiccopy |
List of vertices.
|
readwritenonatomicassign |
Width of the polyline.