<< Click to Display Table of Contents >>
EarthApp.js
Class |
EarthOptions() |
The options of the web application. |
|
Method |
Options |
getOptions() |
return the settings of the web application |
Method |
Toolbar |
getToolbar() |
return the whether to use toolbar or not |
Method |
NavCtrl |
getNavigationControl() |
return the whether to use NavigationControl or not |
Method |
TableOfContents |
getTableOfContents() |
return the whether to show Table of Content or not |
Method |
Indexview |
getIndexview() |
return the whether to use index view or not |
Method |
LengthFormat |
getLengthFormat() |
return the format of the length |
Method |
AreaFormat |
getAreaFormat() |
return the format of the area |
Method |
void |
AddModel(object Mdl) |
add models |
Enum |
UnitSystem |
||
(Metric, |
set the unit to be metric |
||
Inperial) |
set the unit to be inperial |
||
Enum |
VisibleMode |
||
(Hidden, |
set the visible mode of the Table of Content to be hidden |
||
show, |
set the visible mode of the Table of Content to be show (opened) |
||
ShowMinimum) |
set the visible mode of the Table of Content to be showMinimum (closed) |
||
Enum |
Placement |
||
(Left, |
set the placement to be left |
||
Middle, |
set the placement to be middle |
||
Right) |
set the placement to be right |
||
Enum |
Origin |
||
(UpperLeft, |
set the origin to be upper left |
||
UpperRight, |
set the origin to be upper right |
||
LowerLeft, |
set the origin to be lower left |
||
LowerRight) |
set the origin to be lower right |
||
Class |
EarthHTMLContainer(object Node) |
Control the HTML container of the web application |
|
Method |
void |
appendObject(object Type, opts styles) |
append an object |
Method |
void |
appendElement(elemType, opts, styles) |
append an element |
Method |
Ipt.Input |
appendInputText(string Value, string Tips) |
append an input text box |
Method |
Ipt |
appendTextArea(sting Value, string Tips) |
append a text area |
Method |
Btn.getNode() |
appendFrameButton(imgNormal, ingActive, funcClick) |
append a frame button |
Class |
EarthDialog(object Parent) |
Control the dialog of the web application |
|
Method |
Boolean |
getVisible() |
return if the EarthDialog is visible |
Method |
void |
setVisible(Boolean v) |
set if the EarthDialog is visible |
Method |
void |
Destroy() |
close the EarthDialog |
Class |
Indexview(object Parent, object SGEarth) |
control the index map tool |
|
Method |
void |
Update() |
redraw the index view |
Class |
EyeTool(object Scene, cam, object Node, ctrlWidth, ctrl Height, effWidth, effHeight, object N) |
control the eye tool |
|
Method |
void |
setVisibility(newVisibility) |
set if the EyeTool is visble |
Class |
ScaleTool(object Scene, cam, object Node) |
control the scale tool |
|
Method |
void |
setVisibility(newVisibility) |
set if the ScaleTool is visble |
Class |
NavigationControl(object Parent, object Scene, object Camera) |
control the navigation tool |
|
Method |
Boolean |
getVisible() |
return if the NavigationTool is visble |
Method |
void |
setVIsible(Boolean v) |
set if the NavigationTool is visble |
Method |
void |
setPosition(x, y, origin) |
set the position of the naviation tool |
Class |
ContentControl(object ParentElem, object MapBase) |
control the table of content |
|
Method |
void |
RebulildElement() |
refresh the Table of Content |
Method |
void |
Changed() |
return if the Table of Content is changed |
Class |
ToolbarControl(object Parent, object MapBase, ingHead, imgEnd) |
control the toolbar |
|
Method |
Boolean |
getVisible() |
return if the toolbar is visible |
Method |
void |
setVIsible(Boolean v) |
set if the toolbar is visible |
Method |
void |
setPosition(x, y, origin) |
set the position of the toolbar |
Method |
void |
Click(object Item) |
return if the toolbar is clicked |
Method |
void |
AddTool(object Tool, imgPath, imgActPath, altString) |
add new tools to the toolbar |
Method |
void |
selectTool(Index) |
select the tool |
© 2017 Supergeo Technologies Inc.