@interface RMMercatorToScreenProjection : NSObject
This is a stateful projection. As the screen moves around, so too do projections change.
RMMercatorToScreenProjection | This is a stateful projection. |
Functions | |
movePoint | Deltas in screen coordinates. |
moveRect | Deltas in screen coordinates. |
zoomPoint | pivot given in screen coordinates. |
zoomRect | pivot given in screen coordinates. |
moveScreenBy | Move the screen. |
projectXYPoint | Project -> screen coordinates. |
projectXYRect | Project -> screen coordinates. |
projectedBounds | 视图内地理范围 |
- ( RMProjectedPoint )movePoint: (RMProjectedPoint)aPoint by:(CGSize) delta
Deltas in screen coordinates.
aPoint | {RMProjectedPoint} |
- ( RMProjectedRect )moveRect: (RMProjectedRect)aRect by:(CGSize) delta
Deltas in screen coordinates.
aRect | {RMProjectedRect} |
- ( RMProjectedPoint )zoomPoint: (RMProjectedPoint)aPoint byFactor: (float)factor near:(CGPoint) pivot
pivot given in screen coordinates.
aPoint | {RMProjectedPoint} |
- ( RMProjectedRect )zoomRect: (RMProjectedRect)aRect byFactor: (float)factor near:(CGPoint) pivot
pivot given in screen coordinates.
aRect | {RMProjectedRect} |
- ( CGPoint )projectXYPoint:(RMProjectedPoint)aPoint withMetersPerPixel:(float)aScale
Project -> screen coordinates.
aPoint | {RMProjectedPoint} |
{<CGPoint>}
- ( CGRect ) projectXYRect: (RMProjectedRect) aRect
Project -> screen coordinates.
aRect | {RMProjectedRect} |
{<CGRect>}
This is a stateful projection.
@interface RMMercatorToScreenProjection : NSObject
Deltas in screen coordinates.
- ( RMProjectedPoint )movePoint: (RMProjectedPoint)aPoint by:(CGSize) delta
Deltas in screen coordinates.
- ( RMProjectedRect )moveRect: (RMProjectedRect)aRect by:(CGSize) delta
pivot given in screen coordinates.
- ( RMProjectedPoint )zoomPoint: (RMProjectedPoint)aPoint byFactor: (float)factor near:(CGPoint) pivot
pivot given in screen coordinates.
- ( RMProjectedRect )zoomRect: (RMProjectedRect)aRect byFactor: (float)factor near:(CGPoint) pivot
Move the screen.
- ( void ) moveScreenBy: (CGSize) delta
Project -> screen coordinates.
- ( CGPoint )projectXYPoint:(RMProjectedPoint)aPoint withMetersPerPixel:(float)aScale
Project -> screen coordinates.
- ( CGRect ) projectXYRect: (RMProjectedRect) aRect
视图内地理范围
- ( RMProjectedRect ) projectedBounds