<div dir="ltr"><div><font color="#663333"><font size="2"><font face="arial,helvetica,sans-serif">Hi Group, </font></font></font></div>
<div><font color="#663333"></font> </div>
<div><font color="#663333"><font size="2"><font face="arial,helvetica,sans-serif">There are few security concerns at my organization and due to that, I can not directly access <a href="http://openlayers.org">openlayers.org</a> for OpenLayers.js. So, I installed it and changed my script as below </font></font></font></div>
<div><font color="#663333"><font size="2"><font face="arial,helvetica,sans-serif"></font></font></font> </div>
<div><font color="#663333"><font size="2"><font face="arial,helvetica,sans-serif"><script src=<strong><u>'D:\OpenLayers-2.9.1\OpenLayers.js'</u></strong>></script><br> </head><br> <body><br>
<div id='map'></div><br> <script type="text/javascript"><br> //var map = new OpenLayers.Map('map',{maxResolution: 1000} );<br> var map = new OpenLayers.Map('map', {<br>
maxExtent: new OpenLayers.Bounds( -638480920.244,-188017611.367,665489491.580,1019789790.73),<br> maxResolution: 5000 <br> } );<br> var wmscURL = [<br> "<a href="http://siasporapv01:8080/gss/ogc?version=1.3.0&crs=sw:nsw_trans_mercator_mm&styles=Default">http://siasporapv01:8080/gss/ogc?version=1.3.0&crs=sw:nsw_trans_mercator_mm&styles=Default</a>"<br>
];<br> var myLayer = new OpenLayers.Layer.WMS( 'Cambridge Steet' , wmscURL , { layers: 'background' , format: 'image/png'} , { buffer: 1 , isBaseLayer: true } );<br> map.addLayer( myLayer )<br>
map.zoomToMaxExtent(); <br> </script></font></font></font></div>
<div> </div>
<div>Now the problem is that, It's not showing any controls on the map and also not sending any requests to my server. Everything comes out with no image tiles.</div>
<div>If I use <a href="http://openlayers.org/api/openlayers.js">openlayers.org/api/openlayers.js</a> on my local machine it works perfect. </div>
<div> </div>
<div>Am I missing something ? Is is not the way to configure OpenLayers ? </div>
<div> </div>
<div>Thanks,</div>
<div>Kalyan<br></div></div>