Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set The initialize Data #128

Open
ErfanMohammadi20 opened this issue Jan 24, 2022 · 1 comment
Open

Set The initialize Data #128

ErfanMohammadi20 opened this issue Jan 24, 2022 · 1 comment

Comments

@ErfanMohammadi20
Copy link

How set initialize Data Like :
datetime
lat , lng

and what is the orientation in center: [lat, lng, orientation ] ?

i currently do like below but it dosnt work currectly :
set this on config :
center: null
geopos: [Mylat, Mylng]
and do this after Celestial.display :
Celestial.date(MyDate)

@ErfanMohammadi20
Copy link
Author

i think the proble is with timezone at initialize

i set the lat , lng and it works with 210 timezone at initalize
and when i get lat lang from LeafLet map (same location) the lat , lng is same but timezone is diffrent (300)

and this causes changes in sky map

i think if i can set the init timezone to 300 problem will be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant