Polygon labels - symbol layer
This sample shows how the symbol layer can be used to automatically render labels for polygons on the map.