9 #import <UIKit/UIKit.h> 10 #import <CoreLocation/CoreLocation.h> 11 #import <CoreGraphics/CoreGraphics.h> 21 + (instancetype)markerWithPosition:(CLLocationCoordinate2D)position;
24 @property(nonatomic, assign)CLLocationCoordinate2D
position;
30 @property(nonatomic, retain)NSString*
snippet;
33 @property(nonatomic, retain)UIImage*
image;
36 @property(nonatomic, assign)CGFloat
opacity;
39 @property(nonatomic, assign)CGPoint
anchor;
Icon placed at a particular point on the map's surface.
UIImage * image
Marker icon to render.
CGFloat opacity
Sets the opacity of the marker, between 0 (completely transparent) and 1 (default) inclusive...
NSString * snippet
Snippet text Not Supported in this version.
CLLocationCoordinate2D position
Marker position.
Abstract class that represents some overlay that may be attached to a specific NMSMapView.
CGPoint anchor
The anchor specifies the point in the icon image that is anchored to the marker's position on the Ear...