1 <html xmlns="http://www.w3.org/1999/xhtml">
3 <title>ArcIMS Example</title>
4 <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
5 <link rel="stylesheet" href="style.css" type="text/css" />
6 <script src="../lib/OpenLayers.js"></script>
7 <script type="text/javascript">
14 OpenLayers.ProxyHost = "proxy.cgi?url=";
16 map = new OpenLayers.Map( 'map' );
19 serviceName: "OpenLayers_Sample",
23 layer = new OpenLayers.Layer.ArcIMS( "Global Sample Map",
24 "http://sample.avencia.com/servlet/com.esri.esrimap.Esrimap", options );
27 map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
28 map.addControl( new OpenLayers.Control.LayerSwitcher() );
32 <body onload="init()">
33 <h1 id="title">ArcIMS Example</h1>
38 Shows the basic use of OpenLayers using an ArcIMS layer
41 <div id="map" class="smallmap"></div>
44 This is an example of how to add an ArcIMS layer to the OpenLayers window.