8 ms·
This looks beautiful, but it doesn't release my mouse click on Chrome; i.e. when I click on the globe to click & drag, the rotation of the globe keeps following
by nosignal 14y ago
This looks beautiful, but it doesn't release my mouse click on Chrome; i.e. when I click on the globe to click & drag, the rotation of the globe keeps following my mouse, and I can't click the "play" button.
Nice project though, as a geo guy who's been meaning to play with D3, it's inspiring.
- sakai 14y agoYeah... that's a bug that I haven't been able to squash yet. Particularly with high latency, it will sometimes fail to load the JSONP from the USGS. Because JSONP is a <script> and I'm not properly catching the thrown error that causes D3 to bug out. I'm trying to get USGS to let me use CORS with the JSON files so I don't have to deal with the callback function of JSONP. Oh - and refreshing the page should fix that! Thanks, and glad you like it.
- mentat 14y agoAlso if you flip it upside down (drag over a pole) the side to side turns backwards.
- sakai 14y agoIndeed. It's actually updating the origin of the map projection with the animation, so it will always be spinning eastwards. That's why the globe will rotate clockwise if you center over the North Pole. All of this can be changed in the JS parameters easily enough, however.
- sakai 14y agoAnd -- what kind of geo work do you do?