Added UTFGridJSON to the TileJSON externs

This commit is contained in:
Petr Sloup
2014-09-26 14:43:38 +02:00
parent 641a829918
commit 9f7e94ec85

View File

@@ -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.<number>|undefined}
*/
TileJSON.prototype.center;
/**
* @constructor
*/
var UTFGridJSON = function() {};
/**
* @type {!Array.<string>}
*/
UTFGridJSON.prototype.grid;
/**
* @type {!Array.<string>}
*/
UTFGridJSON.prototype.keys;
/**
* @type {!Object.<string, Object>|undefined}
*/
UTFGridJSON.prototype.data;