diff --git a/public/application/js/pipelo_sta.js b/public/application/js/pipelo_sta.js index e5cca700b2d1fbc35abc473ec9208d9a5ef06d23..ac5c714fef998ff0682861d8b62718eec860088d 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,