Basic events Map events The following code example uses click events of the map. A marker is displayed when a map is clicked, an info layer is displayed when a map is right-clicked. This example contains jQuery code.