You can display infowindow message on google maps shape click event.You can draw shapes like rectangle, circle, polygon, and polyline in google maps. You can easily draw shapes using drawing tools. You can click on shapes and show related information messages on Shapes in google maps. Below is an example of a map