From 9397720c8e3773fd458feb5725896cefc0c22cdc Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Wed, 18 Sep 2013 13:54:28 +0100 Subject: [PATCH] Export ol.Tile#getTileCoord --- src/ol/tile.exports | 1 + src/ol/tile.js | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 src/ol/tile.exports diff --git a/src/ol/tile.exports b/src/ol/tile.exports new file mode 100644 index 0000000000..33b1b0fdc8 --- /dev/null +++ b/src/ol/tile.exports @@ -0,0 +1 @@ +@exportProperty ol.Tile.prototype.getTileCoord diff --git a/src/ol/tile.js b/src/ol/tile.js index c343c5b908..9b35b5ec2d 100644 --- a/src/ol/tile.js +++ b/src/ol/tile.js @@ -70,6 +70,14 @@ ol.Tile.prototype.getKey = function() { }; +/** + * @return {ol.TileCoord} + */ +ol.Tile.prototype.getTileCoord = function() { + return this.tileCoord; +}; + + /** * @return {ol.TileState} State. */