From d91dc71e2e3a584db86b83322657b182d43cabba Mon Sep 17 00:00:00 2001 From: Joe TS Dell Date: Fri, 22 Jul 2022 11:28:39 +0200 Subject: [PATCH] update --- public/application/js/pipelo_sta.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/application/js/pipelo_sta.js b/public/application/js/pipelo_sta.js index e5cca70..ac5c714 100644 --- a/public/application/js/pipelo_sta.js +++ b/public/application/js/pipelo_sta.js @@ -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, -- GitLab