Set the stored minimum and maximum altitude of a map, in metres. This function only changes the values returned by zmap_GetMinMaxAlt, and does not change any height values in the map.
Note this function fails for map types other than MAP_Heightfield and MAP_WaterMap.
| Declaration | Zeolite.h | 
|---|---|
| Implementation | Zeolite.cpp | 
bool zmap_SetMinMaxAlt(ZMAP hMap, float& minval, float& maxval);
| Name | Type | Comment | 
|---|---|---|
| hMap | ZMAP | A ZMAP handle to the map, the minimum and maximum altitude of which is to be set. | 
| minval | float& | The value of the minimum altitude (passed by reference.) | 
| maxval | float& | The value of the maximum altitude (passed by reference.) | 
False if an error occurred, and true otherwise.
None.