code: function (lonlat) {
          var px = this.getViewPortPxFromLonLat(lonlat);
          px.x = Math.round(px.x);
          px.y = Math.round(px.y);
          return px;
      }
docs: APIMethod: getPixelFromLonLat
  Returns a pixel location given a map location.  The map location is
  translated to an integer pixel location (in viewport pixel
  coordinates) by the current base layer.
  
  Parameters:
  lonlat - {<OpenLayers.LonLat>} A map location.
  
  Returns:
  {<OpenLayers.Pixel>} An OpenLayers.Pixel corresponding to the
  <OpenLayers.LonLat> translated into view port pixels by the current
  base layer.