planetary.js | : earth_americas : Awesome interactive globes for the web | Data Visualization library
kandi X-RAY | planetary.js Summary
kandi X-RAY | planetary.js Summary
Planetary.js is a JavaScript library for building awesome interactive globes, like this one:.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of planetary.js
planetary.js Key Features
planetary.js Examples and Code Snippets
Community Discussions
Trending Discussions on planetary.js
QUESTION
I'm trying to create a globe where I can zoom, rotate, and interact with. I need to highlight countries on hover and I have special locations with markers (like google maps). How can i achieve this ? Three JS, d3, open layers, Planetary.js. Any tips ? I have a full working globe in Three JS only. But I need to map (x, y, z) coordinates to Lat/Lon pairs. You guys know what's the best way to approach this? Thanks.
...ANSWER
Answered 2018-Feb-01 at 14:33I would advise d3.js as a framework to use your map.
Here is a page where you'll find a demo and code to use a zoom on a map : http://bl.ocks.org/marcneuwirth/2865882
And here is a globe demo and code where you may select countries and so on : http://bl.ocks.org/KoGor/5994804
I wouldn't use the other framework/libraries that you mentioned, not because that are worse but because I'm working usually on a virtual machine and no graphic card installed and that webgl is just a pain on such machines. d3.js is working smoothly compared to the other solutions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install planetary.js
You’ll need to run this page from a web server of some kind so that Planetary.js can load the TopoJSON data via Ajax. Congratulations! You’ve rendered your first globe.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page