From 9f7e94ec85fb89c0ae89dbaaaf7a2779a4c64f09 Mon Sep 17 00:00:00 2001 From: Petr Sloup Date: Fri, 26 Sep 2014 14:43:38 +0200 Subject: [PATCH] Added UTFGridJSON to the TileJSON externs --- externs/tilejson.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/externs/tilejson.js b/externs/tilejson.js index 6e982cc325..00ca83a8ee 100644 --- a/externs/tilejson.js +++ b/externs/tilejson.js @@ -1,6 +1,7 @@ /** * @externs * @see https://github.com/mapbox/tilejson-spec + * @see https://github.com/mapbox/utfgrid-spec */ @@ -93,3 +94,28 @@ TileJSON.prototype.bounds; * @type {!Array.|undefined} */ TileJSON.prototype.center; + + + +/** + * @constructor + */ +var UTFGridJSON = function() {}; + + +/** + * @type {!Array.} + */ +UTFGridJSON.prototype.grid; + + +/** + * @type {!Array.} + */ +UTFGridJSON.prototype.keys; + + +/** + * @type {!Object.|undefined} + */ +UTFGridJSON.prototype.data;