Open AlexanderPoone opened 4 years ago
I suggest changing Widget.js
:
this.diamondSymbol = {
type: "point-3d",
symbolLayers: [{
type: "object",
anchor: "bottom",
heading: 45,
size: 8,
resource: {
primitive: "diamond"
},
material: {
color: "greenyellow"
}
}]
};
and Widget.js
showPointOnMap()
:
if (this.graphicsLayer.graphics.items[v].symbol.type === "point-3d") { // if (this.graphicsLayer.graphics.items[v].symbol.style === "diamond") {
var graphic = this.graphicsLayer.graphics.items[v].clone();
graphic.geometry = geometry;
this.graphicsLayer.remove(this.graphicsLayer.graphics.items[v]);
this.graphicsLayer.add(graphic);
break;
}
Not yet fixed
Well this issue is not directly a bug on Oriented Imagery, but it will make the feature unusable. I know it is related to the JavaScript API.
If you have some 3D models on the scene - whether it is of type
3DObject I3S
,Mesh I3S
orBIM
- and you Alt-Click on the map, the green diamond indicator is completely invisible. This is not related to opacity. You can reproduce this having a 3D model of opacity 0.1.The same happens if you turn on the Current coverage and Additional coverage frustums. The green diamond is masked.