new Login( [options])
Parameters:
| Name | Type | Argument | Description |
|---|---|---|---|
options |
Mapspace.action.LoginOptions |
<optional> |
Options. |
- Source:
- mapspace/actions/login.js
Extends
Members
-
<nullable> control :Mapspace.control.Control
-
The control this action is attached to.
- Inherited From:
- Source:
- mapspace/actions/action.js
-
<nullable> viewer :Mapspace.Viewer
-
This is the viewer this action will be tied to.
- Inherited From:
- Source:
- mapspace/actions/action.js
Methods
-
doLogin(user, pwd, rem, usertoken)
-
Requests a login session to the server.
Parameters:
Name Type Description userstring User name.
pwdstring Password.
remboolean If remember is checked or not.
usertokenstring Usertoken. If present then user and pwd are ignored and the usertoken is used instead as the only param to login.
- Source:
- mapspace/actions/login.js
-
doResetPassword(user, pwd, newpwd, usertoken)
-
Request a reset user password session to the server.
Parameters:
Name Type Description userstring User name.
pwdstring Current password.
newpwdstring New password.
usertokenstring Usertoken.
- Source:
- mapspace/actions/login.js
-
is2DViewer()
-
Return true if current viewer of the action is a 2D viewer.
- Inherited From:
- Source:
- mapspace/actions/action.js
Returns:
- Type
- boolean
-
is3DViewer()
-
Return true if current viewer of the action is a 3D viewer.
- Inherited From:
- Source:
- mapspace/actions/action.js
Returns:
- Type
- boolean
-
isGlobalViewer()
-
Return true if current viewer of the action is a
Mapspace.global.Viewer.- Inherited From:
- Source:
- mapspace/actions/action.js
Returns:
- Type
- boolean
-
isObliqueViewer()
-
Return true if current viewer of the action is a
Mapspace.oblique.Viewer.- Inherited From:
- Source:
- mapspace/actions/action.js
Returns:
- Type
- boolean
-
isObliqueViewerVisible()
-
Return true if current viewer of the action is a
Mapspace.oblique.Vieweror aMapspace.global.Viewerin Oblique mode.- Inherited From:
- Source:
- mapspace/actions/action.js
Returns:
- Type
- boolean
-
isOrthoViewer()
-
Return true if current viewer of the action is a
Mapspace.ortho.Viewer.- Inherited From:
- Source:
- mapspace/actions/action.js
Returns:
- Type
- boolean
-
isOrthoViewerVisible()
-
Return true if current viewer of the action is a
Mapspace.ortho.Vieweror aMapspace.global.Viewerin Ortho mode.- Inherited From:
- Source:
- mapspace/actions/action.js
Returns:
- Type
- boolean
-
isProfile3dViewer()
-
Return true if current viewer of the action is a
Mapspace.profile3d.Viewer.- Inherited From:
- Source:
- mapspace/actions/action.js
Returns:
- Type
- boolean
-
isStreetViewer()
-
Return true if current viewer of the action is a
Mapspace.street.Viewer.- Inherited From:
- Source:
- mapspace/actions/action.js
Returns:
- Type
- boolean
-
isTableViewer()
-
Return true if current viewer of the action is a
Mapspace.table.Viewer.- Inherited From:
- Source:
- mapspace/actions/action.js
Returns:
- Type
- boolean
-
isThreedViewer()
-
Return true if current viewer of the action is a
Mapspace.threed.Viewer.- Inherited From:
- Source:
- mapspace/actions/action.js
Returns:
- Type
- boolean