slowe / VirtualSky

A browser-based planetarium that can be customised and embedded in web pages.
http://slowe.github.io/VirtualSky/
245 stars 94 forks source link

Planets not displaying properly. #68

Closed maphilli14 closed 4 years ago

maphilli14 commented 4 years ago

I've been around this code many times and had my son help a bunch too. I've been able to customize everything but the planets. Is there anyway someone can help take a look? https://maphilli14.github.io/allskyplanetarium/

TIA,

Mike

slowe commented 4 years ago

@maphilli14 It looks as though you are using an older version of virtualsky.js (that uses jQuery) with a version of the planets plugin virtualsky-planets.js that is for the newer version of Virtual Sky (using stuQuery). Version 0.7.0 removed jQuery but your version (claiming to be "0.7") clearly uses jQuery. The planets plugin you are using doesn't know how to work as it is missing stuQuery. If you want to use this old (modified?) version of VirtualSky, you'll probably want to use an old version of virtualsky-planets.js

maphilli14 commented 4 years ago

@slowe downgrading the virtualsky-planets.js to the suggested version worked great, thanks! I'll also try the updated versions you also mentioned! Thanks!