d3-celestial icon indicating copy to clipboard operation
d3-celestial copied to clipboard

Set The initialize Data

Open ErfanMohammadi20 opened this issue 3 years ago • 1 comments
trafficstars

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 avatar Jan 24 '22 10:01 ErfanMohammadi20

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

ErfanMohammadi20 avatar Jan 24 '22 10:01 ErfanMohammadi20