title: How to correct aspect ratio of tiled map rendering in libgdx?
body: <p>First of all, some explanation of situation.</p>
  
  <p>Init tiled map code:</p>
  
  <pre><code>map = new TmxMapLoader().load("maps/map.tmx");
  mapRenderer = new OrthogonalTiledMapRenderer(map, 1f / 32f);
  </code></pre>
  
  <p>Rendering code:</p>
  
  <pre><code>mapRenderer.setView(cam);
  mapRenderer.render();
  </code></pre>
  
  <p>The problem. I have square map and non-square screen. Map fills whole screen. Because of that map scales incorrectly (32x32 cells transform to 32x40 cells according to X and Y scaling of screen). How can I render map without filling whole screen?</p>