<div dir="ltr"><div><font color="#003333"><font size="2"><font face="arial,helvetica,sans-serif">I Solved it. </font></font></font></div>
<div><font color="#003333"></font> </div>
<div><font color="#003333"><font size="2"><font face="arial,helvetica,sans-serif">It's the problem with resolution. I changed the resolution from 1000 to 8000000 and that solved my problem. Is there a start/begin document for Open Layers ? other than that example developments ?? </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"> </font></font></font></div>
<div><br><br></div>
<div class="gmail_quote">On Tue, Jul 6, 2010 at 4:02 PM, Bart van den Eijnden (OSGIS) <span dir="ltr"><<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi,<br><br>use singleTile: true and ratio: 1 in your layer options.<br><br>Best regards,<br>Bart<br>
<div>
<div></div>
<div class="h5"><br>> Hi Group,<br>><br>> I am trying to configure my WMS service with OpenLayers. My script looks<br>> below<br>><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(<br>> -638480920.244,-188017611.367,665489491.580,1019789790.73), maxResolution:<br>> 500 } );<br>> var wmsURL = "<br>
> <a href="http://localhost:8080/gss/ogc?version=1.3.0&crs=sw:nsw_trans_mercator_mm" target="_blank">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:<br>
> 'background', styles: 'Default' } , { buffer: 1 , isBaseLayer: true } );<br>> map.addLayer( myLayer );<br>> map.zoomToMaxExtent();<br>> </script><br>><br>><br>> It should actually send only one WMS request for the first time and then<br>
> act<br>> according to uses operations like Pan , Zoom. But, that is not how it's<br>> working. Everytime when I open this html file, it's sending 48 WMS<br>> requests<br>> and creating 48 image files in the resources folder and none of these<br>
> images<br>> are turned up on the browser. Also, surprisingly all those 48 images are<br>> empty with just white background.<br>><br>> Does any one what the problem is ?<br>><br>> Thanks,<br>> Kalyan<br>
</div></div>> _______________________________________________<br>> Users mailing list<br>> <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>> <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
><br><br><br></blockquote></div><br></div>