| Maptitude GISDK Help |
Hides a map legend.
HideLegend (string map_name)
| Argument | Contents |
|---|---|
| map_name | The name of the map |
HideLegend() can be used only when the legend is displayed in a separate window.
If the legend is attached to the map and not shown in a separate window, set the legend type to "None" using SetLegendSettings() to hide the legend.
HideLegend("U.S. Map")
| Error Type | Meaning |
|---|---|
| NotFound | The named map does not exist or has no legend |
| Function | Summary |
|---|---|
| SetLegendSettings() | Change the settings for a map legend |
| ShowLegend() | Shows a map legend |
| ©2025 Caliper Corporation | www.caliper.com |