This sample uses polygons to highlight the Germany region on OpenStreetMap.
In this example, you can see how to display polygon shape over the map layer using
polygonSettings. You can define the polygon shape using
points property. You can use
borderOpacity to customize the appearance of the polygon shape.