MBMElevationData.h 820 B

12345678910111213141516171819202122
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. #import <CoreLocation/CoreLocation.h>
  4. /** Interface that provides access to elevation data. */
  5. NS_SWIFT_NAME(ElevationData)
  6. @protocol MBMElevationData
  7. /**
  8. * Get elevation for given coordinate. Value is available only for the visible region on the screen, if terrain (DEM) tile is available.
  9. *
  10. * @param coordinate defined as longitude-latitude pair.
  11. *
  12. * @return Elevation (in meters) multiplied by current terrain exaggeration, or empty if elevation for the coordinate is not available.
  13. */
  14. - (nullable NSNumber *)getElevationForCoordinate:(CLLocationCoordinate2D)coordinate;
  15. /**
  16. * Current value of terrain exaggeration.
  17. * @return Current value of terrain exaggeration.
  18. */
  19. - (double)getTerrainExaggeration;
  20. @end