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