SYMapObject in the shape of a circle. In order to display the circle object on the map, the circle object needs to be added to an SYMapView by calling addMapObject:. More...
#import <SYMapObjects.h>
Instance Methods | |
(nonnull instancetype) | - initWithGeoCenter:radius: |
Initializes a SYCircle instance with the specified center and radius. More... | |
Properties | |
CGFloat | radius |
Circle radius in meters. More... | |
NSUInteger | lineWidth |
The line width, in pixels. More... | |
UIColor * | lineColor |
The line color. More... | |
UIColor * | fillColor |
The fill color. 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 circle. In order to display the circle object on the map, the circle object needs to be added to an SYMapView by calling addMapObject:.
- (nonnull instancetype) initWithGeoCenter: | (nonnull SYGeoCoordinate *) | center | |
radius: | (CGFloat) | radius | |
Initializes a SYCircle instance with the specified center and radius.
|
readnonatomicassign |
Circle radius in meters.
|
readwritenonatomicassign |
The line width, in pixels.
|
readwritenonatomicstrong |
The line color.
|
readwritenonatomicstrong |
The fill color.