Commit d91dc71e authored by Joe TS Dell's avatar Joe TS Dell
Browse files

update

parent 24243e5b
Pipeline #6782 passed with stage
in 7 seconds
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment