This is a major upgrade, and I managed to do it without breaking any existing features.
There are some features that are no longer supported:
- Bump Map - wasn't really that effective at this small scale anyway
- brightness - didn't make sense, so it's gone
The new features - boy howdy!
NO EXTERNAL DEPENDENCIES! Three.js is gone - MiniGlobe is now written in pure JS and WebGL. This means the plugin javascript went from 2 files and around 700KB to now 51KB - a 92.7% reduction in size - and only one file.
INTERNAL GLOBE TEXTURE! I devised a way to compress a binary globe texture into the JS itself. It's not sharp, but it has well defined continents and oceans. You can see it on every software page - the "On The Web" globe uses the internal texture. This means you can deploy a globe for ONLY the cost of a single 51KB JS file.
Markers now offer cylinder shapes which use the same radius value as the sphere markers, but include a length attribute.
Markers can now be named, and be grouped. By default, AJAX and KML markers are grouped so interval updates ONLY update THOSE markers. You could set up multiple sets of updating markers now without losing everything when a single AJAX call completes. Game changer!
For those running security headers - you'll need to set worker-src to accept blob:
I'm super excited about this release. Enjoy!