sir your equation to change radiant into azimuth needs a bit of change.. it doesn't fit with the app's result i use this one sunrisedata.azimu = 180 - (-1*(sunriseData.azimuth * 180 / Math.PI)); the result of that equation will fit with the app