The MQOverlayView is the base class for all overlay view implementations.
Ask this overlay view if it can draw the given mapRect
- Parameters
-
| mapRect | The map rect that serves as the projected boundary around some annotations |
| zoomScale | The zoomScale to be drawn at |
- Returns
- a BOOL whether the mapRect can be drawn
| - (void) drawMapRect: |
|
(MQMapRect) |
mapRect |
| zoomScale: |
|
(MQZoomScale) |
zoomScale |
| inContext: |
|
(CGContextRef) |
context |
|
|
| |
Draw into the given mapRect at zoomScale using the passed context
- Parameters
-
| mapRect | The map rect that serves as the projected boundary around some annotations |
| zoomScale | The zoomScale to be drawn at |
| context | The context to draw into |
- Returns
- a BOOL whether the mapRect can be drawn
| - (id) initWithOverlay: |
|
(id< MQOverlay >) |
overlay |
|
Translate a screen point into a map point
- Parameters
-
| point | A screen point to be translated |
- Returns
- a point in map points
Translate a screen region into a map region
- Parameters
-
| rect | A screen region to be translated |
- Returns
- a region in map points
| - (MQMapView*) mapViewForView: |
|
(UIView *) |
aView |
|
The mapView that contains the given view
- Parameters
-
| aView | A view that is contained by the mapview |
| - (CGPoint) pointForMapPoint: |
|
(MQMapPoint) |
mapPoint |
|
Translate a map point into a screen point
- Parameters
-
| mapPoint | A map point to be translated |
- Returns
- a screen point
| - (CGRect) rectForMapRect: |
|
(MQMapRect) |
mapRect |
|
Translate a map region into a screen region
- Parameters
-
| mapRect | A map region to be translated |
- Returns
- a screen region
Get the current zoom scale
- Returns
- the current scale
| - (void) setNeedsDisplayInMapRect: |
|
(MQMapRect) |
mapRect |
|
Mark the overlay as needing to be redrawn
- Parameters
-
| mapRect | region that needs to be redrawn |
Mark the overlay as needing to be redrawn
- Parameters
-
| mapRect | region that needs to be redrawn |
| zoomScale | zoom scale at which the region needs to be redrawn |
The documentation for this class was generated from the following file: