Hello.<br>I have a problem with geocoding.<br><br>I have a function to do it, but the problem its the result. I geocode and the result it's in EPSG:4326 projection but mi map it's in EPSG:900913. I try to put the transform function of OpenLayers.LonLat object but I'm doing somthing wrong.<br>
My function it's:<br><br><br> function showAddress(address) {<br> var geocoder = new GClientGeocoder();<br> if (geocoder) {<br> geocoder.getLatLng(<br> address,<br> function(point) {<br>
if (!point) {alert(address + " not found");}<br> else {map.setCenter(new OpenLayers.LonLat(point.x,point.y),15)}<br> }<br> );<br> }<br> }<br><br>Anyone can help me?<br>
<br>Thanks<br>