Type.registerNamespace('DignityMemorial.MapControl');
DignityMemorial.MapControl.MapControlServices=function() {
DignityMemorial.MapControl.MapControlServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DignityMemorial.MapControl.MapControlServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return DignityMemorial.MapControl.MapControlServices._staticInstance.get_path();},
PlotHybirdPins:function(locationString,brand,lang,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PlotHybirdPins',false,{locationString:locationString,brand:brand,lang:lang},succeededCallback,failedCallback,userContext); },
PlotCurrentLocation:function(locationString,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PlotCurrentLocation',false,{locationString:locationString},succeededCallback,failedCallback,userContext); },
PlotLocation:function(locationCd,latitude,longitude,brand,lang,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PlotLocation',false,{locationCd:locationCd,latitude:latitude,longitude:longitude,brand:brand,lang:lang},succeededCallback,failedCallback,userContext); },
PlotResultPins:function(locationString,brand,lang,startPage,recordsPerPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PlotResultPins',false,{locationString:locationString,brand:brand,lang:lang,startPage:startPage,recordsPerPage:recordsPerPage},succeededCallback,failedCallback,userContext); },
PlotResultNamePins:function(locationString,address,brand,lang,startPage,recordsPerPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PlotResultNamePins',false,{locationString:locationString,address:address,brand:brand,lang:lang,startPage:startPage,recordsPerPage:recordsPerPage},succeededCallback,failedCallback,userContext); },
PlotPins:function(locationString,brand,lang,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PlotPins',false,{locationString:locationString,brand:brand,lang:lang},succeededCallback,failedCallback,userContext); },
PlotPointsOfInterest:function(locationString,locationName,locationCd,brand,lang,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PlotPointsOfInterest',false,{locationString:locationString,locationName:locationName,locationCd:locationCd,brand:brand,lang:lang},succeededCallback,failedCallback,userContext); },
PlotJumpPages:function(jumpGroup,locationName,jumpName,brand,lang,startPage,recordsPerPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PlotJumpPages',false,{jumpGroup:jumpGroup,locationName:locationName,jumpName:jumpName,brand:brand,lang:lang,startPage:startPage,recordsPerPage:recordsPerPage},succeededCallback,failedCallback,userContext); },
PlotSingleLocation:function(locationName,streetAddress,locationCity,locationState,locationPostalCode,locationPhone,brand,lang,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PlotSingleLocation',false,{locationName:locationName,streetAddress:streetAddress,locationCity:locationCity,locationState:locationState,locationPostalCode:locationPostalCode,locationPhone:locationPhone,brand:brand,lang:lang},succeededCallback,failedCallback,userContext); },
GetDirections:function(startAddress,endAddress,lanuage,distance,time,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDirections',false,{startAddress:startAddress,endAddress:endAddress,lanuage:lanuage,distance:distance,time:time},succeededCallback,failedCallback,userContext); }}
DignityMemorial.MapControl.MapControlServices.registerClass('DignityMemorial.MapControl.MapControlServices',Sys.Net.WebServiceProxy);
DignityMemorial.MapControl.MapControlServices._staticInstance = new DignityMemorial.MapControl.MapControlServices();
DignityMemorial.MapControl.MapControlServices.set_path = function(value) { DignityMemorial.MapControl.MapControlServices._staticInstance.set_path(value); }
DignityMemorial.MapControl.MapControlServices.get_path = function() { return DignityMemorial.MapControl.MapControlServices._staticInstance.get_path(); }
DignityMemorial.MapControl.MapControlServices.set_timeout = function(value) { DignityMemorial.MapControl.MapControlServices._staticInstance.set_timeout(value); }
DignityMemorial.MapControl.MapControlServices.get_timeout = function() { return DignityMemorial.MapControl.MapControlServices._staticInstance.get_timeout(); }
DignityMemorial.MapControl.MapControlServices.set_defaultUserContext = function(value) { DignityMemorial.MapControl.MapControlServices._staticInstance.set_defaultUserContext(value); }
DignityMemorial.MapControl.MapControlServices.get_defaultUserContext = function() { return DignityMemorial.MapControl.MapControlServices._staticInstance.get_defaultUserContext(); }
DignityMemorial.MapControl.MapControlServices.set_defaultSucceededCallback = function(value) { DignityMemorial.MapControl.MapControlServices._staticInstance.set_defaultSucceededCallback(value); }
DignityMemorial.MapControl.MapControlServices.get_defaultSucceededCallback = function() { return DignityMemorial.MapControl.MapControlServices._staticInstance.get_defaultSucceededCallback(); }
DignityMemorial.MapControl.MapControlServices.set_defaultFailedCallback = function(value) { DignityMemorial.MapControl.MapControlServices._staticInstance.set_defaultFailedCallback(value); }
DignityMemorial.MapControl.MapControlServices.get_defaultFailedCallback = function() { return DignityMemorial.MapControl.MapControlServices._staticInstance.get_defaultFailedCallback(); }
DignityMemorial.MapControl.MapControlServices.set_path("/MapControlServices.asmx");
DignityMemorial.MapControl.MapControlServices.PlotHybirdPins= function(locationString,brand,lang,onSuccess,onFailed,userContext) {DignityMemorial.MapControl.MapControlServices._staticInstance.PlotHybirdPins(locationString,brand,lang,onSuccess,onFailed,userContext); }
DignityMemorial.MapControl.MapControlServices.PlotCurrentLocation= function(locationString,onSuccess,onFailed,userContext) {DignityMemorial.MapControl.MapControlServices._staticInstance.PlotCurrentLocation(locationString,onSuccess,onFailed,userContext); }
DignityMemorial.MapControl.MapControlServices.PlotLocation= function(locationCd,latitude,longitude,brand,lang,onSuccess,onFailed,userContext) {DignityMemorial.MapControl.MapControlServices._staticInstance.PlotLocation(locationCd,latitude,longitude,brand,lang,onSuccess,onFailed,userContext); }
DignityMemorial.MapControl.MapControlServices.PlotResultPins= function(locationString,brand,lang,startPage,recordsPerPage,onSuccess,onFailed,userContext) {DignityMemorial.MapControl.MapControlServices._staticInstance.PlotResultPins(locationString,brand,lang,startPage,recordsPerPage,onSuccess,onFailed,userContext); }
DignityMemorial.MapControl.MapControlServices.PlotResultNamePins= function(locationString,address,brand,lang,startPage,recordsPerPage,onSuccess,onFailed,userContext) {DignityMemorial.MapControl.MapControlServices._staticInstance.PlotResultNamePins(locationString,address,brand,lang,startPage,recordsPerPage,onSuccess,onFailed,userContext); }
DignityMemorial.MapControl.MapControlServices.PlotPins= function(locationString,brand,lang,onSuccess,onFailed,userContext) {DignityMemorial.MapControl.MapControlServices._staticInstance.PlotPins(locationString,brand,lang,onSuccess,onFailed,userContext); }
DignityMemorial.MapControl.MapControlServices.PlotPointsOfInterest= function(locationString,locationName,locationCd,brand,lang,onSuccess,onFailed,userContext) {DignityMemorial.MapControl.MapControlServices._staticInstance.PlotPointsOfInterest(locationString,locationName,locationCd,brand,lang,onSuccess,onFailed,userContext); }
DignityMemorial.MapControl.MapControlServices.PlotJumpPages= function(jumpGroup,locationName,jumpName,brand,lang,startPage,recordsPerPage,onSuccess,onFailed,userContext) {DignityMemorial.MapControl.MapControlServices._staticInstance.PlotJumpPages(jumpGroup,locationName,jumpName,brand,lang,startPage,recordsPerPage,onSuccess,onFailed,userContext); }
DignityMemorial.MapControl.MapControlServices.PlotSingleLocation= function(locationName,streetAddress,locationCity,locationState,locationPostalCode,locationPhone,brand,lang,onSuccess,onFailed,userContext) {DignityMemorial.MapControl.MapControlServices._staticInstance.PlotSingleLocation(locationName,streetAddress,locationCity,locationState,locationPostalCode,locationPhone,brand,lang,onSuccess,onFailed,userContext); }
DignityMemorial.MapControl.MapControlServices.GetDirections= function(startAddress,endAddress,lanuage,distance,time,onSuccess,onFailed,userContext) {DignityMemorial.MapControl.MapControlServices._staticInstance.GetDirections(startAddress,endAddress,lanuage,distance,time,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('DignityMemorial.MapControl.MappingService');
if (typeof(DignityMemorial.MapControl.MappingService.MapShape) === 'undefined') {
DignityMemorial.MapControl.MappingService.MapShape=gtc("DignityMemorial.MapControl.MappingService.MapShape");
DignityMemorial.MapControl.MappingService.MapShape.registerClass('DignityMemorial.MapControl.MappingService.MapShape');
}
if (typeof(DignityMemorial.MapControl.MappingService.RouteResult) === 'undefined') {
DignityMemorial.MapControl.MappingService.RouteResult=gtc("DignityMemorial.MapControl.MappingService.RouteResult");
DignityMemorial.MapControl.MappingService.RouteResult.registerClass('DignityMemorial.MapControl.MappingService.RouteResult');
}

