title: Openlayers - Getting Incorrect LonLat while transform?
body: <p>I have trying to get <code>Latitude</code> and <code>Longitude</code> of a Point. 
  But While transforming it's not returning the correct <code>LonLat</code>. It's big number that is not a <code>lonlat</code> point for sure.</p>
  
  <p>I have tried for some solutions but didn't get result.
  What else could be failing?</p>
  
  <p>JS Code I have Tried </p>
  
  <pre><code>map = createMap("deviceMap");
  var fromProjection = new OpenLayers.Projection("EPSG:4326"); 
  var toProjection = new OpenLayers.Projection("EPSG:900913"); 
  
  map.events.register('click', map, function handleMapClick(e) {
            lonLat = self.map.getLonLatFromViewPortPx(e.xy).
            transform(map.getProjectionObject(), toProjection);
            prompt("",lonLat);
  });
  </code></pre>