code: function getNewDefaultRenderer(obj) {
         switch (obj.orientation) {
           case "orthogonal":
             return new me.TMXOrthogonalRenderer(obj.cols, obj.rows, obj.tilewidth, obj.tileheight);
  
           case "isometric":
             return new me.TMXIsometricRenderer(obj.cols, obj.rows, obj.tilewidth, obj.tileheight);
  
           case "hexagonal":
             return new me.TMXHexagonalRenderer(obj.cols, obj.rows, obj.tilewidth, obj.tileheight, obj.hexsidelength, obj.staggeraxis, obj.staggerindex);
           // if none found, throw an exception
  
           default:
             throw new Error(obj.orientation + " type TMX Tile Map not supported!");
         }
       }
docs: set a compatible renderer object
  for the specified map
  @ignore