woheller69 / PeakOrama

Display mountain peaks around a location using PeakFinder-API
GNU General Public License v3.0
22 stars 2 forks source link

Bug: show the sun rise in local time #2

Closed cinghiopinghio closed 3 weeks ago

cinghiopinghio commented 4 weeks ago

Dear, This is an amazing app. Thanks for the effort.

I think the sun rise time is in UTG. It would be cool to see it in local time

woheller69 commented 4 weeks ago

I am using PeakFinder API https://github.com/Fabiz/PeakFinder-API Unfortunately there is no option to change that behaviour

cinghiopinghio commented 3 weeks ago

Nevertheless, the example embeddings in their readme work just fine displaying the local time. I tried to have a look at your code without success, I'm not expert in java and android apps in general.

woheller69 commented 3 weeks ago

Which example are you referring to? I am using their basic canvas example in my code. https://github.com/woheller69/PeakOrama/blob/master/app/src/main/assets/canvas.html

woheller69 commented 3 weeks ago

Fixed it

cinghiopinghio commented 3 weeks ago

Yes, I was checking the basic example, but also the one you linked to works in the browser (on the desktop only though, on mobile both don't load).