How to put a label on the ground?

I want to add a text like polygon on the ground, it should fit the ground, is this possible? cesium’s label makes me look at it from every angle it’s a frontal view, which is not what I need

Hi,
You can convert text to image by using writeTextToCanvas and set it as material on either rectangle, box, plane or polygon. It’s not the best one, But you can play with by setting it’s font style. Here is the example.

  • Regards
1 Like

Hi @Yi-Long,

As @Jacky suggests, I think that writeTextToCanvas is your best bet here!

Best,
Sam

thanks @Jacky this is great