<div dir="ltr"><div><font color="#003333"><font size="2"><font face="arial,helvetica,sans-serif">Hi Group, </font></font></font></div>
<div><font color="#003333"></font> </div>
<div><font color="#003333"><font size="2"><font face="arial,helvetica,sans-serif">I am trying to configure my WMS service with OpenLayers. My script looks below </font></font></font></div>
<div><font color="#003333"><font size="2"><font face="arial,helvetica,sans-serif"></font></font></font> </div>
<div><font color="#003333"><font size="2"><font face="arial,helvetica,sans-serif"><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), maxResolution: 500 } );<br> var wmsURL = "<a href="http://localhost:8080/gss/ogc?version=1.3.0&crs=sw:nsw_trans_mercator_mm">http://localhost:8080/gss/ogc?version=1.3.0&crs=sw:nsw_trans_mercator_mm</a>";<br>
var myLayer = new OpenLayers.Layer.WMS( 'CE SL' , wmsURL , { layers: 'background', styles: 'Default' } , { buffer: 1 , isBaseLayer: true } );<br> map.addLayer( myLayer );<br> map.zoomToMaxExtent(); <br>
</script></font></font></font></div>
<div><br> </div>
<div>It should actually send only one WMS request for the first time and then act according to uses operations like Pan , Zoom. But, that is not how it's working. Everytime when I open this html file, it's sending 48 WMS requests and creating 48 image files in the resources folder and none of these images are turned up on the browser. Also, surprisingly all those 48 images are empty with just white background.</div>
<div> </div>
<div>Does any one what the problem is ? </div>
<div> </div>
<div>Thanks,</div>
<div>Kalyan</div></div>