MRPathOverlay Class Reference
| Inherits from | NSObject | 
|---|---|
| Declared in | MRPathOverlay.h | 
Overview
An object containing the shape desired to be rendered on the map surface. Use the MRPathRenderer to modify the drawing properties of the path.
– initWithPath:
	Creates an overlay object with the given path. The CGPath should be in the map coordinate system.
- (instancetype)initWithPath:(CGPathRef _Nullable)pathParameters
path | 
						A CGPath to be drawn  | 
					
|---|
Declared In
MRPathOverlay.h
– initWithPolylineOfPoints:
	Convenience method for creating a series of connected line segments consisting of one or more points.
- (instancetype)initWithPolylineOfPoints:(NSArray<NSValue*> *)pointsParameters
points | 
						An array of CGPoints wrapped in NSValue  | 
					
|---|
Declared In
MRPathOverlay.h
– initWithPolygonOfPoints:
	Convenience method for creating a closed polygon consisting of one or more points.
- (instancetype)initWithPolygonOfPoints:(NSArray<NSValue*> *)pointsParameters
points | 
						An array of CGPoints wrapped in NSValue  | 
					
|---|
Declared In
MRPathOverlay.h
– initWithCircleOfCenter:radius:
	Convenience method for creating a circular shape.
- (instancetype)initWithCircleOfCenter:(CGPoint)center radius:(CGFloat)radiusParameters
center | 
						The center of the circle  | 
					
|---|---|
radius | 
						The radius of the circle  | 
					
Declared In
MRPathOverlay.h
– initWithPlacemark:
	Convenience method for creating a shape based upon the placemark’s point region
- (instancetype)initWithPlacemark:(MRPlacemark *)placemarkParameters
placemark | 
						The placemark  | 
					
|---|
Declared In
MRPathOverlay.h
– pointInOverlay:tolerance:
	Test whether the point can be reasonably determined to be a hit
- (BOOL)pointInOverlay:(CGPoint)point tolerance:(float)tolParameters
point | 
						The point to be tested  | 
					
|---|---|
tol | 
						The tolerance in mapCoordinates used to expand the touch region  | 
					
Declared In
MRPathOverlay.h
  path
	The shape to be drawn.
@property (nullable, nonatomic, readonly) CGPathRef pathDeclared In
MRPathOverlay.h
  userInteractionEnabled
	The user interaction state
@property (readwrite) BOOL userInteractionEnabledDeclared In
MRPathOverlay.h