hasTerrainTopography property

bool get hasTerrainTopography

Check if map view contains terrain topography information

If true, transformScreenToWgs function returns coordinates with terrain altitude set

The map view has terrain topography if the map style includes the terrain elevation layer and data is available on queried location Data is not available is the current zoom level is set to low.

Returns

  • True if map view contains terrain topography, false otherwise

Throws

  • An exception if it fails

Implementation

bool get hasTerrainTopography {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'MapView',
    'hasTerrainTopography',
  );

  return resultString['result'];
}