Constructor
new v1()
Example
(code)
     //根据范围和地址进行查询:
		var coding = new GeoGlobe.Query.GeoCodingQuery("http://192.168.42.76:7021/GeoCoding/geocoding");
		coding.getCategoryByCode(1012001008000000,
		function(GeoCoding){},function(){});
(end)
        
        Members
url :String
    服务地址。
    Type:
- String
 
version
    服务版本,默认值是"1.0.0"。
        
    
    
        Methods
failFn()
    请求失败的回调函数,可以用自定义函数覆盖。
        
            
    
    getAllCategory(successFn, failFn)
    查询所有类别信息。
    Parameters:
| Name | Type | Description | 
|---|---|---|
successFn | 
            
            function | 请求成功的回调函数。关于成功回调返回内容的结构,请参考:GetCategory.xsd。 | 
failFn | 
            
            function | 请求失败的回调函数。 | 
getCategoryByCode(code, successFn, failFn)
    根据类别编码查询类别及子类别。
    Parameters:
| Name | Type | Description | 
|---|---|---|
code | 
            
            Number | 类别编码。 | 
successFn | 
            
            function | 请求成功的回调函数。关于成功回调返回内容的结构,请参考:GetCategory.xsd。 | 
failFn | 
            
            function | 请求失败的回调函数。 | 
getCategoryByName(name, successFn, failFn)
    根据类别名称查询类别及子类别。
    Parameters:
| Name | Type | Description | 
|---|---|---|
name | 
            
            String | 类别名称。 | 
successFn | 
            
            function | 请求成功的回调函数。关于成功回调返回内容的结构,请参考:GetCategory.xsd。 | 
failFn | 
            
            function | 请求失败的回调函数。 | 
initialize(url, options)
    GeoGlobe.Query.GeoCodingQuery.v1类的构造函数。
    Parameters:
| Name | Type | Description | 
|---|---|---|
url | 
            
            String | 服务地址。 | 
options | 
            
            Object | 相关属性的设置项,可选。 服务版本。 |