UNPKG

611 BJavaScriptView Raw
1/**
2 * @externs
3 * @see http://proj4js.org/
4 */
5
6
7/**
8 * @constructor
9 */
10var Proj4 = function() {};
11
12
13/**
14 * @param {ol.Coordinate} coordinates
15 * @return {ol.Coordinate}
16 */
17Proj4.prototype.forward = function(coordinates) {};
18
19
20/**
21 * @param {ol.Coordinate} coordinates
22 * @return {ol.Coordinate}
23 */
24Proj4.prototype.inverse = function(coordinates) {};
25
26
27/**
28 * @param {string} name
29 * @param {(string|Object)=} opt_def
30 * @return {undefined|Object.<string, Object.<{axis: string, units: string, to_meter: number}>>}
31 */
32Proj4.prototype.defs = function(name, opt_def) {};
33
34/**
35 * @type {Proj4}
36 */
37var proj4;