< Polygon labels - calculated - Azure Maps Web SDK Samples

Polygon labels - calculated

This sample shows how to create labels for polygons by calculating a coordinates and creating a point feature for the label. In this case the center of the bounding box of the polygon is used to place the label.