example: add a rectangle on a map click