<div dir="ltr"><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: #163c46; FONT-FAMILY: &#39;Segoe UI&#39;,&#39;sans-serif&#39;; mso-bidi-font-size: 11.0pt">Hi Christopher, </span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: #163c46; FONT-FAMILY: &#39;Segoe UI&#39;,&#39;sans-serif&#39;; mso-bidi-font-size: 11.0pt"> </span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: #163c46; FONT-FAMILY: &#39;Segoe UI&#39;,&#39;sans-serif&#39;; mso-bidi-font-size: 11.0pt">I did replace my map creation with your bit of code and that didn’t help me. My browser turn up with an error saying expected ‘}’. I just couldn’t find where did I miss that one. Here’s my code </span></p>


<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: #163c46; FONT-FAMILY: &#39;Segoe UI&#39;,&#39;sans-serif&#39;; mso-bidi-font-size: 11.0pt"> </span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: #163c46; FONT-FAMILY: &#39;Segoe UI&#39;,&#39;sans-serif&#39;; mso-bidi-font-size: 11.0pt">&lt;script type=&quot;text/javascript&quot;&gt;</span></p>


<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: #163c46; FONT-FAMILY: &#39;Segoe UI&#39;,&#39;sans-serif&#39;; mso-bidi-font-size: 11.0pt"><span style="mso-tab-count: 1">            </span>//var map = new OpenLayers.Map(&#39;map&#39;,{maxResolution: 1000} );</span></p>


<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: #163c46; FONT-FAMILY: &#39;Segoe UI&#39;,&#39;sans-serif&#39;; mso-bidi-font-size: 11.0pt"><span style="mso-tab-count: 1">            </span>var map = new OpenLayers.Map(&#39;map&#39;, {</span></p>


<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: #163c46; FONT-FAMILY: &#39;Segoe UI&#39;,&#39;sans-serif&#39;; mso-bidi-font-size: 11.0pt"><span style="mso-tab-count: 4">                                                </span>maxExtent: new OpenLayers.Bounds(545130525,258147752,546437807,259455034)</span></p>


<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: #163c46; FONT-FAMILY: &#39;Segoe UI&#39;,&#39;sans-serif&#39;; mso-bidi-font-size: 11.0pt"><span style="mso-tab-count: 4">                                                </span>maxResolution: 5000 </span></p>


<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: #163c46; FONT-FAMILY: &#39;Segoe UI&#39;,&#39;sans-serif&#39;; mso-bidi-font-size: 11.0pt"><span style="mso-tab-count: 4">                                                </span>} );</span></p>


<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: #163c46; FONT-FAMILY: &#39;Segoe UI&#39;,&#39;sans-serif&#39;; mso-bidi-font-size: 11.0pt"><span style="mso-tab-count: 1">            </span>var wmscURL = [</span></p>


<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: #163c46; FONT-FAMILY: &#39;Segoe UI&#39;,&#39;sans-serif&#39;; mso-bidi-font-size: 11.0pt"><span style="mso-tab-count: 2">                        </span>&quot;<a href="http://BECKS:8080/gss/ogc?version=1.3.0&amp;crs=sw:uk_british_national_grid_mm">http://BECKS:8080/gss/ogc?version=1.3.0&amp;crs=sw:uk_british_national_grid_mm</a>&quot;</span></p>


<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: #163c46; FONT-FAMILY: &#39;Segoe UI&#39;,&#39;sans-serif&#39;; mso-bidi-font-size: 11.0pt"><span style="mso-tab-count: 2">                        </span>];</span></p>


<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: #163c46; FONT-FAMILY: &#39;Segoe UI&#39;,&#39;sans-serif&#39;; mso-bidi-font-size: 11.0pt"><span style="mso-tab-count: 2">                        </span>var smallworldLayer = new OpenLayers.Layer.WMS( &#39;Cambridge Steet&#39; , wmscURL , { layers: &#39;&#39; , format: &#39;image/jpeg&#39;} , { buffer: 1 , isBaseLayer: true } );</span></p>


<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: #163c46; FONT-FAMILY: &#39;Segoe UI&#39;,&#39;sans-serif&#39;; mso-bidi-font-size: 11.0pt"><span style="mso-tab-count: 2">                        </span>map.addLayer( smallworldLayer );</span></p>


<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: #163c46; FONT-FAMILY: &#39;Segoe UI&#39;,&#39;sans-serif&#39;; mso-bidi-font-size: 11.0pt"><span style="mso-tab-count: 2">                        </span>map.zoomToMaxExtent();<span style="mso-tab-count: 2">                       </span></span></p>


<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: #163c46; FONT-FAMILY: &#39;Segoe UI&#39;,&#39;sans-serif&#39;; mso-bidi-font-size: 11.0pt">&lt;/script&gt;</span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span style="FONT-SIZE: 10pt; COLOR: #163c46; FONT-FAMILY: &#39;Segoe UI&#39;,&#39;sans-serif&#39;; mso-bidi-font-size: 11.0pt"> </span></p><br><br><br>
<div class="gmail_quote">On Wed, Jun 30, 2010 at 4:08 PM, <span dir="ltr">&lt;<a href="mailto:christopher.schmidt@nokia.com">christopher.schmidt@nokia.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im"><br>On Jun 30, 2010, at 1:58 AM, ext Kalyan Kamepalli wrote:<br><br>&gt; Yahoo !! I made some progress,<br>&gt;<br>&gt; I actually didn’t know that I have to create a layer for the map object. I now created one later and added it to map object. Excellent. It worked. I got my map. But, I am not happy with the quality/resolution of the map. I then set the maxResolution property of the map from 0.73 to 1. That didn’t help me either. Is there anything else I should do to improve it’s quality ? The same WMS direct call results in a high quality map from my server.<br>

<br></div>Remove the width, height, and bbox from your URL. then change your map creation to:<br><br> Map(&#39;map&#39;, {<br>       maxExtent: new OpenLayers.Bounds(545130525,258147752,546437807,259455034)<br>       maxResolution: 5000<br>

 });<br><br>Your Layer URL should then look like:<br><br> &quot;<a href="http://localhost:8080/gss/ogc?version=1.3.0&amp;crs=sw:uk_british_national_grid_mm" target="_blank">http://localhost:8080/gss/ogc?version=1.3.0&amp;crs=sw:uk_british_national_grid_mm</a>&quot;<br>

<br>Does the behavior improve?<br><br>-- Chris<br>
<div>
<div></div>
<div class="h5"><br>&gt; Any help is greatly appreciated.<br>&gt;<br>&gt; Thanks,<br>&gt; Kalyan<br>&gt;<br>&gt;<br>&gt; On Wed, Jun 30, 2010 at 1:41 PM, Kalyan Kamepalli &lt;<a href="mailto:kalyan.kamepalli@gmail.com">kalyan.kamepalli@gmail.com</a>&gt; wrote:<br>

&gt; Hi group,<br>&gt;<br>&gt; I do have a WMS service with my product, I am actually trying to use Smallworld Geospatial Server with WMS service. I just found one example using WMS service and trying to edit it to work with my service call. I changed the script section as follows<br>

&gt;<br>&gt; &lt;script type=&quot;text/javascript&quot;&gt;<br>&gt;             var map = new OpenLayers.Map(&#39;map&#39;,{maxResolution: 0.703125} );<br>&gt;             var wmscURL = [<br>&gt;                         &quot;<a href="http://localhost:8080/gss/ogc?request=GetMap&amp;service=WMS&amp;version=1.3.0&amp;width=600&amp;height=600&amp;format=image/jpeg&amp;bbox=545130525,258147752,546437807,259455034&amp;crs=sw:uk_british_national_grid_mm" target="_blank">http://localhost:8080/gss/ogc?request=GetMap&amp;service=WMS&amp;version=1.3.0&amp;width=600&amp;height=600&amp;format=image/jpeg&amp;bbox=545130525,258147752,546437807,259455034&amp;crs=sw:uk_british_national_grid_mm</a>&quot;<br>

&gt;                                                 //&quot;<a href="http://wmsc1.terrapages.net/getmap" target="_blank">http://wmsc1.terrapages.net/getmap</a>?&quot;,<br>&gt;                                                 //&quot;<a href="http://wmsc2.terrapages.net/getmap" target="_blank">http://wmsc2.terrapages.net/getmap</a>?&quot;,<br>

&gt;                                                 //&quot;<a href="http://wmsc3.terrapages.net/getmap" target="_blank">http://wmsc3.terrapages.net/getmap</a>?&quot;,<br>&gt;                                                 //&quot;<a href="http://wmsc4.terrapages.net/getmap" target="_blank">http://wmsc4.terrapages.net/getmap</a>?&quot;<br>

&gt;                                                 ];<br>&gt;             //var terrapagesStreetLayer = new OpenLayers.Layer.WMS( &#39;TerraPages Street&#39;,wmscURL, {layers: &#39;UnprojectedStreet&#39;, format: &#39;image/jpeg&#39; }, {buffer: 1, isBaseLayer: true} );<br>

&gt;             //map.addLayer(terrapagesStreetLayer);<br>&gt;             map.zoomToMaxExtent();<br>&gt; &lt;/script&gt;<br>&gt;<br>&gt; As I don’t want to display any other map, I commented those 4 map requests and included my request. But, It doesn’t give me any map. What could be reason for that ??<br>

&gt; If I use the same URL directly from a browser, I could see a map.  Is there something I am missing ? or is it not the way to call a map service ??<br>&gt;<br>&gt; Thanks,<br>&gt; Kalyan<br>&gt;<br>&gt; On Tue, Jun 29, 2010 at 5:05 PM, Zac Spitzer &lt;<a href="mailto:zac.spitzer@gmail.com">zac.spitzer@gmail.com</a>&gt; wrote:<br>

&gt; have a look thru the examples<br>&gt;<br>&gt; <a href="http://www.openlayers.org/dev/examples/" target="_blank">http://www.openlayers.org/dev/examples/</a><br>&gt;<br>&gt; that should be a good starting point, use view source to see how things are done<br>

&gt;<br>&gt; z<br>&gt;<br>&gt; On 29 June 2010 13:44, Kalyan Kamepalli &lt;<a href="mailto:kalyan.kamepalli@gmail.com">kalyan.kamepalli@gmail.com</a>&gt; wrote:<br>&gt; &gt; Hello Everyone,<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>

&gt; &gt; I am new to Java Script and thus Open Layers. I have an application server<br>&gt; &gt; that provides a map service and many other services like select, zoom in<br>&gt; &gt; zoom out.I wanted to map them on to Open layers and finally embed open<br>

&gt; &gt; layers on to a website. The map service is an XML based and it generates an<br>&gt; &gt; XML response.I also have WMS services that respond in WMS format.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Could someone share me the procedure to make the above process to work<br>

&gt; &gt; please. I know a bit of Java Script. Like how it works and how to code in it<br>&gt; &gt; and the function,Object structure of it. But, I never worked on it.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Regards,<br>

&gt; &gt;<br>&gt; &gt; Kalyan<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; Users mailing list<br>&gt; &gt; <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>

&gt; &gt; <a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Zac Spitzer<br>&gt; Solution Architect / Director<br>

&gt; Ennoble Consultancy Australia<br>&gt; <a href="http://www.ennoble.com.au/" target="_blank">http://www.ennoble.com.au</a><br>&gt; <a href="http://zacster.blogspot.com/" target="_blank">http://zacster.blogspot.com</a><br>

&gt; +61 405 847 168<br>&gt;<br>&gt;<br></div></div>&gt; &lt;ATT00001..txt&gt;<br><br>Regards,<br><font color="#888888">--<br>Christopher Schmidt<br>Nokia<br><br></font></blockquote></div><br></div>