Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- // Add the WMS
- var layer = new OpenLayers.Layer.WMS(
- "WMS",
- "http://localhost:80803geoserver/thesis/wms",
- {
- LAYERS: 'thesis:ensch',transparent: true
- },
- {
- singleTile:true,
- isBaseLayer: false
- }
- );
- map.addLayer(layer);
- // Center the map
- map.setCenter(new OpenLayers.LonLat(52.222, 6.893);
- }
- </script>
- </head>
- <body onload="init()">
- <div id="map"></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement