<html>
<head>
<script language="javascript">
<!--
// View Theme Manager
function ShowThemeForm()
{
var ctrlman = m_Map.GetCtrlMan();
var thememan = ctrlman.GetThemeMan();
thememan.ShowForm();
}
// Set Theme Related Path in the OnCreate Event
function MapEvent_OnCreate(Flag)
{
var ctrl = m_Map.GetCtrlMan();
var mapman = ctrl.GetMapMan();
var thememan = ctrl.GetThemeMan();
var ctrlstate = ctrl.GetControlState();
// Set Map Data Path
if (mapman.SetDefaultPath("http://localhost/MapData")) {
alert("Could not Set the Map Data Path.");
}
// Set Theme Path
thememan.SetDefaultPath("http://localhost/Theme");
if (thememan.LoadTheme("TalMap.TMT") != true) {
alert("Could not Load the Theme.");
}
ctrlstate.SetLevel(4);
ctrlstate.SetZoomScale(0.5);
}
-->
</script>
<script language="javascript" for="m_Map" event="OnCreate(Flag)">
<!--
MapEvent_OnCreate(Flag);
-->
</script>
</head>
<body>
<table>
<tr>
<td>
<OBJECT ID="m_Map" CLASSID="CLSID:DD9B48AD-EDDC-4D2C-BD68-D1FB4B382024"
codebase='http://localhost/TalMapX_Web.CAB#version=1,0,0,17' width=100% height=80%>
</OBJECT>
</td>
</tr>
</table>
</body>
</html>