JSDoc Documentation

Summary

This JavaScript library lets an application control an embedded ArcWeb Explorer Flash 8 component in a Web page.

The following is the "hello world" example of ArcWeb Explorer using JavaScript:

Note: If you copy and paste the code below, you must save it in a file that is accessible from a Web server. The code will not work if you launch it from the file system.

 <html>
 <head>
     <title>ArcWeb Explorer - Show Map</title>
     <script src="http://www.arcwebservices.com/awx/awxapi-1.0.js" type="text/javascript"></script>
     <script type="text/javascript">
         function onBodyLoad()
         {
             AWUtils.insertMap("explorer", "mykey");
         }
	   
         function onCreationComplete()
	   {
             var myExplorer = new AWMap("explorer");
             var myLatLon = new AWLatLon(42.367044, -71.052742);
             myExplorer.centerAndScale(myLatLon, 10000);
	   }
     </script>
 </head>
 <body onload="onBodyLoad()">
 <div align="center" id="explorer" style="width: 800px; height: 600px">ArcWebExplorer Flash Object</div>
 </body>
 </html>
 


Version: 1.0


File Summary
awxapi-1.0.js This JavaScript library lets an application control an embedded ArcWeb Explorer Flash 8 component in a Web page.