Move top-level typedefs to typedefs.js

With one exception, those directly in the `ol` namespace can be moved without problem.
Some left-over goog.requires are also removed.
This commit is contained in:
Peter Robins
2016-05-04 12:05:41 +00:00
parent d6395a3c82
commit 535e8f5e35
43 changed files with 293 additions and 326 deletions

View File

@@ -1,19 +1,9 @@
goog.provide('ol.TileCoord');
goog.provide('ol.tilecoord');
goog.require('goog.asserts');
goog.require('ol.extent');
/**
* An array of three numbers representing the location of a tile in a tile
* grid. The order is `z`, `x`, and `y`. `z` is the zoom level.
* @typedef {Array.<number>} ol.TileCoord
* @api
*/
ol.TileCoord;
/**
* @enum {number}
*/