DestroyLegend()

Summary

Destroys a map legend.

Syntax

DestroyLegend(string map_name)

Argument Contents
map_name The name of the map

Error Codes

Error Type Meaning
NotFound The named map was not found or the map has no legend

See Also

Function Summary
CreateLegend() Creates a map legend
HideLegend() Hides a map legend
ShowLegend() Shows a map legend
SetLegendSettings() Change the settings for a map legend