goog.provide('bu');
/**
* Constants defined with the define tag cannot be changed in application
* code, but can be set at compile time.
* Some reduce the size of the build in advanced compile mode.
*/
/**
* @define {string} BlomURBEX server URL.
*/
bu.PROTOCOL = document.location.protocol;
if (bu.PROTOCOL == "file:") {
bu.PROTOCOL = "http:";
}
bu.HOST = document.location.host;
if (bu.HOST == '') {
bu.HOST = 'www.blomurbex.com';
}
bu.SERVER = bu.PROTOCOL + "//" + bu.HOST + '/v02/';
//bu.SERVER = 'http://172.16.0.202/v02/';
/**
* @define {string} BlomURBEX WMTS service URL.
*/
bu.WMTS_SERVICE = bu.SERVER + 'WMTSService';
/**
* @define {string} BlomURBEX GetOrthoInformation service URL.
*/
bu.GETORTHOINFO_SERVICE = bu.SERVER + 'GetOrthoInformation';
/**
* @define {string} BlomURBEX WFSProxyBlomStreet service URL.
*/
bu.WFSPROXYBLOMSTREET_SERVICE = bu.SERVER + 'WFSProxyBlomStreet';
/**
* @define {string} BlomURBEX GetStreetImageMetadata service URL.
*/
bu.GETSTREETIMAGEMETADATA_SERVICE = bu.SERVER + 'GetStreetImageMetadata';
/**
* @define {string} BlomURBEX FindStreetImagesByExtent service URL.
*/
bu.FINDSTREETIMAGESBYEXTENT_SERVICE = bu.SERVER + 'FindStreetImagesByExtent';
/**
* @define {string} BlomURBEX API version.
*/
bu.VERSION = '7.0.0';
/**
* @define {number} Mean radius of Earth.
*/
bu.MEAN_EARTH_RADIUS = 6371009;
bu.M_RAD_TO_DEG = 57.2957795130823208767; //180.0 / Math.PI;
bu.M_DEG_TO_RAD = 0.01745329251994329576; // Math.PI / 180;