Add events to newly drawn shapes sample This sample shows how to add events to a shape that has just been drawn on the map. This is achieved by moving a shape from the drawing layer to a seperate base layer which has the events on it.