Create a layer control

This sample shows how to create a layer control and add it to the map. This sample uses the open source Azure Maps Layer & Legend Control module