<div dir="ltr"><div><font color="#003333"><font size="2"><font face="arial,helvetica,sans-serif">Hi Robert, </font></font></font></div>
<div><font color="#003333"></font> </div>
<div><font color="#003333">Thanks for the reply. I just placed my html file in the openLayers folder and it came out with the default zoom and pan controls on the map. But, the real problem is that, it's not sending any WMS requests to my Web server. I wonder, I may have done something wrong. But, couldn't find it. </font></div>
<div><font color="#003333"></font> </div>
<div><font color="#003333">It worked when I used the <a href="http://openlayers.org/api/openlayers.js">openlayers.org/api/openlayers.js</a> reference.But, now I can not use it as my network is under security control. </font></div>
<div><font color="#003333"></font> </div>
<div><font color="#003333">But, it should normally be okay when I reference to the local openlayers.js right ? Any suggestions ??</font></div>
<div><font color="#003333"></font> </div>
<div><font color="#003333">Thanks,</font></div>
<div><font color="#003333">Kalyan</font></div>
<div><br></div>
<div class="gmail_quote">On Tue, Jul 6, 2010 at 11:31 AM, Robert Sanson <span dir="ltr"><<a href="mailto:Robert.Sanson@asurequality.com">Robert.Sanson@asurequality.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div>I believe the problem is with this line:</div>
<div class="im">
<div> </div>
<div><font color="#663333" size="2" face="Arial"><script src=<strong><u>'D:\OpenLayers-2.9.1\OpenLayers.js'</u></strong>></script></font><br></div></div>
<div>The browser won't be able to find that location. It needs to be on the Web server. If you put it in the same location as your html file, then you can just use:</div>
<div> </div>
<div><font color="#663333" size="2" face="Arial"><script src='<strong><u>OpenLayers.js'</u></strong>></script></font><br></div>
<div>Regards,</div>
<div> </div>
<div>Robert<br><br>>>> Kalyan Kamepalli <<a href="mailto:kalyan.kamepalli@gmail.com" target="_blank">kalyan.kamepalli@gmail.com</a>> 6/07/2010 1:00 p.m. >>><br></div>
<div>
<div></div>
<div class="h5">
<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/" target="_blank">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" target="_blank">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" target="_blank">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><br><br></div></div><font style="BACKGROUND-COLOR: #ffffff">
<p align="center"><font style="BACKGROUND-COLOR: #ffffff">Click <a href="https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==" target="_blank">here</a> to report this email as spam.</font></p></font><br><br>
<p align="center"><font style="BACKGROUND-COLOR: #ffffff">This message has been scanned for malware by SurfControl plc. </font><a href="http://www.surfcontrol.com/" target="_blank"><font style="BACKGROUND-COLOR: #ffffff" color="#000000">www.surfcontrol.com</font></a></p>
</div></blockquote></div><br></div>