Hit test and get polygon by id