MEMapViewDelegate Protocol Reference

Conforms to NSObject
Declared in MEProtocols.h

Overview

The MEMapViewDelegate protocol defines a set of optional methods that you can use to receive map-related update messages. Because many map operations require the MEMapView class to load data asynchronously, the map view calls these methods to notify your application when specific operations complete. The map view also uses these methods to request annotation information.

– mapView:singleTapAt:withLocationCoordinate:

Called when the user taps on a map.

- (void)mapView:(MEMapView *)mapView singleTapAt:(CGPoint)screenPoint withLocationCoordinate:(CLLocationCoordinate2D)locationCoordinate

Declared In

MEProtocols.h

– mapView:willStartLoadingMap:

Called when the engine begins loading data for a map.

- (void)mapView:(MEMapView *)mapView willStartLoadingMap:(NSString *)mapName

Declared In

MEProtocols.h

– mapView:didFinishLoadingMap:

Called when the engine has finished loading map data -OR- all tile requests have been submitted to tile providers for virtual maps.

- (void)mapView:(MEMapView *)mapView didFinishLoadingMap:(NSString *)mapName

Declared In

MEProtocols.h

– mapView:beginClusteringMarkers:

Called when the engine begins clustering markers.

- (void)mapView:(MEMapView *)mapView beginClusteringMarkers:(NSString *)mapName

Declared In

MEProtocols.h

– mapView:endClusteringMarkers:

Called when the engine finishes clustering markers.

- (void)mapView:(MEMapView *)mapView endClusteringMarkers:(NSString *)mapName

Declared In

MEProtocols.h

– panBegan:

Called when the user has started panning the view.

- (void)panBegan:(MEMapView *)mapView

Declared In

MEProtocols.h

– panEnded:

Called when the panning is completed.

- (void)panEnded:(MEMapView *)mapView

Declared In

MEProtocols.h

– pinchBegan:

Called when a pinch operation starts.

- (void)pinchBegan:(MEMapView *)mapView

Declared In

MEProtocols.h

– pinchEnded:

Called when a pinch operation ends.

- (void)pinchEnded:(MEMapView *)mapView

Declared In

MEProtocols.h

– meGestureRecognizer:shouldReceiveTouch:

Called to determine if the engine should receive the given gesture.

- (BOOL)meGestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch

Declared In

MEProtocols.h

– meGestureRecognizerShouldBegin:

Called to determine if the given gesture recognizer should begin.

- (BOOL)meGestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer

Declared In

MEProtocols.h

– deviceScaleChanged:

Called when the physical device scale changes.

- (void)deviceScaleChanged:(MEMapView *)mapView

Declared In

MEProtocols.h

– tileSizeChanged:

Called when the tile point size changes.

- (void)tileSizeChanged:(MEMapView *)mapView

Declared In

MEProtocols.h

– cameraMoved:

Camera position has changed since last draw

- (void)cameraMoved:(MEMapView *)mapView

Declared In

MEProtocols.h