Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
IQG4iCity
Schwabisch_Hall
Commits
d91dc71e
Commit
d91dc71e
authored
Jul 22, 2022
by
Joe TS Dell
Browse files
update
parent
24243e5b
Pipeline
#6782
passed with stage
in 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/application/js/pipelo_sta.js
View file @
d91dc71e
...
...
@@ -443,7 +443,7 @@ for (let i = 0; i < pipe_lo.length; i++) {
var
pipe_lon
=
pipe_lo
[
i
][
"
long
"
];
var
pipe_lat
=
pipe_lo
[
i
][
"
lat
"
];
const
url
=
Cesium
.
buildModuleUrl
(
"
Assets/Textures/maki/grocery
.png
"
);
//
const url = Cesium.buildModuleUrl("
./img/sensor
.png");
pipe_lo_entities
[
i
]
=
viewer
.
entities
.
add
({
name
:
name_devEUI
,
...
...
@@ -454,7 +454,7 @@ for (let i = 0; i < pipe_lo.length; i++) {
// MakiIcon List: https://github.com/mapbox/maki/tree/main/icons
// https://sandcastle.cesium.com/index.html?src=GeoJSON%20simplestyle.html
// image: pinBuilder.fromMakiIconId("hospital", Cesium.Color.RED, 48).toDataURL(),
image
:
pinBuilder
.
fromUrl
(
url
,
Cesium
.
Color
.
GREEN
,
48
)
.
toDataURL
()
,
image
:
pinBuilder
.
fromUrl
(
"
./img/sensor.png
"
,
Cesium
.
Color
.
GREEN
,
48
),
verticalOrigin
:
Cesium
.
VerticalOrigin
.
BOTTOM
,
heightReference
:
"
CLAMP_TO_GROUND
"
,
show
:
true
,
...
...
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