XYLayer and Text Scaling

Also added an example for creating labels for polygons.