Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
方 梦梦
world51tocmap
Commits
f34e539c
Commit
f34e539c
authored
Mar 13, 2025
by
heng.zhang3@inzymeits.com
Browse files
51world示例集合
parent
d4557fba
Changes
226
Hide whitespace changes
Inline
Side-by-side
gis_sdk/world51/51timapi/Plugins/tim/modules/common/err-controller.d.ts
0 → 100644
View file @
f34e539c
export
declare
class
ErrController
{
Log
(...
mess
:
any
[]):
void
;
}
gis_sdk/world51/51timapi/Plugins/tim/modules/common/event-list.d.ts
0 → 100644
View file @
f34e539c
export
declare
class
EventListObj
{
private
list
;
private
dbList
;
private
enterList
;
private
outList
;
private
listType
;
private
dbListType
;
private
enterListType
;
private
outListType
;
Get
(
eid
?:
string
):
any
;
Set
(
obj
:
any
,
func
:
any
):
void
;
Remove
(
eid
?:
string
):
void
;
GetDb
(
eid
?:
string
):
any
;
SetDb
(
obj
:
any
,
func
:
any
):
void
;
RemoveDb
(
eid
?:
string
):
void
;
GetEnter
(
eid
?:
string
):
any
;
SetEnter
(
obj
:
any
,
func
:
any
):
void
;
RemoveEnter
(
eid
?:
string
):
void
;
GetOut
(
eid
?:
string
):
any
;
SetOut
(
obj
:
any
,
func
:
any
):
void
;
RemoveOut
(
eid
?:
string
):
void
;
GetType
(
type
?:
string
):
any
;
SetType
(
type
:
string
,
func
:
any
):
void
;
RemoveType
(
type
?:
string
):
void
;
GetDbType
(
type
?:
string
):
any
;
SetDbType
(
type
:
string
,
func
:
any
):
void
;
RemoveDbType
(
type
?:
string
):
void
;
GetEnterType
(
type
?:
string
):
any
;
SetEnterType
(
type
:
string
,
func
:
any
):
void
;
RemoveEnterType
(
type
?:
string
):
void
;
GetOutType
(
type
?:
string
):
any
;
SetOutType
(
type
:
string
,
func
:
any
):
void
;
RemoveOutType
(
type
?:
string
):
void
;
}
gis_sdk/world51/51timapi/Plugins/tim/modules/common/interface/bound.d.ts
0 → 100644
View file @
f34e539c
import
{
EntityEidType
,
BasicInfoAtomType
}
from
'
../data-type
'
;
export
interface
BoundType
extends
EntityEidType
,
Partial
<
BasicInfoAtomType
>
{
moving
?:
any
;
path
?:
any
;
boundStyle
?:
Partial
<
MoveAlongPathEntityAtomType
>
;
}
export
interface
MoveAlongPathEntityAtomType
{
movingEid
:
string
|
null
;
pathEid
:
string
|
null
;
time
:
number
;
bLoop
:
boolean
;
bReverse
:
boolean
;
}
gis_sdk/world51/51timapi/Plugins/tim/modules/common/interface/camera.d.ts
0 → 100644
View file @
f34e539c
import
{
EntityEidType
,
CoordType
,
BasicInfoAtomType
,
MinMaxType
,
Rotator2DType
}
from
'
../data-type
'
;
export
interface
CameraPresetType
extends
EntityEidType
,
Partial
<
BasicInfoAtomType
>
,
Partial
<
CameraPresetEntityAtomType
>
{
}
export
interface
CameraPresetEntityAtomType
{
bDefaultCamera
:
boolean
;
location
:
CoordType
;
rotation
:
Rotator2DType
;
pitchLimit
:
MinMaxType
;
yawLimit
:
MinMaxType
;
viewDistanceLimit
:
MinMaxType
;
fieldOfView
:
number
;
controlMode
:
string
;
}
export
interface
CameraControlType
{
targetPosition
?:
CoordType
;
rotation
?:
Rotator2DType
;
distance
?:
number
;
flyTime
?:
number
;
}
export
interface
CameraFocusType
{
rotation
?:
Rotator2DType
;
distanceFactor
?:
number
;
flyTime
?:
number
;
entity
?:
Array
<
any
>
;
eids
?:
Array
<
string
>
;
}
export
interface
CameraFollowType
extends
EntityEidType
{
entity
?:
any
;
followRotation
?:
Rotator2DType
;
useRelativeRotation
?:
boolean
;
distance
?:
number
;
}
export
interface
CameraRotateType
{
direction
?:
string
;
velocity
?:
number
;
}
export
interface
CameraRoamAtomType
{
frames
:
Array
<
any
>
;
}
export
interface
CameraRoamType
extends
EntityEidType
,
Partial
<
BasicInfoAtomType
>
,
Partial
<
CameraRoamAtomType
>
{
}
gis_sdk/world51/51timapi/Plugins/tim/modules/common/interface/columnarheatmap.d.ts
0 → 100644
View file @
f34e539c
import
{
EntityEidType
,
BasicInfoAtomType
,
IPointValueAtom
}
from
'
../data-type
'
;
export
interface
ColumnarHeatMapEntityAtomType
{
type
:
string
;
brushDiameter
:
number
;
mappingValueRange
:
Array
<
number
>
;
columnarWidth
:
number
;
mappingHeightRange
:
Array
<
number
>
;
enableGap
:
boolean
;
gradientSetting
:
Array
<
string
>
;
}
export
interface
ColumnarHeatMapType
extends
EntityEidType
,
Partial
<
BasicInfoAtomType
>
{
columnarHeatMapStyle
?:
Partial
<
ColumnarHeatMapEntityAtomType
>
;
points
?:
IPointValueAtom
;
}
gis_sdk/world51/51timapi/Plugins/tim/modules/common/interface/effect.d.ts
0 → 100644
View file @
f34e539c
import
{
EntityEidType
,
EntityGeometryType
,
BasicInfoAtomType
,
TransformAtomType
}
from
'
../data-type
'
;
export
interface
EffectType
extends
EntityEidType
,
EntityGeometryType
,
Partial
<
BasicInfoAtomType
>
,
Partial
<
TransformAtomType
>
,
Partial
<
EffectsAtomType
>
{
}
export
interface
EffectsAtomType
{
bActive
:
boolean
;
speed
:
number
;
colorParameters
:
{
paramName
:
{
r
:
number
;
g
:
number
;
b
:
number
;
a
:
number
;
};
};
vectorParameters
:
{
paramName
:
Array
<
number
>
;
};
intParameters
:
{
paramName
:
number
;
};
floatParameters
:
{
paramName
:
number
;
};
boolParameters
:
{
paramName
:
boolean
;
};
}
gis_sdk/world51/51timapi/Plugins/tim/modules/common/interface/environment.d.ts
0 → 100644
View file @
f34e539c
export
interface
WdpEnvironmentAtomType
{
skylightTime
:
string
;
bSkylightRealtime
:
boolean
;
sceneWeather
:
string
;
bSceneWeatherRealtime
:
boolean
;
}
gis_sdk/world51/51timapi/Plugins/tim/modules/common/interface/group.d.ts
0 → 100644
View file @
f34e539c
import
{
EntityEidType
,
VisibleAtomType
,
BasicInfoAtomType
,
TransformAtomType
,
CoordType
,
RotatorType
,
ScaleType
}
from
'
../data-type
'
;
export
interface
GroupType
extends
EntityEidType
,
Partial
<
BasicInfoAtomType
>
,
Partial
<
TransformAtomType
>
,
Partial
<
VisibleAtomType
>
{
children
?:
Array
<
any
>
;
}
export
interface
EntityChildrenAtomType
{
childrenEids
:
Array
<
string
>
;
}
export
interface
WdpGroupTransformAtomType
{
location
:
CoordType
;
rotator
:
RotatorType
;
scale3d
:
ScaleType
;
}
gis_sdk/world51/51timapi/Plugins/tim/modules/common/interface/heatmap.d.ts
0 → 100644
View file @
f34e539c
import
{
EntityEidType
,
BasicInfoAtomType
,
IPointValueAtom
}
from
'
../data-type
'
;
export
interface
HeatMapEntityAtomType
{
type
:
string
;
brushDiameter
:
number
;
mappingValueRange
:
Array
<
number
>
;
gradientSetting
:
Array
<
string
>
;
}
export
interface
HeatMapType
extends
EntityEidType
,
Partial
<
BasicInfoAtomType
>
{
heatMapStyle
?:
Partial
<
HeatMapEntityAtomType
>
;
points
?:
IPointValueAtom
;
}
gis_sdk/world51/51timapi/Plugins/tim/modules/common/interface/hierarchy.d.ts
0 → 100644
View file @
f34e539c
import
{
EntityEidType
,
BasicInfoAtomType
,
TransformAtomType
,
AssetAtomType
}
from
'
../data-type
'
;
import
{
MaterialAtomType
}
from
'
./material
'
;
export
interface
HierarchyType
extends
EntityEidType
,
Partial
<
BasicInfoAtomType
>
,
Partial
<
TransformAtomType
>
,
Partial
<
MaterialAtomType
>
,
Partial
<
AssetAtomType
>
{
}
gis_sdk/world51/51timapi/Plugins/tim/modules/common/interface/highlightarea.d.ts
0 → 100644
View file @
f34e539c
import
{
EntityEidType
,
BasicInfoAtomType
,
IPolygon2DAtom
}
from
'
../data-type
'
;
export
interface
HighlightAreaEntityAtomType
{
interiorColor
:
string
;
exteriorColor
:
string
;
exteriorOutlineColor
:
string
;
exteriorSaturation
:
number
;
exteriorBrightness
:
number
;
exteriorContrast
:
number
;
}
export
interface
HighlightAreaType
extends
EntityEidType
,
Partial
<
BasicInfoAtomType
>
{
highlightAreaStyle
?:
Partial
<
HighlightAreaEntityAtomType
>
;
polygon2D
?:
Partial
<
IPolygon2DAtom
>
;
}
gis_sdk/world51/51timapi/Plugins/tim/modules/common/interface/material.d.ts
0 → 100644
View file @
f34e539c
export
interface
IMaterial
{
componentId
?:
string
|
null
;
materialIndex
?:
number
;
materialName
?:
string
;
}
export
interface
MaterialAtomType
{
changedMaterialInfo
:
Array
<
IMaterial
>
;
}
gis_sdk/world51/51timapi/Plugins/tim/modules/common/interface/minimap.d.ts
0 → 100644
View file @
f34e539c
import
{
Coord2DType
}
from
'
../data-type
'
;
export
interface
IMiniMap
{
eid
?:
string
|
null
;
type
?:
string
;
source
?:
{
bg
?:
string
;
needle
?:
string
;
mask
?:
string
;
frame
?:
string
;
};
mappingAnchors
?:
Array
<
Array
<
number
>>
;
display
?:
{
position
?:
Coord2DType
;
size
?:
number
;
};
}
gis_sdk/world51/51timapi/Plugins/tim/modules/common/interface/outliner.d.ts
0 → 100644
View file @
f34e539c
import
{
EntityEidType
,
BasicInfoAtomType
}
from
'
../data-type
'
;
export
interface
WdpSceneOutlinerAtomType
{
eids
:
{
[
key
:
string
]:
{
eids
:
Array
<
string
>
;
};
};
}
export
interface
SceneOutlinerType
extends
EntityEidType
,
Partial
<
BasicInfoAtomType
>
{
entities
?:
{
[
key
:
string
]:
Array
<
Record
<
string
,
any
>>
;
};
}
gis_sdk/world51/51timapi/Plugins/tim/modules/common/interface/parabola.d.ts
0 → 100644
View file @
f34e539c
import
{
EntityEidType
,
BasicInfoAtomType
,
IPolylineATom
}
from
'
../data-type
'
;
export
interface
ParabolaEntityAtomType
{
type
:
string
;
topHeight
:
number
;
topScale
:
number
;
width
:
number
;
color
:
string
;
gather
:
boolean
;
}
export
interface
ParabolaType
extends
EntityEidType
,
Partial
<
BasicInfoAtomType
>
{
parabolaStyle
?:
Partial
<
ParabolaEntityAtomType
>
;
polyline
?:
IPolylineATom
;
}
gis_sdk/world51/51timapi/Plugins/tim/modules/common/interface/particle.d.ts
0 → 100644
View file @
f34e539c
import
{
EntityEidType
,
BasicInfoAtomType
,
TransformAtomType
}
from
'
../data-type
'
;
export
interface
ParticleType
extends
EntityEidType
,
Partial
<
BasicInfoAtomType
>
,
Partial
<
TransformAtomType
>
,
Partial
<
ParticleEntityAtomType
>
{
}
export
interface
ParticleEntityAtomType
{
particleType
:
string
;
}
gis_sdk/world51/51timapi/Plugins/tim/modules/common/interface/path.d.ts
0 → 100644
View file @
f34e539c
import
{
EntityEidType
,
BasicInfoAtomType
,
IPolylineATom
}
from
'
../data-type
'
;
export
interface
PathType
extends
EntityEidType
,
Partial
<
BasicInfoAtomType
>
{
pathStyle
?:
Partial
<
PathEntityAtomType
>
;
polyline
?:
IPolylineATom
;
}
export
interface
PathEntityAtomType
{
type
:
string
;
width
:
number
;
color
:
string
;
passColor
:
string
;
}
gis_sdk/world51/51timapi/Plugins/tim/modules/common/interface/poi.d.ts
0 → 100644
View file @
f34e539c
import
{
MinMaxType
,
Coord2DType
,
EntityEidType
,
BasicInfoAtomType
,
TransformAtomType
}
from
'
../data-type
'
;
export
interface
PoiType
extends
EntityEidType
,
Partial
<
BasicInfoAtomType
>
,
Partial
<
TransformAtomType
>
{
poiStyle
?:
Partial
<
PoiEntityAtomType
>
;
}
export
interface
PoiEntityAtomType
{
markerNormalUrl
:
string
;
markerActivateUrl
:
string
;
markerSize
:
MinMaxType
;
labelBgImageUrl
:
string
;
labelBgSize
:
MinMaxType
;
labelBgOffset
:
Coord2DType
;
labelContent
:
Array
<
string
>
;
}
gis_sdk/world51/51timapi/Plugins/tim/modules/common/interface/range.d.ts
0 → 100644
View file @
f34e539c
import
{
EntityEidType
,
BasicInfoAtomType
,
IPolygon2DAtom
}
from
'
../data-type
'
;
export
interface
RangeEntityAtomType
{
type
:
string
;
fillAreaType
:
string
;
height
:
number
;
strokeWeight
:
number
;
color
:
string
;
}
export
interface
RangeType
extends
EntityEidType
,
Partial
<
BasicInfoAtomType
>
{
rangeStyle
?:
Partial
<
RangeEntityAtomType
>
;
polygon2D
?:
Partial
<
IPolygon2DAtom
>
;
}
gis_sdk/world51/51timapi/Plugins/tim/modules/common/interface/raster.d.ts
0 → 100644
View file @
f34e539c
import
{
EntityEidType
,
BasicInfoAtomType
,
TransformAtomType
}
from
'
../data-type
'
;
export
interface
RasterType
extends
EntityEidType
,
Partial
<
BasicInfoAtomType
>
,
Partial
<
TransformAtomType
>
{
rasterStyle
?:
Partial
<
RasterEntityAtomType
>
;
}
export
interface
RasterEntityAtomType
{
path
:
string
;
type
:
string
;
gradientSetting
:
Array
<
string
>
;
}
Prev
1
2
3
4
5
6
7
8
…
12
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment