Tutorial - Text and Points

Create a map and define some data. Create a feature layer for the points and add the points to it.

Step 1
Active
Inactive

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.

Step 2
Active
Inactive

Many text styles can be changed, including adding an offset so the text won't overlap the points.

Step 3
Active
Inactive

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.

Step 4
Active
Inactive