 10, 10, 1)
		```
		*/
		setTileGID(gid: number, posOrX: Vec2|number, flagsOrY: number, flags?: number): void;
		/**
		!#en
		Returns the tile gid at a given tile coordinate. <br />
		if it returns 0, it means that the tile is empty. <br />
		This method requires the the tile map has not been previously released (eg. don't call layer.releaseMap())<br />
		!#zh
		通过给定的 tile 坐标、flags（可选）返回 tile 的 GID. <br />
		如果它返回 0，则表示该 tile 为空。<br />
		该方法要求 tile 地图之前没有被释放过(如：没有调用过layer.releaseMap()).
		@param pos or x
		@param y y

		@example
		```js
		var tileGid = tiledLayer.getTileGIDAt(0, 0);
		```
		*/
		getTileGIDAt(pos: Vec2|number, y?: number): number;
		/**
		!#en
		Returns the tile (_ccsg.Sprite) at a given a tile coordinate. <br/>
		The returned _ccsg.Sprite will be already added to the _ccsg.TMXLayer. Don't add it again.<br/>
		The _ccsg.Sprite can be treated like any other _ccsg.Sprite: rotated, scaled, translated, opacity, color, etc. <br/>
		You can remove either by calling: <br/>
		- layer.removeChild(sprite, cleanup); <br/>
		- or layer.removeTileAt(ccp(x,y));
		!#zh
		通过指定的 tile 坐标获取对应的 tile(Sprite)。 返回的 tile(Sprite) 应是已经添加到 TMXLayer，请不要重复添加。<br/>
		这个 tile(Sprite) 如同其他的 Sprite 一样，可以旋转、缩放、翻转、透明化、设置颜色等。<br/>
		你可以通过调用以下方法来对它进行删除:<br/>
		1. layer.removeChild(sprite, cleanup);<br/>
		2. 或 layer.removeTileAt(cc.v2(x,y));
		@param pos or x
		@param y y

		@example
		```js
		var title = tiledLayer.getTileAt(100, 100);
		cc.log(title);
		```
		*/
		getTileAt(pos: Vec2|number, y?: number): _ccsg.Sprite;
		/**
		!#en
		Dealloc the map that contains the tile position from memory. <br />
		Unless you want to know at runtime the tiles positions, you can safely call this method. <br />
		If you are going to call layer.getTileGIDAt() then, don't release the map.
		!#zh
		从内存中释放包含 tile 位置信息的地图。<br />
		除了在运行时想要知道 tiles 的位置信息外，你都可安全的调用此方法。<br />
		如果你之后还要调用 layer.tileGIDAt(), 请不要释放地图.

		@example
		```js
		tiledLayer.releaseMap();
		```
		*/
		releaseMap(): void;
		/**
		!#en Sets the untransformed size of the _ccsg.TMXLayer.
		!#zh 设置未转换的 layer 大小。
		@param size The untransformed size of the _ccsg.TMXLayer or The untransformed size's width of the TMXLayer.
		@param height The untransformed size's height of the _ccsg.TMXLayer.

		@example
		```js
		tiledLayer.setContentSize(100, 100);
		```
		*/
		setContentSize(size: Size|number, height?: number): void;
		/**
		!#en Return texture of cc.SpriteBatchNode.
		!#zh 获取纹理。

		@example
		```js
		var texture = tiledLayer.getTexture();
		cc.log("Texture: " + texture);
		```
		*/
		getTexture(): Texture2D;
		/**
		!#en Set the texture of cc.SpriteBatchNode.
		!#zh 设置纹理。
		@param texture texture

		@example
		```js
		tiledLayer.setTexture(texture);
		```
		*/
		setTexture(texture: Texture2D): void;
		/**
		!#en Set the opacity of all tiles
		!#zh 设置所有 Tile 的透明度
		@param opacity opacity

		@example
		```js
		tiledLayer.setTileOpacity(128);
		```
		*/
		setTileOpacity(opacity: number): void;
		/**
		!#en Gets layer size.
		!#zh 获得层大小。

		@example
		```js
		var size = tiledLayer.getLayerSize();
		cc.log("layer size: " + size);
		```
		*/
		getLayerSize(): Size;
		/**
		!#en Set layer size.
		!#zh 设置层大小。
		@param layerSize layerSize

		@example
		```js
		tiledLayer.setLayerSize(new cc.size(5, 5));
		```
		*/
		setLayerSize(layerSize: Size): void;
		/**
		!#en Size of the map's tile (could be different from the tile's size).
		!#zh 获取 tile 的大小( tile 的大小可能会有所不同)。

		@example
		```js
		var mapTileSize = tiledLayer.getMapTileSize();
		cc.log("MapTile size: " + mapTileSize);
		```
		*/
		getMapTileSize(): Size;
		/**
		!#en Set the map tile size.
		!#zh 设置 tile 的大小。
		@param tileSize tileSize

		@example
		```js
		tiledLayer.setMapTileSize(new cc.size(10, 10));
		```
		*/
		setMapTileSize(tileSize: Size): void;
		/**
		!#en Pointer to the map of tiles.
		!#zh 获取地图 tiles。

		@example
		```js
		var tiles = tiledLayer.getTiles();
		```
		*/
		getTiles(): any[];
		/**
		!#en Pointer to the map of tiles.
		!#zh 设置地图 tiles
		@param tiles tiles

		@example
		```js
		tiledLayer.setTiles(tiles);
		```
		*/
		setTiles(tiles: any[]): void;
		/**
		!#en Tile set information for the layer.
		!#zh 获取 layer 的 Tileset 信息。

		@example
		```js
		var tileset = tiledLayer.getTileSet();
		```
		*/
		getTileSet(): TMXTilesetInfo;
		/**
		!#en Tile set information for the layer.
		!#zh 设置 layer 的 Tileset 信息。
		@param tileset tileset

		@example
		```js
		tiledLayer.setTileSet(tileset);
		```
		*/
		setTileSet(tileset: TMXTilesetInfo): void;
		/**
		!#en Layer orientation, which is the same as the map orientation.
		!#zh 获取 Layer 方向(同地图方向)。

		@example
		```js
		var orientation = tiledLayer.getLayerOrientation();
		cc.log("Layer Orientation: " + orientation);
		```
		*/
		getLayerOrientation(): number;
		/**
		!#en Layer orientation, which is the same as the map orientation.
		!#zh 设置 Layer 方向(同地图方向)。
		@param orientation orientation

		@example
		```js
		tiledLayer.setLayerOrientation(TiledMap.Orientation