Example of Multi-layers in Javascript Maps Control


This sample illustrates the layers along with sublayers. California and Texas map is rendered on the top of US map to depict the office locations of Samsung in USA.

More Details...


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. More information on sub-layer can be found in this documentation section.