Select shapes with selection control

This sample shows how to use the selection control with a data source of polygons. By default any type of shape can be selected. Use the "shapeSelectionMode" option of the selection control to limit the type of shapes that can be selected. Press the pointer button in the top right corner of the map to choose a selection mode, then draw on the map. This samples uses the open source Azure Maps Selection Control module