This sample depicts the layers along with sublayers. Countries in the African and Australian continents are rendered in the sublayers.
In this example, you can see how to render a sublayer in map. Sublayers are used to render the desired shapes over the existing layers. Any number of sublayers can be added to a map. You can use the
color properties in the border to customize the appearance of the shapes.