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;