Constructor
new Context()
Parameters:
| Name | Type | Description |
|---|---|---|
options. |
object |
Members
(protected) host :string
Define the host name of BeMap server. By default "bemap-beta.benomad.com".
Type:
- string
(protected) login :string
Define the login.
Type:
- string
(protected) password :string
Define the Password.
Type:
- string
(protected) path :string
Define the path of bgis context. The string must be start with / character. By default "/bgis/".
Type:
- string
(protected) protocol :string
Define the protocol used. The HTTP or HTTPS, by default the HTTP.
Type:
- string
Methods
getAuthUrlParams() → {String}
Return the BaMap Authentication.
Returns:
BeMap URL
- Type
- String
getBaseUrl() → {String}
Return the BaMap URL.
Returns:
BeMap URL
- Type
- String
getGeoserver() → {String}
Return the default BaMap Geoserver of context.
Returns:
BeMap Geoserver
- Type
- String
isAuthInPost() → {boolean}
Return true if the authentication parameters will be write in the POST data of request.
Returns:
true if the authentication parameters will be write in the POST data of request..
- Type
- boolean
post(options)
Perform a HTTP Post request.
Parameters:
| Name | Type | Description |
|---|---|---|
options |
Object |
setAuthInPost()
Set to true if the authentication parameters will be write in the POST data of request.