Maptitude GISDK Help

SetMapSaveFlag()

Summary

Sets the flag that indicates whether a map has changed since it was last saved to a file.

 

Syntax

SetMapSaveFlag(string map_name, boolean new_flag_value)

 

Argument Contents
map_name The name of the map, or null for the current map
new_flag_value If "True" indicates that the map needs to be saved. If "False" indicates that the map does not need to be saved.

 

Notes

Example

// Even though we added a layer, after opening the map,

// we also removed it, so the map doesn't need saving

SetMapSaveFlag(, "False")

 

Error Codes

Error Type Meaning
NotFound The specified map does not exist

 

See Also

Function Summary
GetMapSaveFlag() Determines whether a map has changed since it was last saved to a file
GetEditorSaveFlag() Determines whether an editor has changed since it was last saved to a file
GetLayoutSaveFlag() Determines whether a layout has changed since it was last saved to a file
OpenMap() Opens a map file and display it in a map window
SaveMap() Saves settings for a map window to a file on disk
CloseMap() Closes a map window

 

 

©2025 Caliper Corporation www.caliper.com