1 <html xmlns="http://www.w3.org/1999/xhtml">
3 <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
4 <link rel="stylesheet" href="style.css" type="text/css" />
5 <title>NavToolbar Demo</title>
6 <style type='text/css'>
11 <script src="../lib/OpenLayers.js"></script>
12 <script type="text/javascript">
19 map = new OpenLayers.Map( 'map', { controls: [new OpenLayers.Control.PanZoom()] } );
20 layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",
21 "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} );
24 var panel = new OpenLayers.Control.NavToolbar();
25 map.addControl(panel);
27 map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
31 <body onload="init()">
32 <h3 id="title">NavToolbar Demo</h3>
34 Demo the NavToolbar, a subclass of Control.Panel which shows icons for
37 <div id="map" class="smallmap"></div>