summaryrefslogtreecommitdiff
path: root/misc/openlayers/build/closure-compiler/Externs.js
blob: 3bb9464a14c525850ca26d0f02417db9e558a909 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// ********************************************
// This source file serves *ONLY* to avoid some compilation errors when the 
//      compiler uses the flag:
//          --jscomp_error undefinedVars
//
// In this source are declared all variables from other programs that use 
//      OpenLayers. This avoids the error of undefined variable for these names.
//
// NOTE: The compiler does not include externs files like this in the 
//      compilation result.
// ********************************************

// Used in lib/Firebug/firebug.js when gecko_dom
    var frames;

// Check the console when using Firebug Lite
    var console;

// Proj4js
    var Proj4js = {Proj: function(){}};

// Check JSON in lib/OpenLayers/Format/JSON.js
    var JSON = {};

// Google Maps
    var GMap2;
    var G_NORMAL_MAP;
    var GEvent;
    var GLatLngBounds = function(){};
    var GSize = function(x, y){};
    var GPoint = function(x, y){};
    var GLatLng = function(lat, lon){};
    
// Multimap
    var MultimapViewer = function(div){};
    var MMLatLon = function(lat, lon){};
    var MMPoint = function(x, y){};

//VirtualEarth
    var VEMap = function(name){};
    var VEPixel = function(x, y){};
    var VELatLong = function(lat, lon){};
    var Msn = {VE:{}};

// Yahoo
    var YMap = function(div, type, size){};
    var YGeoPoint = function(lat, lon){};
    var YCoordPoint = function(x, y){};
    var YSize = function(w, h){};