var strMap = null;
var index = 0;
// Insert Item
function AddStrMap(str)
{
if (strMap == null)
strMap = m_Map.GetUtility().GetStrStringMap();
strMap.InsertItem(String(index), str);
alert("Total Count :" strMap.GetItemCount());
index = Number(index);
index = index + 1;
}
// Delete Item
function DelStrMap(key)
{
if (strMap.FindItemValue(key) != null)
{
strMap.DeleteItem(key);
}
}
// Clear Item
function ClearStrMap()
{
if (strMap.GetItemCount() > 0)
{
strMap.Clear();
}
}