code: public Coordinate lngLatToMeters(Coordinate coord) {
          double mx = coord.x * originShift / 180.0;
          double my = Math.log(Math.tan((90 + coord.y) * Math.PI / 360.0)) / (Math.PI / 180.0);
          my *= originShift / 180.0;
          return new Coordinate(mx, my);
      }
docs: Converts given coordinate in WGS84 Datum to XY in Spherical Mercator
  EPSG:3857
  
  @param coord The coordinate to convert
  @return The coordinate transformed to EPSG:3857