<div><br></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(121, 6, 25); font-weight: bold; white-space: nowrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br>
</span></div><div>Thanks for the reply,</div><div>here is the code which i used with static map, but the longitued and latitude i got is incorrect or sometime i couldnot even get any image loaded on the canvas.</div><div>
<br></div><div>function init(){</div><div>            map = new OpenLayers.Map(&#39;map&#39;);</div><div>            var options = { numZoomLevels: 5 };</div><div>            var olbound = new OpenLayers.Bounds(15.865164, 58.172783, 16.651403, 58.620233);           //bounds(left,buttom,right,top)</div>
<div>          </div><div>           </div><div>            var topograpy = new OpenLayers.Layer.Image(</div><div>                                &#39;Wrap signals&#39;,</div><div>                                &#39;img/image.24.png&#39;, olbound,</div>
<div>                                new OpenLayers.Size(1000, 1000),                    //size in pixel of the map</div><div>                                options); </div><div><br></div><div>     map.setCenter(new OpenLayers.LonLat(58.406794, 16.23069), 3);<br>
</div><div>   }</div><div><br></div><div>I will be thankful, if somebody can help me with this problem.</div><div><br></div><div><br></div><div><br></div><div>Hi,<br>&gt; I had seen your posts and replies in this forum, which is impressive and<br>
&gt; helped me lot as well while using openlayer.<br>&gt; Actaully i am new to openlayer and i am using static map image(jpg) of my<br>&gt; city but i could not get correct long/lat value since i use map of very<br>&gt; small city, i try to fix it through<br>
&gt; OpenLayers.Bounds(15.865164, 58.172783, 16.651403, 58.620233) and i set the<br>&gt; centre long/lat as 0,0 which is not workin then i set them in to its real<br>&gt; long/lat that is also not working.<br>&gt; is there any method which i didn&#39;t understood to make static map of my city<br>
&gt; with long/lat value.<br>&gt;<br>&gt; The concept that i follow for Bounds and centre are:<br>&gt;<br>&gt;<br>&gt;                -------------------------------------(long1, lat1)<br>&gt;               |                                     |<br>
&gt;               |        image (lon,lat)         |<br>&gt; (long2,lat2)-------------------------------------<br>&gt;<br>&gt; i would be very thankful if you could help me.<br>&gt;<br>&gt; regards,<br>&gt; nabin<br></div>
<div><br></div><div> </div>