public void GetLatLongFromHmVm(float horizontalMove, float verticalMove) { //Convert value on scale of 0 to 2 to Actual resolution float x = (horizontalMove / 2f) * maximumX; float y = (verticalMove / 2f) * maximumY; //Generate LatLong from the gained value LatLong = MathCalculations.XYtoLatLong(x, y); }