- Swapped x and z coordinates of the output geometry
- mergeTiles() now finds and returns map's bbox
  (although it is never used)
- Added some comments