React VectorMap - areaSettings.label
Use the label property instead.
An area label is a text that accompanies a map area. Usually, an area label displays the name of a certain geographical object, such as a country, a continent, etc.
Texts for area labels are provided by one of the fields of the attributes object. This object must be declared in the map data source, while the required field must be assigned to the dataField option of the label object.
If you have provided data for area labels, enable them on your map by assigning true to the enabled option of the label object.
In addition, you can change the appearance of area labels using the label.font object.
dataField
Use the dataField property instead.
The map data source can contain an object of attributes assigned to the attributes field. In order to display area labels, assign the name of one of these attributes to the label's dataField option.
enabled
Use the enabled property instead.
After you have enabled area labels in your map, specify the field that provides data for them using the label's dataField option.
If you have technical questions, please create a support ticket in the DevExpress Support Center.