
I've e'er wanted to ain an antique globe. As it doesn't hold off similar I'm going to realize this dream anytime before long I decided to brand my ain virtual antique globe. You tin hand notice brand ane too!
Here's how to brand a virtual WebGL antique globe:
Step 1. WebGL Earth
The WebGL footing library already has a keen Globe example using an former map of the world. Cut & glue the rootage code in addition to you're done.
Step 2. Add Other Maps
The David Rumsey Map Collection has geo-referenced thousands of maps. You tin hand notice usage these geo-referenced maps inward your ain online maps past times only linking to the map tile-set URL. So all yous bring to create is detect roughly maps in addition to add together them to your WebGL footing globe alongside the .addTo(earth) function.
Here's the effect - The Antique WebGL Globe
Unfortunately the WebGL footing API doesn't look to bring a removeLayer(earth) function. The effect is that yous halt upwards precisely adding to a greater extent than & to a greater extent than map layers to the globe in addition to it gets a fleck buggy real quickly.
The WebGL footing library already has a keen Globe example using an former map of the world. Cut & glue the rootage code in addition to you're done.
Step 2. Add Other Maps
The David Rumsey Map Collection has geo-referenced thousands of maps. You tin hand notice usage these geo-referenced maps inward your ain online maps past times only linking to the map tile-set URL. So all yous bring to create is detect roughly maps in addition to add together them to your WebGL footing globe alongside the .addTo(earth) function.
Here's the effect - The Antique WebGL Globe
Unfortunately the WebGL footing API doesn't look to bring a removeLayer(earth) function. The effect is that yous halt upwards precisely adding to a greater extent than & to a greater extent than map layers to the globe in addition to it gets a fleck buggy real quickly.
Buat lebih berguna, kongsi: