I am working on creating a WebGL Globe similar to the one found at this link:
Currently, I have been using this example as a reference point:
Here are the specific project requirements that I am aiming to achieve:
The website needs to be able to manage data, allowing members to input information such as descriptions, URLs, and more for their representation on the globe. The layout should consist of a menu bar above, followed by the WebGL globe, news and events section, an image gallery of sponsors, and a footer.
The globe should display points representing the data entered by members through a data manager. Upon clicking on these points, an information panel (div popup) will appear showing the details and links of the selected member.
A search engine feature is necessary to enable searching by member or sector. When a member is selected, the globe should automatically rotate to their position.
Each member profile should include a title, description, address, links to social networks, and a photo gallery that is accessible through the globe panel when clicked on.
I have already created a PHP form for entering member information into a database. This PHP file also updates a JSON file containing the lat/lon coordinates of the dots displayed on the globe, which is then read by the JavaScript file in the example.
My main challenge lies in implementing a popup window feature. The script for opening windows in the previous example is written in JavaScript and loaded by the main webpage.
I am uncertain about how to retrieve data from the database, obtain the ID of a clicked spot, and pass this information back to the main webpage with the WebGL globe. Alternatively, I am exploring options for passing only the ID and having the globe retrieve the information from the database using JavaScript.
In addition, I need to extract data from a JSON or similar file and enable users to click on each point to view detailed information.
Furthermore, I aim to capture events such as clicking on objects that orbit the globe and show the same information panel. Additionally, I want these objects to continue rotating along the Z-axis around the globe as it is manually rotated with the mouse.
If anyone can provide assistance, even just addressing a portion of this complex question, I would greatly appreciate it. I feel stuck at this stage of development.
Thank you immensely for any help offered.
Current Status: https://i.sstatic.net/Qs4eG.jpg Desired Outcome: https://i.sstatic.net/OxreZ.jpg