var MapService=function() {
MapService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MapService.prototype={
GetMapData:function(fileName,succeededCallback, failedCallback, userContext) {
return this._invoke(MapService.get_path(), 'GetMapData',false,{fileName:fileName},succeededCallback,failedCallback,userContext); },
GetPlaceInfo:function(fileName,latitude,longitude,succeededCallback, failedCallback, userContext) {
return this._invoke(MapService.get_path(), 'GetPlaceInfo',false,{fileName:fileName,latitude:latitude,longitude:longitude},succeededCallback,failedCallback,userContext); }}
MapService.registerClass('MapService',Sys.Net.WebServiceProxy);
MapService._staticInstance = new MapService();
MapService.set_path = function(value) { MapService._staticInstance._path = value; }
MapService.get_path = function() { return MapService._staticInstance._path; }
MapService.set_timeout = function(value) { MapService._staticInstance._timeout = value; }
MapService.get_timeout = function() { return MapService._staticInstance._timeout; }
MapService.set_defaultUserContext = function(value) { MapService._staticInstance._userContext = value; }
MapService.get_defaultUserContext = function() { return MapService._staticInstance._userContext; }
MapService.set_defaultSucceededCallback = function(value) { MapService._staticInstance._succeeded = value; }
MapService.get_defaultSucceededCallback = function() { return MapService._staticInstance._succeeded; }
MapService.set_defaultFailedCallback = function(value) { MapService._staticInstance._failed = value; }
MapService.get_defaultFailedCallback = function() { return MapService._staticInstance._failed; }
MapService.set_path("/JuanDoNeblo/Shapefiles/MapService.asmx");
MapService.GetMapData= function(fileName,onSuccess,onFailed,userContext) {MapService._staticInstance.GetMapData(fileName,onSuccess,onFailed,userContext); }
MapService.GetPlaceInfo= function(fileName,latitude,longitude,onSuccess,onFailed,userContext) {MapService._staticInstance.GetPlaceInfo(fileName,latitude,longitude,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Shape) === 'undefined') {
var Shape=gtc("Shape");
Shape.registerClass('Shape');
}
