====== map_GetMinMaxAlt ====== ===== Description ===== Get the minimum and maximum altitude of a map, in metres. Note this function fails for [[zeolite:mapid|map types]] other than MAP_Heightfield and MAP_WaterMap. ===== Function prototype ===== bool CExtAPI::map_GetMinMaxAlt(ZMAP hMap, float& minval, float& maxval); ===== Arguments ===== ^ Name ^ Type ^ Comment ^ | hMap | ZMAP | A ZMAP handle to the map, the minimum and maximum altitude of which is to be retrieved. | | minval | float& | A float to receive the minimum altitude (passed by reference.) | | maxval | float& | A float to receive the maximum altitude (passed by reference.) | ===== Return value ===== False if an error occurred, and true otherwise. ===== Comments ===== None.