implemented pointAt(x,y) method in coordinateprovider which returns coordinates of a clicked point