MEMarkerMapDelegate Protocol Reference

Conforms to NSObject
Declared in MEProtocols.h

Overview

The MEMarkerMapDelegate protocol defines a set of methods that you can use to receive marker map related update messages. Implement this protocol when you add marker maps.

– mapView:updateMarker:mapName:

Called when the mapping engine needs information for a marker in a marker layer. When called, you should populate the provided MEMarkerInfo object. The engine will release the object, so you don’t need to.

- (void)mapView:(MEMapView *)mapView updateMarker:(MEMarker *)marker mapName:(NSString *)mapName

Parameters

mapView

the MEMapView object that owns the marker.

marker

Object for you to populate that describes the marker.

mapName

The name of the map.

Declared In

MEProtocols.h

– tapOnMarker:onMapView:atScreenPoint:

Called when a marker is tapped on. To handle multiple marker taps, see tapOnMarkers.

- (void)tapOnMarker:(NSString *)metaData onMapView:(MEMapView *)mapView atScreenPoint:(CGPoint)point

Declared In

MEProtocols.h

– tapOnMarker:onMapView:mapName:atScreenPoint:atMarkerPoint:

Called when a marker is tapped on. To handle multiple marker taps, see tapOnMarkers.

- (void)tapOnMarker:(MEMarker *)meMarker onMapView:(MEMapView *)mapView mapName:(NSString *)mapName atScreenPoint:(CGPoint)screenPoint atMarkerPoint:(CGPoint)markerPoint

Parameters

meMarker

MEMarker object that contains information about the marker that was tapped.

mapView

The MEMapView on which the tap occurred.

mapName

The name of the map.

screenPoint

The point on the screen on where the tap occurred.

markerPoint

The relative point within the marker where the tap occurred. Useful for markers that have button UI on them.

Declared In

MEProtocols.h

– tapOnMarkers:onMapView:

Called when one or more markers is tapped on.

- (void)tapOnMarkers:(NSArray *)meMarkerTaps onMapView:(MEMapView *)mapView

Declared In

MEProtocols.h

– tapOnDynamicMarker:onMapView:mapName:atScreenPoint:atMarkerPoint:

Called when a dynamic marker is tapped on. To handle multiple marker taps, see tapOnDynamicMarkers.

- (void)tapOnDynamicMarker:(NSString *)markerName onMapView:(MEMapView *)mapView mapName:(NSString *)mapName atScreenPoint:(CGPoint)screenPoint atMarkerPoint:(CGPoint)markerPoint

Parameters

markerName

The unique name of the marker within the dynamic marker layer.

mapView

The MEMapView on which the tap occurred.

mapName

The name of the map.

screenPoint

The point on the screen on where the tap occurred.

markerPoint

The relative point within the marker where the tap occurred. Useful for markers that have button UI on them.

Declared In

MEProtocols.h

– tapOnDynamicMarkers:onMapView:

Called when one or more dynamic markers is tapped on.

- (void)tapOnDynamicMarkers:(NSArray *)meMarkerTaps onMapView:(MEMapView *)mapView

Declared In

MEProtocols.h