<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br>>    .... part of the code which centers the view on the feature...<br><div>>    map.setCenter(new<br>> OpenLayers.LonLat(feature.geometry.getBounds().getCenterLonLat()).transform(new<br>> OpenLayers.Projection("EPSG:4326"),map.getProjectionObject()), 18);<br><br>if you're working only in EPSG:4326, the transformation is not needed. Try these ones:<br><font style="font-size:10pt;" color="#366092" face="Arial" size="2"><font style="font-size:10pt;" color="#1F497D" face="Arial" size="2"><font style="font-size:10pt;" size="2"><font style="font-size:10pt;" size="2"><font style="font-size:10pt;" size="2"><font style="font-size:10pt;" size="2"><font style="font-size:10pt;" size="2"><font style="font-size:10pt;" size="2"><font style="font-size:10pt;" size="2"><font style="font-size:10pt;" size="2"><font style="font-size:10pt;" size="2"><br></font></font></font></font></font></font></font></font></font></font></font>map.setCenter(myfeatures.getCenterLonLat(),10);<font style="font-size:10pt;" size="2"><font style="font-size:10pt;" size="2"><font style="font-size:10pt;" size="2"><font style="font-size:10pt;" size="2"><font style="font-size:10pt;" size="2"><font style="font-size:10pt;" size="2"><font style="font-size:10pt;" size="2"><font style="font-size:10pt;" size="2"><font style="font-size:10pt;" size="2"><br>map.zoomToExtent(myfeat<font style="font-size:10pt;" size="2">ures</font>);<br>map.zoomToScale(216672);</font></font></font></font></font></font></font></font></font><br></div>                                           </div></body>
</html>