MEVectorMapDelegate Protocol Reference

Conforms to NSObject
Declared in MEProtocols.h

Overview

The MEVectorMapDelegate protocol defines a set of methods that you can use to receive vector map related update messages. Implement this protocol when you add dynamic vector maps and you need to receive vector map related notifications

– lineSegmentHitTestPixelBufferDistance

Returns the number of pixels used as a buffer between vector line segments and hit test points.

- (double)lineSegmentHitTestPixelBufferDistance

Declared In

MEProtocols.h

– vertexHitTestPixelBufferDistance

Returns the number of pixels used as a buffer between vector line vertices and hit test points.

- (double)vertexHitTestPixelBufferDistance

Declared In

MEProtocols.h

– lineSegmentHitDetected:mapName:shapeId:coordinate:segmentStartIndex:segmentEndIndex:

Called when a hit (tap) is detected on a vector line segment.

- (void)lineSegmentHitDetected:(MEMapView *)mapView mapName:(NSString *)mapName shapeId:(NSString *)shapeId coordinate:(CLLocationCoordinate2D)coordinate segmentStartIndex:(int)segmentStartIndex segmentEndIndex:(int)segmentEndIndex

Declared In

MEProtocols.h

– vertexHitDetected:mapName:shapeId:coordinate:vertexIndex:

Called when a hit is detected on a vector line vertex.

- (void)vertexHitDetected:(MEMapView *)mapView mapName:(NSString *)mapName shapeId:(NSString *)shapeId coordinate:(CLLocationCoordinate2D)coordinate vertexIndex:(int)vertexIndex

Declared In

MEProtocols.h

– polygonHitDetected:hits:

Called whan a hit (tap) is detected on a polygon in a vector map layer that has enabled polygon hit testing.

- (void)polygonHitDetected:(MEMapView *)mapView hits:(NSArray *)polygonHits

Parameters

mapView

The MEMapView object where the hit originated.

polygonHits

An array of one or more MEVectorGeometryHit objects.

Declared In

MEProtocols.h

– polygonHit3dDetected:hits:screenPoint:

Called when a hit (tap) is detected on an extruded (3d) polygon in a vector map layer that has enabled polygon hit testing.

- (void)polygonHit3dDetected:(MEMapView *)mapView hits:(NSArray *)polygonHits screenPoint:(CGPoint)screenPoint

Parameters

mapView

The MEMapView object where the hit originated.

polygonHits

An array of one or more MEVectorGeometryHit objects.

screenPoint

The poin on the screen which the hit occured.

Declared In

MEProtocols.h