geometry - How to determine device's location in the sky / project sky coords into 2d map -


i trying enable user point device sky , view stars "should" located.

i displaying stars on 2d map using leafletjs , google sky tiles.

the data have available following:

1: star ra, dec , mag

2: gyroscope, compass , accelerator

to actual star markers showing on map use formula convert ra/dec lat/lng:

    starlng = (-(starra) + 180)     starlat = stardec 

i have been banging head trying figure out how project current area user viewing 2d leaflet lat/lng , keep track/auto-pan map depending on direction user moves device.

i new celestial coordinate system , things related.

any appreciated! thanks!


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -