Type.registerNamespace('Fonix.Engine.SiteServices');
Fonix.Engine.SiteServices.FXMapServices=function() {
Fonix.Engine.SiteServices.FXMapServices.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Fonix.Engine.SiteServices.FXMapServices.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Fonix.Engine.SiteServices.FXMapServices._staticInstance.get_path();},
GetMapDetails:function(mapCode,succeededCallback, failedCallback, userContext) {
/// <param name="mapCode" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetMapDetails',false,{mapCode:mapCode},succeededCallback,failedCallback,userContext); },
GetMapDetails2:function(mapCode,startPar,succeededCallback, failedCallback, userContext) {
/// <param name="mapCode" type="String">System.String</param>
/// <param name="startPar" type="Fonix.Data.MapObjects.JSONStartMapParameter">Fonix.Data.MapObjects.JSONStartMapParameter</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetMapDetails2',false,{mapCode:mapCode,startPar:startPar},succeededCallback,failedCallback,userContext); },
PickObject:function(mapCode,zLevel,lat,lon,divX,divY,visibleLayers,succeededCallback, failedCallback, userContext) {
/// <param name="mapCode" type="String">System.String</param>
/// <param name="zLevel" type="Number">System.Int32</param>
/// <param name="lat" type="Number">System.Double</param>
/// <param name="lon" type="Number">System.Double</param>
/// <param name="divX" type="Number">System.Int32</param>
/// <param name="divY" type="Number">System.Int32</param>
/// <param name="visibleLayers" type="Array">System.String[]</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'PickObject',false,{mapCode:mapCode,zLevel:zLevel,lat:lat,lon:lon,divX:divX,divY:divY,visibleLayers:visibleLayers},succeededCallback,failedCallback,userContext); },
SelectObjectByDataID:function(mapCode,zoomToLevel,dbContextID,dataID,succeededCallback, failedCallback, userContext) {
/// <param name="mapCode" type="String">System.String</param>
/// <param name="zoomToLevel" type="Number">System.Int32</param>
/// <param name="dbContextID" type="Number">System.Int32</param>
/// <param name="dataID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SelectObjectByDataID',false,{mapCode:mapCode,zoomToLevel:zoomToLevel,dbContextID:dbContextID,dataID:dataID},succeededCallback,failedCallback,userContext); },
SelectObjectByDbID:function(mapCode,zoomToLevel,dbID,succeededCallback, failedCallback, userContext) {
/// <param name="mapCode" type="String">System.String</param>
/// <param name="zoomToLevel" type="Number">System.Int32</param>
/// <param name="dbID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SelectObjectByDbID',false,{mapCode:mapCode,zoomToLevel:zoomToLevel,dbID:dbID},succeededCallback,failedCallback,userContext); }}
Fonix.Engine.SiteServices.FXMapServices.registerClass('Fonix.Engine.SiteServices.FXMapServices',Sys.Net.WebServiceProxy);
Fonix.Engine.SiteServices.FXMapServices._staticInstance = new Fonix.Engine.SiteServices.FXMapServices();
Fonix.Engine.SiteServices.FXMapServices.set_path = function(value) {
Fonix.Engine.SiteServices.FXMapServices._staticInstance.set_path(value); }
Fonix.Engine.SiteServices.FXMapServices.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Fonix.Engine.SiteServices.FXMapServices._staticInstance.get_path();}
Fonix.Engine.SiteServices.FXMapServices.set_timeout = function(value) {
Fonix.Engine.SiteServices.FXMapServices._staticInstance.set_timeout(value); }
Fonix.Engine.SiteServices.FXMapServices.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Fonix.Engine.SiteServices.FXMapServices._staticInstance.get_timeout(); }
Fonix.Engine.SiteServices.FXMapServices.set_defaultUserContext = function(value) { 
Fonix.Engine.SiteServices.FXMapServices._staticInstance.set_defaultUserContext(value); }
Fonix.Engine.SiteServices.FXMapServices.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Fonix.Engine.SiteServices.FXMapServices._staticInstance.get_defaultUserContext(); }
Fonix.Engine.SiteServices.FXMapServices.set_defaultSucceededCallback = function(value) { 
 Fonix.Engine.SiteServices.FXMapServices._staticInstance.set_defaultSucceededCallback(value); }
Fonix.Engine.SiteServices.FXMapServices.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Fonix.Engine.SiteServices.FXMapServices._staticInstance.get_defaultSucceededCallback(); }
Fonix.Engine.SiteServices.FXMapServices.set_defaultFailedCallback = function(value) { 
Fonix.Engine.SiteServices.FXMapServices._staticInstance.set_defaultFailedCallback(value); }
Fonix.Engine.SiteServices.FXMapServices.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Fonix.Engine.SiteServices.FXMapServices._staticInstance.get_defaultFailedCallback(); }
Fonix.Engine.SiteServices.FXMapServices.set_enableJsonp = function(value) { Fonix.Engine.SiteServices.FXMapServices._staticInstance.set_enableJsonp(value); }
Fonix.Engine.SiteServices.FXMapServices.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return Fonix.Engine.SiteServices.FXMapServices._staticInstance.get_enableJsonp(); }
Fonix.Engine.SiteServices.FXMapServices.set_jsonpCallbackParameter = function(value) { Fonix.Engine.SiteServices.FXMapServices._staticInstance.set_jsonpCallbackParameter(value); }
Fonix.Engine.SiteServices.FXMapServices.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return Fonix.Engine.SiteServices.FXMapServices._staticInstance.get_jsonpCallbackParameter(); }
Fonix.Engine.SiteServices.FXMapServices.set_path("/WebServices/FXMapServices.asmx");
Fonix.Engine.SiteServices.FXMapServices.GetMapDetails= function(mapCode,onSuccess,onFailed,userContext) {
/// <param name="mapCode" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Fonix.Engine.SiteServices.FXMapServices._staticInstance.GetMapDetails(mapCode,onSuccess,onFailed,userContext); }
Fonix.Engine.SiteServices.FXMapServices.GetMapDetails2= function(mapCode,startPar,onSuccess,onFailed,userContext) {
/// <param name="mapCode" type="String">System.String</param>
/// <param name="startPar" type="Fonix.Data.MapObjects.JSONStartMapParameter">Fonix.Data.MapObjects.JSONStartMapParameter</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Fonix.Engine.SiteServices.FXMapServices._staticInstance.GetMapDetails2(mapCode,startPar,onSuccess,onFailed,userContext); }
Fonix.Engine.SiteServices.FXMapServices.PickObject= function(mapCode,zLevel,lat,lon,divX,divY,visibleLayers,onSuccess,onFailed,userContext) {
/// <param name="mapCode" type="String">System.String</param>
/// <param name="zLevel" type="Number">System.Int32</param>
/// <param name="lat" type="Number">System.Double</param>
/// <param name="lon" type="Number">System.Double</param>
/// <param name="divX" type="Number">System.Int32</param>
/// <param name="divY" type="Number">System.Int32</param>
/// <param name="visibleLayers" type="Array">System.String[]</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Fonix.Engine.SiteServices.FXMapServices._staticInstance.PickObject(mapCode,zLevel,lat,lon,divX,divY,visibleLayers,onSuccess,onFailed,userContext); }
Fonix.Engine.SiteServices.FXMapServices.SelectObjectByDataID= function(mapCode,zoomToLevel,dbContextID,dataID,onSuccess,onFailed,userContext) {
/// <param name="mapCode" type="String">System.String</param>
/// <param name="zoomToLevel" type="Number">System.Int32</param>
/// <param name="dbContextID" type="Number">System.Int32</param>
/// <param name="dataID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Fonix.Engine.SiteServices.FXMapServices._staticInstance.SelectObjectByDataID(mapCode,zoomToLevel,dbContextID,dataID,onSuccess,onFailed,userContext); }
Fonix.Engine.SiteServices.FXMapServices.SelectObjectByDbID= function(mapCode,zoomToLevel,dbID,onSuccess,onFailed,userContext) {
/// <param name="mapCode" type="String">System.String</param>
/// <param name="zoomToLevel" type="Number">System.Int32</param>
/// <param name="dbID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Fonix.Engine.SiteServices.FXMapServices._staticInstance.SelectObjectByDbID(mapCode,zoomToLevel,dbID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Fonix.Data.MapObjects');
if (typeof(Fonix.Data.MapObjects.JSONMap) === 'undefined') {
Fonix.Data.MapObjects.JSONMap=gtc("Fonix.Data.MapObjects.JSONMap");
Fonix.Data.MapObjects.JSONMap.registerClass('Fonix.Data.MapObjects.JSONMap');
}
if (typeof(Fonix.Data.MapObjects.JSONStartMapParameter) === 'undefined') {
Fonix.Data.MapObjects.JSONStartMapParameter=gtc("Fonix.Data.MapObjects.JSONStartMapParameter");
Fonix.Data.MapObjects.JSONStartMapParameter.registerClass('Fonix.Data.MapObjects.JSONStartMapParameter');
}
if (typeof(Fonix.Data.MapObjects.JSONGpPrimitive) === 'undefined') {
Fonix.Data.MapObjects.JSONGpPrimitive=gtc("Fonix.Data.MapObjects.JSONGpPrimitive");
Fonix.Data.MapObjects.JSONGpPrimitive.registerClass('Fonix.Data.MapObjects.JSONGpPrimitive');
}

