var Service=function() {
Service.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Service.prototype={
GetCoverage:function(coordinates,theme,succeededCallback, failedCallback, userContext) {
return this._invoke(Service.get_path(), 'GetCoverage',false,{coordinates:coordinates,theme:theme},succeededCallback,failedCallback,userContext); },
Geocode:function(address,succeededCallback, failedCallback, userContext) {
return this._invoke(Service.get_path(), 'Geocode',false,{address:address},succeededCallback,failedCallback,userContext); }}
Service.registerClass('Service',Sys.Net.WebServiceProxy);
Service._staticInstance = new Service();
Service.set_path = function(value) { Service._staticInstance._path = value; }
Service.get_path = function() { return Service._staticInstance._path; }
Service.set_timeout = function(value) { Service._staticInstance._timeout = value; }
Service.get_timeout = function() { return Service._staticInstance._timeout; }
Service.set_defaultUserContext = function(value) { Service._staticInstance._userContext = value; }
Service.get_defaultUserContext = function() { return Service._staticInstance._userContext; }
Service.set_defaultSucceededCallback = function(value) { Service._staticInstance._succeeded = value; }
Service.get_defaultSucceededCallback = function() { return Service._staticInstance._succeeded; }
Service.set_defaultFailedCallback = function(value) { Service._staticInstance._failed = value; }
Service.get_defaultFailedCallback = function() { return Service._staticInstance._failed; }
Service.set_path("/Service.asmx");
Service.GetCoverage= function(coordinates,theme,onSuccess,onFailed,userContext) {Service._staticInstance.GetCoverage(coordinates,theme,onSuccess,onFailed,userContext); }
Service.Geocode= function(address,onSuccess,onFailed,userContext) {Service._staticInstance.Geocode(address,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('SpatialPoint.Mapping');
if (typeof(SpatialPoint.Mapping.Coordinates) === 'undefined') {
SpatialPoint.Mapping.Coordinates=gtc("SpatialPoint.Mapping.Coordinates");
SpatialPoint.Mapping.Coordinates.registerClass('SpatialPoint.Mapping.Coordinates');
}
Type.registerNamespace('SpatialPoint.Mapping.Atlas.Web');
if (typeof(SpatialPoint.Mapping.Atlas.Web.Address) === 'undefined') {
SpatialPoint.Mapping.Atlas.Web.Address=gtc("SpatialPoint.Mapping.Atlas.Web.Address");
SpatialPoint.Mapping.Atlas.Web.Address.registerClass('SpatialPoint.Mapping.Atlas.Web.Address');
}
if (typeof(SpatialPoint.Mapping.Atlas.Web.FoundLocation) === 'undefined') {
SpatialPoint.Mapping.Atlas.Web.FoundLocation=gtc("SpatialPoint.Mapping.Atlas.Web.FoundLocation");
SpatialPoint.Mapping.Atlas.Web.FoundLocation.registerClass('SpatialPoint.Mapping.Atlas.Web.FoundLocation');
}
