[OpenLayers-Users] getCapabilities
adityakumar529
adityakumar529 at gmail.com
Tue Jun 11 08:33:30 PDT 2013
Hi,
I had done wms getcapabilities using the following code.
Have a try.
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>OpenLayers Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css"
/>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body onload="init()">
<div id="tags"></div>
<div id="map" width: 900px; height: 500px; class="smallmap"></div>
<div id="docs"></div>
<form action="dummyvalue">
<select name="newurl"onchange="menu_goto(this.form)">
<option value="" selected="selected">----- Select A Page -----</option>
<option
value="http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/ms_ogc_workshop/service/exercise.map&version=1.1.1&service=WMS&request=GetCapabilities">wms1</option>
<option
value="http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/ms_ogc_workshop/service/exercise.map&version=1.1.1&service=WMS&request=GetCapabilities">wms2</option>
<option
value="http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/ms_ogc_workshop/service/exercise.map&version=1.1.1&service=WMS&request=GetCapabilities">wms3</option>
</select>
</form>
</body>
</html>
Hope it will work for you.
Thanks
Aditya Kumar
India Urban Space Foundation
-----
GIS Developer
India Urban Space Foundation
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/getCapabilities-tp5059411p5059437.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list