add getBounds for polygon