Device Type | Browser compatibility | |||||||
---|---|---|---|---|---|---|---|---|
IE | Chrome | Firefox | Opera | Safari | ||||
PC terminal |
10.0 And above series (Recommended 11.0 and above) |
41.0 and above series (Recommended version 45.0 and above) |
2.0 and above series (Recommended version 5.0 and above) |
9.5 And above series (Recommended 10.0 and above) |
3.0 And above series Recommended 4.0 and above |
Note: At present, mobile devices have different support for WebGL. Using WeChat built-in browser may affect stability. It is recommended to use Chrome browser to get the best browsing effect.
Class name |
New interface |
Interface Description |
Scene |
hdrEnabled |
Whether the current scene is open hdr. |
toneMappingEnabled |
Whether the current scene is turned on to toneMapping. |
|
lightSource |
Get the light source in the current scene. |
|
globeSplitPosition |
Set or get the rollover position of the current scene. The valid value is 0.0~1.0.. |
|
addS3MGroupLayer |
Add an S3M grouping layer. |
|
addLightSource |
Add light source. |
|
removeLightSource |
Delete light source. |
|
S3MTilesLayer |
SelectColorType |
Get the display style of the selected object. |
clipPlaneColor |
Get or set the color of the cropped section. |
|
mixColorType |
Set texture display mode (mix, replace). |
|
silhouetteSize |
Set or get the edge outline size, default 2, unit pixels. |
|
silhouetteColor |
Set or get the edge outline color, default blue. |
|
textureUVSpeed |
Get or set the motion speed of the model texture on the UV coordinates. |
|
indexedDBSetting |
Get or set the indexedDB attribute information (IE browser does not support). |
|
themeStyle |
Get or set the thematic map style, currently supports the overlay of the ground vector cache in the front end according to the ID set to fill the color and texture of the thematic map. |
|
LoadingPriority |
Get or set the loading mode. |
|
pointCloudShading |
Get the encapsulation point cloud rendering parameter object pointCloudShading. |
|
setCategoriesVisible |
Hide display objects based on W-bit eigenvalues. |
|
updateAllObjsVisible |
Update all object visibility. |
|
setClipSection |
Set the clipping plane. |
|
fillStyleChange |
Border line does not disappear after setting fill mode. |
|
getAttributesById |
Get local object attribute information (scvd in indexedDB, IE browser does not support). |
|
getPointCloudClassificationInfos |
Get an array of point cloud classification information. |
|
ImageryLayer |
indexedDBSetting |
Get or set the indexedDB attribute information (IE browser does not support). |
DynamicLayer3D |
setCullEnabled |
Set whether to enable single-sided rendering. |
getCullEnabled |
Get whether to enable single-sided rendering. |
|
S3MInstance |
visible |
Get or set whether the instance is displayed. |
updateModelMatrix |
Update instance pan, rotate, zoom parameters. |
|
S3MInstanceCollection |
maxVisibleAltitude |
Gets or sets the maximum visible height of the layer. |
maxVisibleDistance |
Get or set the maximum visible distance of the layer. |
|
filterMode |
Get or set the distance filter sub-object. |
|
filterPixel |
Get or set the filter pixel size, the pixel size filter threshold of the sub-object projection screen. |
|
setVisibleInViewport(index, visible) |
Set which split screen window the object is displayed in. |
|
getVisibleInViewport(index) |
Get the object where the specified split screen window is located. |
|
getInstance |
Get the instance object S3MInstance by ID. |
|
setCullEnabled |
Set up single-sided rendering. |
|
CesiumTerrainProvider |
indexedDBSetting |
Get or set the indexedDB attribute information (IE browser does not support). |
HypsometricSetting |
emissionTextureUrl |
Set or get a self-illuminating texture. |
emissionTexCoordUSpeed |
Set or get the speed of the self-illuminating texture in the U direction. |
|
noValueColor |
Set or get invalid color values, default white. |
|
DrawHandler |
enableDepthTest |
Set whether the drawn primitives enable depth detection, which is enabled by default.. |
MeasureHandler |
enableDepthTest |
Set whether the drawn primitives enable depth detection, which is enabled by default.. |
Style3D |
emissionColor |
Get or set the color of the self-illuminator. |
ScanEffect |
textureUrl |
Set to get or set the texture superimposed on the scan line. |
BloomEffect |
show |
Get or set whether to enable the floodlight effect. |
bloomIntensity |
Get or set the flood intensity value. |
|
threshold |
Get or set the flood brightness threshold. |
|
HypsometricSettingEnum enumeration |
FilterMode |
Sampling mode. |
LINEAR |
Linear. |
|
NEAREST |
Near. |
|
WireFrameType enumeration |
EffectOutline |
Special effect line. |
MultiViewportMode enumeration |
VerticalTrisection |
Three-screen viewport, three viewports in the same vertical direction. |
SuperMapImageryProvider |
tileDiscardPolicy |
Get the discard image slice color ratio. |
ProjectionImage |
pixelToWorldCoordinates |
Image pixel coordinates to world coordinates. |
New class interface description:
Class name |
Class Chinese description |
Interface name |
Interface Chinese description |
PointLight |
Point source |
id |
Get point source id |
position |
Get or set the position of the point source, using the world coordinate system |
||
color |
Get or set the point source color, default white |
||
intensity |
Get or set the intensity of the point source |
||
cutoffDistance |
Get or set the diffusion distance of the point source, the default is 10 meters |
||
decay |
Get or set the point source attenuation factor. The smaller the distance, the smaller the attenuation and the brighter the distance. |
||
lightColor |
Get the point source color |
||
DirectionalLight |
Parallel light source |
id |
Get parallel source id |
position |
Get or set the position of the parallel light source, using the world coordinate system |
||
targetPosition |
Get or set the target position of the parallel light source to determine the direction of the parallel light |
||
color |
Get or set the color of the light |
||
intensity |
Get or set the light intensity of a parallel source |
||
direction |
Get the direction of the parallel light source |
||
lightColor |
Get the color of the parallel light source |
||
SpotLight |
Spotlight |
id |
Get spotlight id |
position |
Get or set the position of the light source, using the world coordinate system |
||
targetPosition |
Get or set the spotlight target position to determine the direction of the spotlight |
||
color |
Get or set the color of the light, default white |
||
intensity |
Get or set the light intensity of the spotlight |
||
distance |
Get or set the distance that the spotlight can reach, the default is 100 meters. |
||
angle |
Get or set the spotlight range, default Math.PI / 6, unit radians |
||
decay |
Get or set the spotlight source attenuation factor. The smaller the distance, the smaller the distance attenuation, the brighter it is. |
||
direction |
Get the direction of the spotlight |
||
lightColor |
Get the color of the spotlight |
||
LightSource |
Light source |
pointLight |
Get point light source |
spotLight |
Get spotlights |
||
directionalLight |
Get parallel light source |
||
ambientLightColor |
Get or set the ambient light color |
||
sunLightON |
Get or set lighting |
||
PointCloudClassificationInfo |
Point cloud classification information class |
id |
Get or set the point cloud id |
type |
Get or set the point cloud type |
||
pointCounts |
Get or set the point cloud point |
||
CredentialType |
Key type enumeration |
ISERVER_TOKEN |
Iserver key type |
IPORTAL_KEY |
Iportal key type |
||
MixColorType |
Layer color blend mode enumeration |
MIX |
Color blending mode |
REPLACE |
Color replacement mode |
||
LightSourceType |
Light source type enumeration |
DIRECTIONAL |
Parallel light |
POINT |
Point light source |
||
SPOT |
spotlight |
||
CategoryVisibleMode |
Show hidden mode enumeration by feature value |
Hide |
hide |
Visible |
display |
||
ResetAll |
Reset, all display |
||
ClipSectionMode |
Crop face section mode enumeration |
NONE |
No section |
COLOR |
Section with the specified color |
||
MODEL_COLOR |
Cross section with the color of the model |
||
LoadingPriorityMode |
Load priority enumeration |
Root_Priority |
Layer first load mode |
Child_Priority |
Layer first load mode |
||
RANGEMODE |
Sub-object filter mode enumeration |
DISTANCE_FROM_EYE_POINT |
Distance filter sub-object mode |
PIXEL_SIZE_ON_SCREEN |
Pixel filter sub-object mode |
Added 3D plot interface description:
Class name |
Class Chinese description |
Interface name |
Interface Chinese description |
GeoGraphicObject |
Plotting symbol class |
setAnnotationArray |
Modify multiple annotation properties |
clearAllAnnotationArray |
Clear all multiple notes |
||
symbolSize |
Point label size |
||
extendProperty |
Custom attribute list |
||
annotationArray |
Multiple notes |
||
display |
Object visibility |
||
Plotting |
Dynamic plotting master class |
destroy |
Release resource destroy layer |
getDefaultStyle |
Get the default attribute management interface |
||
PlottingLayer |
Plot layer class |
createGroupObject |
Create a composite object |
unGroupObject |
Split combination object |
||
geoJsonToGeoGraphicObject |
Convert geoJson to a plot object and add it to the current plot layer |
||
createGroupObjectByGeoJson |
Create a composite object based on GeoJson |
The completion date of this document is August 5, 2019. If any of the previous documents (including electronic documents and printed documents) do not conform to this document, please refer to this document. If this document is updated, the updated documentation will prevail.