1 | /**
|
2 | * @externs
|
3 | * @see https://github.com/mapbox/tilejson-spec
|
4 | * @see https://github.com/mapbox/utfgrid-spec
|
5 | */
|
6 |
|
7 |
|
8 | /**
|
9 | * @constructor
|
10 | */
|
11 | var TileJSON = function() {};
|
12 |
|
13 |
|
14 | /**
|
15 | * @type {string}
|
16 | */
|
17 | TileJSON.prototype.tilejson;
|
18 |
|
19 |
|
20 | /**
|
21 | * @type {string|undefined}
|
22 | */
|
23 | TileJSON.prototype.name;
|
24 |
|
25 |
|
26 | /**
|
27 | * @type {string|undefined}
|
28 | */
|
29 | TileJSON.prototype.description;
|
30 |
|
31 |
|
32 | /**
|
33 | * @type {string|undefined}
|
34 | */
|
35 | TileJSON.prototype.version;
|
36 |
|
37 |
|
38 | /**
|
39 | * @type {string|undefined}
|
40 | */
|
41 | TileJSON.prototype.attribution;
|
42 |
|
43 |
|
44 | /**
|
45 | * @type {string|undefined}
|
46 | */
|
47 | TileJSON.prototype.template;
|
48 |
|
49 |
|
50 | /**
|
51 | * @type {string|undefined}
|
52 | */
|
53 | TileJSON.prototype.legend;
|
54 |
|
55 |
|
56 | /**
|
57 | * @type {string|undefined}
|
58 | */
|
59 | TileJSON.prototype.scheme;
|
60 |
|
61 |
|
62 | /**
|
63 | * @type {!Array.<string>}
|
64 | */
|
65 | TileJSON.prototype.tiles;
|
66 |
|
67 |
|
68 | /**
|
69 | * @type {!Array.<string>|undefined}
|
70 | */
|
71 | TileJSON.prototype.grids;
|
72 |
|
73 |
|
74 | /**
|
75 | * @type {number|undefined}
|
76 | */
|
77 | TileJSON.prototype.minzoom;
|
78 |
|
79 |
|
80 | /**
|
81 | * @type {number|undefined}
|
82 | */
|
83 | TileJSON.prototype.maxzoom;
|
84 |
|
85 |
|
86 | /**
|
87 | * @type {!Array.<number>|undefined}
|
88 | */
|
89 | TileJSON.prototype.bounds;
|
90 |
|
91 |
|
92 | /**
|
93 | * @type {!Array.<number>|undefined}
|
94 | */
|
95 | TileJSON.prototype.center;
|
96 |
|
97 |
|
98 |
|
99 | /**
|
100 | * @constructor
|
101 | */
|
102 | var UTFGridJSON = function() {};
|
103 |
|
104 |
|
105 | /**
|
106 | * @type {!Array.<string>}
|
107 | */
|
108 | UTFGridJSON.prototype.grid;
|
109 |
|
110 |
|
111 | /**
|
112 | * @type {!Array.<string>}
|
113 | */
|
114 | UTFGridJSON.prototype.keys;
|
115 |
|
116 |
|
117 | /**
|
118 | * @type {!Object.<string, Object>|undefined}
|
119 | */
|
120 | UTFGridJSON.prototype.data;
|