title: libgdx rendering tiledmap at a certain X coordinate of camera
body: <p>I'm trying to implement infinite scrolling in this Android game. To test this I'm just creating two tiledMaps with the same .tmx file, and then rendering them one after the other with respect to their x-values.</p>
  
  <p>The problem is that I can't get this setView to work:</p>
  
  <pre><code>TiledMap tiledMap2 = new TiledMap();
  TmxMapLoader loader2 = new TmxMapLoader();
  tiledMap2 = loader2.load("data/map1.tmx");
  
  
  OrthogonalTiledMapRenderer tileRenderer2 = new OrthogonalTiledMapRenderer(tiledMap2);
  tileRenderer2.setView(camera.combined, 512, 0, 512, 512);
  tileRenderer2.render();
  </code></pre>
  
  <p>Now I get this exact chunk of code to work earlier if I just use</p>
  
  <pre><code>tileRenderer2.setView(camera);
  </code></pre>
  
  <p>instead of </p>
  
  <pre><code>tileRenderer2.setView(camera.combined, 512, 0, 512, 512);
  </code></pre>
  
  <p>Is my problem one with the first argument of setView()?</p>