Class: Context

bemap.Context()

Base class for Context.

Constructor

new Context()

Parameters:
Name Type Description
options. object
Source:

Members

(protected) host :string

Define the host name of BeMap server. By default "bemap-beta.benomad.com".
Type:
  • string
Source:

(protected) login :string

Define the login.
Type:
  • string
Source:

(protected) password :string

Define the Password.
Type:
  • string
Source:

(protected) path :string

Define the path of bgis context. The string must be start with / character. By default "/bgis/".
Type:
  • string
Source:

(protected) protocol :string

Define the protocol used. The HTTP or HTTPS, by default the HTTP.
Type:
  • string
Source:

Methods

getAuthUrlParams() → {String}

Return the BaMap Authentication.
Source:
Returns:
BeMap URL
Type
String

getBaseUrl() → {String}

Return the BaMap URL.
Source:
Returns:
BeMap URL
Type
String

getGeoserver() → {String}

Return the default BaMap Geoserver of context.
Source:
Returns:
BeMap Geoserver
Type
String

isAuthInPost() → {boolean}

Return true if the authentication parameters will be write in the POST data of request.
Source:
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
Source:

setAuthInPost()

Set to true if the authentication parameters will be write in the POST data of request.
Source: