var GoogleMap=function() {
GoogleMap.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GoogleMap.prototype={
GetGoBananasMarkerGroups:function(left,right,bottom,top,succeededCallback, failedCallback, userContext) {
return this._invoke(GoogleMap.get_path(), 'GetGoBananasMarkerGroups',false,{left:left,right:right,bottom:bottom,top:top},succeededCallback,failedCallback,userContext); },
GetGoBananasRandomMarker:function(succeededCallback, failedCallback, userContext) {
return this._invoke(GoogleMap.get_path(), 'GetGoBananasRandomMarker',false,{},succeededCallback,failedCallback,userContext); },
SearchGoBananas:function(searchTerm,left,right,bottom,top,succeededCallback, failedCallback, userContext) {
return this._invoke(GoogleMap.get_path(), 'SearchGoBananas',false,{searchTerm:searchTerm,left:left,right:right,bottom:bottom,top:top},succeededCallback,failedCallback,userContext); },
GetMarkerGroups:function(left,right,bottom,top,succeededCallback, failedCallback, userContext) {
return this._invoke(GoogleMap.get_path(), 'GetMarkerGroups',false,{left:left,right:right,bottom:bottom,top:top},succeededCallback,failedCallback,userContext); },
SearchEntities:function(searchTerm,succeededCallback, failedCallback, userContext) {
return this._invoke(GoogleMap.get_path(), 'SearchEntities',false,{searchTerm:searchTerm},succeededCallback,failedCallback,userContext); }}
GoogleMap.registerClass('GoogleMap',Sys.Net.WebServiceProxy);
GoogleMap._staticInstance = new GoogleMap();
GoogleMap.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; GoogleMap._staticInstance._path = value; }
GoogleMap.get_path = function() { return GoogleMap._staticInstance._path; }
GoogleMap.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
GoogleMap._staticInstance._timeout = value; }
GoogleMap.get_timeout = function() { 
return GoogleMap._staticInstance._timeout; }
GoogleMap.set_defaultUserContext = function(value) { 
GoogleMap._staticInstance._userContext = value; }
GoogleMap.get_defaultUserContext = function() { 
return GoogleMap._staticInstance._userContext; }
GoogleMap.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; GoogleMap._staticInstance._succeeded = value; }
GoogleMap.get_defaultSucceededCallback = function() { 
return GoogleMap._staticInstance._succeeded; }
GoogleMap.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; GoogleMap._staticInstance._failed = value; }
GoogleMap.get_defaultFailedCallback = function() { 
return GoogleMap._staticInstance._failed; }
GoogleMap.set_path("/app_resources/GoogleMap.asmx");
GoogleMap.GetGoBananasMarkerGroups= function(left,right,bottom,top,onSuccess,onFailed,userContext) {GoogleMap._staticInstance.GetGoBananasMarkerGroups(left,right,bottom,top,onSuccess,onFailed,userContext); }
GoogleMap.GetGoBananasRandomMarker= function(onSuccess,onFailed,userContext) {GoogleMap._staticInstance.GetGoBananasRandomMarker(onSuccess,onFailed,userContext); }
GoogleMap.SearchGoBananas= function(searchTerm,left,right,bottom,top,onSuccess,onFailed,userContext) {GoogleMap._staticInstance.SearchGoBananas(searchTerm,left,right,bottom,top,onSuccess,onFailed,userContext); }
GoogleMap.GetMarkerGroups= function(left,right,bottom,top,onSuccess,onFailed,userContext) {GoogleMap._staticInstance.GetMarkerGroups(left,right,bottom,top,onSuccess,onFailed,userContext); }
GoogleMap.SearchEntities= function(searchTerm,onSuccess,onFailed,userContext) {GoogleMap._staticInstance.SearchEntities(searchTerm,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Ellipsis.Fairtrade.Mapping');
if (typeof(Ellipsis.Fairtrade.Mapping.MarkerGroup) === 'undefined') {
Ellipsis.Fairtrade.Mapping.MarkerGroup=gtc("Ellipsis.Fairtrade.Mapping.MarkerGroup");
Ellipsis.Fairtrade.Mapping.MarkerGroup.registerClass('Ellipsis.Fairtrade.Mapping.MarkerGroup');
}
if (typeof(Ellipsis.Fairtrade.Mapping.MapMarker) === 'undefined') {
Ellipsis.Fairtrade.Mapping.MapMarker=gtc("Ellipsis.Fairtrade.Mapping.MapMarker");
Ellipsis.Fairtrade.Mapping.MapMarker.registerClass('Ellipsis.Fairtrade.Mapping.MapMarker');
}
