View Shape Metadata Sample This sample adds a click event to a layer. When any shape in the layer is clicked, it's metadata is then displayed as a table.