ArcGIS Runtime SDK for iOS
100.15
|
A class representing a marker comprising vector graphics.
A class representing a marker comprising vector graphics. It is constructed from a collection of AGSVectorMarkerSymbolElement
objects which define the building blocks of the vector marker. If it is the sole symbol layer in a AGSMultilayerPointSymbol
, this symbol layer places a vector marker at the location of the point feature. This symbol layer is similar to the Web Scene specification's IconSymbol3DLayer, when the IconSymbol3DLayer references a primitive shape.
Instance Methods | |
(instancetype) | - initWithVectorMarkerSymbolElements: |
(BOOL) | - isEqualToSymbolLayer: |
Class Methods | |
(instancetype) | + vectorMarkerSymbolLayerWithVectorMarkerSymbolElements: |
Properties | |
AGSSymbolAnchor | anchor |
BOOL | colorLocked |
BOOL | enabled |
double | heading |
CGFloat | offsetX |
CGFloat | offsetY |
CGFloat | size |
AGSSymbolLayerType | type |
NSArray< AGSVectorMarkerSymbolElement * > * | vectorMarkerSymbolElements |
- (instancetype) initWithVectorMarkerSymbolElements: | (NSArray< AGSVectorMarkerSymbolElement * > *) | vectorMarkerSymbolElements |
Initialize a vector marker symbol layer with the provided parameter
vectorMarkerSymbolElements | Collection of vector marker symbol elements. |
- (BOOL) isEqualToSymbolLayer: | (AGSSymbolLayer *) | other |
Compares whether two symbol layers are equal.
other | The other symbol layer to compare this symbol layer to. |
YES
if the symbol layers are equal, NO
if not. + (instancetype) vectorMarkerSymbolLayerWithVectorMarkerSymbolElements: | (NSArray< AGSVectorMarkerSymbolElement * > *) | vectorMarkerSymbolElements |
Initialize a vector marker symbol layer with the provided parameter
vectorMarkerSymbolElements | Collection of vector marker symbol elements. |
|
readwritenonatomicassigninherited |
The anchor of a marker symbol layer. It determines how marker symbols are anchored and specifies the marker's anchor point and anchor placement mode. The default symbol anchor is at XY(0, 0) and uses AGSSymbolAnchorPlacementModeRelative
placement.
|
readwritenonatomicassigninherited |
Indicates whether or not the symbol layer is color locked. If YES
, the layer's color will not change.
|
readwritenonatomicassigninherited |
Indicates whether or not the symbol layer is enabled. Layer will be rendered only when enabled.
|
readwritenonatomicassigninherited |
The angle of rotation about the anchor point, in degrees. It may be any real number. Defaults to 0
. This property affects markers in both maps and scenes. Positive angles rotate the marker counterclockwise.
Angle for an AGSMarkerSymbolLayer
object is measured in degrees counterclockwise from 0
to 360
. Marker symbol layers can have a separate heading value defined (which is also 0
by default). Setting a heading for a marker symbol layer does not affect the angle of the point symbol. When an angle value is set for the point symbol, however, that value is applied cumulatively to all the marker symbol layers it contains. The heading for individual symbol layers must be re-fetched in order to see the updated value. In 2D, the rotation applies around the anchor point of the 2D marker. For 3D markers, the rotation applies around the z-axis.
|
readwritenonatomicassigninherited |
The marker symbol layer's x-offset. It may be any real number. Defaults to 0
. This property affects markers in both maps and scenes. The x-offset is a delta applied to the marker in the direction corresponding to the given value. For example, a positive x-offset moves the marker in the positive-x direction.
|
readwritenonatomicassigninherited |
The marker symbol layer's y-offset. It may be any real number. Defaults to 0
. This property affects markers in both maps and scenes. The y-offset is a delta applied to the marker in the direction corresponding to the given value. For example, a positive y-offset moves the marker in the positive-y direction.
|
readwritenonatomicassigninherited |
The size of marker symbol layer. It may be any real positive number. The default value is 13.333
DIPs (10
points). A larger size means a larger marker.
|
readnonatomicassigninherited |
The type of the symbol layer. AGSSymbolLayerTypeUnknown
is returned when an error occurs
|
readwritenonatomiccopy |
Collection of vector marker symbol elements held by the vector marker symbol layer