Hey,
i would like to offer the users the possibility to add some text to the map.
I tried with the following code https://community.esri.com/t5/arcgis-api-for-javascript-questions/how-to-add-draw-widget-along-with-text-labels/td-p/111699
That's works fine but it's done for API4.9, not 4.21. When changing to 4.21 in the "<script> part" it runs into an error or several functions don't work well.I tried to figure out the difference for a while but didn't find any solution.
Can someone help me? Maybe someone also finds an easier or another way to realize my issue...