.. highlightlang:: us .. index:: MapDestroy .. _mapdestroy: MapDestroy ========== .. us.tag MapDestroy ENGLISH Map :ref:`MapDestroy` destroys the given map and frees any memory the map occupied. .. function:: bool = MapDestroy(hMap) .. us.return **Return Value** If the function succeeds, the return value *bool* is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: hMap *hMap* Identifies the map. .. seealso:: :ref:`overview-map`, :ref:`MapCreate` :sub:`id-1030953`