new GuichetAPI()
Constructor
- Source:
- guichet/api.js
Methods
-
getCommunity(comId, callback)
-
Get user comuunity info
Parameters:
Name Type Description comId
string community ID
callback
function - Source:
- guichet/api.js
-
getFullLayers(comId, callback)
-
Get comuunity layers (full info)
Parameters:
Name Type Description comId
string community ID
callback
function - Source:
- guichet/api.js
-
getGeoservice(id, callback)
-
Get geoservice info
Parameters:
Name Type Description id
string geoservice ID
callback
function - Source:
- guichet/api.js
-
getLayer(comId, layerId, callback)
-
Get comuunity layer info
Parameters:
Name Type Description comId
string community ID
layerId
string layer ID
callback
function - Source:
- guichet/api.js
-
getLayers(comId, callback)
-
Get comuunity layers list
Parameters:
Name Type Description comId
string community ID
callback
function - Source:
- guichet/api.js
-
getMe(callback)
-
Get user informations
Parameters:
Name Type Description callback
function - Source:
- guichet/api.js
-
getTable(base, table, callback)
-
Get table info
Parameters:
Name Type Description base
string table
string callback
function - Source:
- guichet/api.js
-
isConnected()
-
Has credentials
- Source:
- guichet/api.js
-
login(login, pwd, callback)
-
Login
Parameters:
Name Type Description login
string pwd
string callback
function - Source:
- guichet/api.js
-
logout()
-
Remove credentials
- Source:
- guichet/api.js