Instance Method

viewForOverlay:

Returns the view associated with the overlay object if any.

Declaration

- (MKOverlayView *)viewForOverlay:(id<MKOverlay>)overlay;

Parameters

overlay

The overlay object whose view you want.

Return Value

The view associated with the overlay object or nil if the overlay is not onscreen.

See Also

Accessing Overlays

overlays

The overlay objects currently associated with the map view.

overlaysInLevel:

The overlay objects in the specified level of the map.

rendererForOverlay:

Returns the renderer object used to draw the contents of the specified overlay object.