Setting the interaction area of a marker Setting the interaction area of a marker The following code example defines user interaction of the marker by using the shape property.