XPLMDestroyMapLayer
XPLM_API int XPLMDestroyMapLayer(
XPLMMapLayerID inLayer);
Destroys a map layer you created (calling your XPLMMapWillBeDeletedCallback_f if applicable). Returns true if a deletion took place.