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