Tutorial - Text and Points
Create a map and define some data. Create a feature layer for the points and add the points to it.
Create another layer for the text feature. We need a separate layer as the text feature won't use the same renderer as the point feature.
Add a text feature to the layer.
Many text styles can be changed, including adding an offset so the text won't overlap the points.
Multiline and word-wrapping aren't directly supported, but can be simulated by adding additional text features.
This also shows that the text value can be set as a style property.