MECameraConstraintDelegate Protocol Reference

Conforms to NSObject
Declared in MEProtocols.h


Describes the methods a class must implement to provide camera constraint information.

– constraintEnforced:meMapView:terrainMinHeightMeters:terrainMaxHeightMeters: required method

Called after the virtual camera is moved, but before rendering is done. Gives the delegate an opportunity to reposition the camera. If you move the camera during this funciton, return YES, otherwise, return NO.

- (BOOL)constraintEnforced:(MECameraPlacement *)currentCameraPlacement meMapView:(MEMapView *)meMapView terrainMinHeightMeters:(double)terrainMinHeightMeters terrainMaxHeightMeters:(double)terrainMaxHeightMeters

Declared In