Maptitude GISDK Help

GetMapSaveFlag()

Summary

Determines whether a map has changed since it was last saved to a file.

 

Syntax

flag = GetMapSaveFlag(string map_name)

 

Argument

Contents

map_name

The name of the map, or null for the current map

 

Returns

The string "True" if the map has changed and needs to be saved; the string "False" if it has not changed since it was last loaded from or saved to a file.

 

Notes

Example

if GetMapSaveFlag() = "False" then goto ok_to_quit

// Prompt the user to save the contents before quitting...

 

Error Codes

Error Type

Meaning

NotFound

The specified map does not exist

 

See Also

Function

Summary

SetMapSaveFlag()

Sets the flag that indicates whether a map 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

GetEditorSaveFlag()

Determines whether an editor has changed since it was last saved to a file

SaveMap()

Saves settings for a map window to a file on disk

OpenMap()

Open a map file and display it in a map window

 

 

©2025 Caliper Corporation www.caliper.com