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 fill
, width
, and color
properties in the border to customize the appearance of the shapes.
Tooltip is enabled in this example. To see the tooltip in action, hover the mouse over a marker or tap a marker in touch enabled devices.