Type.registerNamespace('P1Services');
P1Services.IMapService=function() {
P1Services.IMapService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
P1Services.IMapService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return P1Services.IMapService._staticInstance.get_path();},
GetMapData:function(parameters,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMapData',false,{parameters:parameters},succeededCallback,failedCallback,userContext); }}
P1Services.IMapService.registerClass('P1Services.IMapService',Sys.Net.WebServiceProxy);
P1Services.IMapService._staticInstance = new P1Services.IMapService();
P1Services.IMapService.set_path = function(value) { P1Services.IMapService._staticInstance.set_path(value); }
P1Services.IMapService.get_path = function() { return P1Services.IMapService._staticInstance.get_path(); }
P1Services.IMapService.set_timeout = function(value) { P1Services.IMapService._staticInstance.set_timeout(value); }
P1Services.IMapService.get_timeout = function() { return P1Services.IMapService._staticInstance.get_timeout(); }
P1Services.IMapService.set_defaultUserContext = function(value) { P1Services.IMapService._staticInstance.set_defaultUserContext(value); }
P1Services.IMapService.get_defaultUserContext = function() { return P1Services.IMapService._staticInstance.get_defaultUserContext(); }
P1Services.IMapService.set_defaultSucceededCallback = function(value) { P1Services.IMapService._staticInstance.set_defaultSucceededCallback(value); }
P1Services.IMapService.get_defaultSucceededCallback = function() { return P1Services.IMapService._staticInstance.get_defaultSucceededCallback(); }
P1Services.IMapService.set_defaultFailedCallback = function(value) { P1Services.IMapService._staticInstance.set_defaultFailedCallback(value); }
P1Services.IMapService.get_defaultFailedCallback = function() { return P1Services.IMapService._staticInstance.get_defaultFailedCallback(); }
P1Services.IMapService.set_path("/services/mapjsonservice.svc");
P1Services.IMapService.GetMapData= function(parameters,onSuccess,onFailed,userContext) {P1Services.IMapService._staticInstance.GetMapData(parameters,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(MapParams) === 'undefined') {
var MapParams=gtc("MapParams:http://schemas.datacontract.org/2004/07/");
MapParams.registerClass('MapParams');
}
if (typeof(MapDataItem) === 'undefined') {
var MapDataItem=gtc("MapDataItem:http://schemas.datacontract.org/2004/07/");
MapDataItem.registerClass('MapDataItem');
}

