How can I place an Icon at a specific coordinate on a scene3d. Do I need to add a layer and then add an image. I am newbie. So just wondering how it should be done. I tried to look at the docs, but not quite sure if I figured out how to do it.
Solved! Go to Solution.
Hey @AbishekSrikaanth,
Yes you need a layer for this. There are several way to do this, but the easiest way is to create a client side GraphicsLayer. Then you need to create a Graphic where you define the location and the source of the image.
I prepared a codepen example so it's easier to understand: https://codepen.io/dlaumer/pen/oNdqdwd
I hope this helps, otherwise feel free to ask again!
Best, Daniel
Hey @AbishekSrikaanth,
Yes you need a layer for this. There are several way to do this, but the easiest way is to create a client side GraphicsLayer. Then you need to create a Graphic where you define the location and the source of the image.
I prepared a codepen example so it's easier to understand: https://codepen.io/dlaumer/pen/oNdqdwd
I hope this helps, otherwise feel free to ask again!
Best, Daniel
Thanks a lot for the clarification and also the sample code. I really appreciate it.