Infowindow working with polygons