<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
On 30/06/10 16:35, Kalyan Kamepalli wrote:
<blockquote
cite="mid:AANLkTilEsraXNyQh3Hd1qRIweGzDNYZl8T7fDGb5K37t@mail.gmail.com"
type="cite">
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span
style="font-size: 10pt; color: rgb(22, 60, 70); font-family: 'Segoe UI','sans-serif';"><span
style=""> </span>var map = new OpenLayers.Map('map', {</span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span
style="font-size: 10pt; color: rgb(22, 60, 70); font-family: 'Segoe UI','sans-serif';"><span
style=""> </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: rgb(22, 60, 70); font-family: 'Segoe UI','sans-serif';"><span
style=""> </span>maxResolution:
5000 </span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt;"><span
style="font-size: 10pt; color: rgb(22, 60, 70); font-family: 'Segoe UI','sans-serif';"><span
style=""> </span>} );</span></p>
</blockquote>
<br>
Try adding a comma at the end of your maxExtent line, like below:<br>
<br>
var map = new OpenLayers.Map('map', {<br>
maxExtent: new
OpenLayers.Bounds(545130525,258147752,546437807,259455034),<br>
maxResolution: 5000<br>
} );<br>
<br>
Regards, Roald<br>
</body>
</html>