Represents placement of a visual object relatively to its anchor point. Used when there is no background image. More...
#import <SYMapPlace.h>
Instance Methods | |
(nonnull instancetype) | - initWithAnchor: |
((unavailable("Use initWithAnchor: instead.") | - __attribute__ |
Class Methods | |
((unavailable("Use initWithAnchor: instead.") | + __attribute__ |
Properties | |
CGPoint | anchor |
Defines a relative point of an object, which is connected to another object. For example, an image connected to a map coordinate, or a text connected to an image. More... | |
Represents placement of a visual object relatively to its anchor point. Used when there is no background image.
- (nonnull instancetype) initWithAnchor: | (CGPoint) | anchor |
- ((unavailable("Use) initWithAnchor: |
Implements SYMapPlaceStylePlacement.
+ ((unavailable("Use) initWithAnchor: |
Implements SYMapPlaceStylePlacement.
|
readnonatomicassign |
Defines a relative point of an object, which is connected to another object. For example, an image connected to a map coordinate, or a text connected to an image.
Value must be in range between [0;0] - [1;1]. [0;0] means that top left corner of the image is "glued" to the map location of the place. [1;1] means that bottom right corner of the image is "glued" to the map location of the place. [0.5;0.5] - image center.