We're the makers of Maply and WhirlyGlobe, 3D toolkits for flat map and globe display on iPad, iPhone, and Android devices.
Tuesday, November 10, 2020
WhirlyGlobe-Maply 3.0 Integration & Housekeeping
Monday, November 2, 2020
We Can Display Your Mapbox Style Map
When people think of us, most think of WhirlyGlobe. It's the iconic interface in weather apps like DarkSky and tons of aviation apps you'd only know if you're a pilot.
![]() |
| Saildrone Forecast |
But did you know we also make a good 2D slippy map? That's Maply and it's completely open source.
Our support for Mapbox style maps has gotten really good this year, but we'd like to make it better!
Mapbox Kinda Maps
Vector Tiles and Mapbox Style Sheets are a potent combo and they've won the geospatial format wars. If you want to make your own vector slippy map, that's likely how you're doing it.
Maply has supported Vector Tiles for years, but the Mapbox Style Sheet support lagged.... until this year.
With the recent move to a unified code base we've got one single Mapbox Style Sheet implementation for iOS and Android.... and wherever else we port to. On iOS we upgraded our shaders to react to zoom level changes and it looks fantastic.
But there's a lot more to do. The spec if vast, and the fiddly bits are so very fiddly. We need money for more.
Who Are You Again?
mousebird consulting is a little company that makes WhirlyGlobe-Maply. We specialize in weather, aviation, and GIS mobile app development based on the toolkit.
We've been around with this thing for nearly a decade. It actually predates most of the competition... and it really is open source.
How Much Money We Talking?
I Dunno, We're Kind of Invested In...
Wednesday, May 20, 2020
Elevation / Synthetic Vision
But before I dive in, a bit about terminology. Aviation developers tend to refer to a simulated display of where a pilot is and where they're going as Synthetic Vision. The rest of you might just think of it as elevation support in the toolkit. It's the same thing.
![]() | |
| Mt. Rainier from Mapbox Satellite with elevation |
I’m going to try to put together a small group of WhirlyGlobe-Maply users to sponsor a new development effort. Let’s look at what that would be.
How Loading Used to Work
![]() |
| Level 0 loaded |
The biggest problem was loading time. The visuals would get super chunky as users waited for things to load. And it was all serial. Wait for imagery, then wait for elevation. Not great.Can we see enough of this tile to load it?Request the imagery & wait for it to returnRequest the elevation & wait for it to returnBuild the geometrySlap them all together
How Loading Works Now
With the move to the Sampler/Loader architecture in 3.0 things got a lot better. The tile loading process now looks like this.
Can we see enough of this tile to load it?
Rebuild the geometry immediately.
Slap whatever we currently have on the tile
Request the image
![]() |
| Saildrone Forecast uses a hybrid vector map on a globe |
How Elevation Should Work
![]() |
| Super complex diagram of the render pipeline |
![]() |
| Geometry Tile Points to Elevation and Imagery Pools |
Elevation Overlays
![]() |
| Elevation + Runway = Flattened Elevation |
Point Model Placement
![]() |
| Objects sitting on top of terrain |
3D Loading Details
![]() |
| Tiles with St. Helens take up more screen space |
Airport/Runway Generator
Elevation Database
Conclusion
Vector Features / Mapbox Style Sheet Roadmap
Vector Maps
Who This is For
Zoom Level
Wide Vectors
![]() |
| https://www.w3.org/TR/SVG/painting.html#StrokeLinejoinProperty |
We have some facility for dots and dashes, but those need to be updated and tested properly. Much of this logic just needs to go into a more intelligent shader.
Polygons
Text
Layout
But general Mapbox Style Sheet users would like this too.
Screen Objects
Mapbox Specific Features
Sprite Sheets
Mapbox Font Madness
Layout Specifics
Hillshades, Heatmaps, Fake 3D & Rasters
Conclusion
Odds are you're reading this because I sent you here with the request "I'd like some money to add several of these features I know you want". So, you know, let's do that. There's efficiency in scale and the more time I spend on vector maps, the better they will get.
For everyone else, this is where I'd like to take the vector map support in WG-Maply. Your feedback is welcome too.
Monday, December 2, 2019
Mapbox Style Support
![]() |
| MapTiler Basic |
I did some work for a client on MapTiler and Mapbox map sources. You get to benefit. Open source!
MapTiler & Mapbox
We were focused on Map Tiler primarily, so those work best. You can find examples for their Basic, Hybrid Satellite, and Streets styles in the AutoTester app.
![]() |
| MapTiler Streets |
As for Mapbox, we were trying out their Satellite offerings so you'll see examples for Satellite and Hybrid Satellite. Streets will probably kind of work, but it wasn't my priority.
![]() |
| Mapbox Satellite Streets |
You'll need to add in your own Map Tiler or Mapbox tokens. I'm not that much of a sucker.
Mapbox Kinda Map
Mapbox-style maps lean more toward the web side of things: Load a lot of random junk before you're ready. That's always been hard on my users.
Look for a new Swift object called MapboxKindaMap in the AutoTester app. Just copy it into your app. For various reasons it's hard to add an actual Swift module to the old version (2.6) of the toolkit.
At its simplest, give the thing a URL for the style and it'll figure out the rest. Consult the MapTiler and Mapbox Test Cases for details.
Caveats
It's working fine for my client, but their needs were pretty simple. If you want highway shields and fades per zoom level and that good stuff, it's not there. I'll be bugging my users for money to add all that and make it work on Android.... soonish.
MapTiler has pretty flexible usage, but Mapbox does not. So work it out with them before you ship anything.
Monday, July 1, 2019
WhirlyGlobe-Maply 3.0 Is Feature Complete
If you're a sponsor, you can have it whenever you like. That's why you're a sponsor.
I just fixed the last missing piece which was.... the Layout Manager. It's always the Layout Manager.
What 3.0 Means To You
Performance & Optimization
The Island of Lost Features
What's Next
Friday, May 17, 2019
WhirlyGlobe-Maply 3.0 Status Report #4
As a reminder, this is about the WhirlyGlobe-Maply 3.0 effort: A better version of Android and a port to the Metal rendering toolkit on iOS.
Quarantining OpenGL ES
WhirlyGlobe-Maply was designed around OpenGL ES. Version 1 if you can believe it! It's been upgraded since then, but OpenGL permeates its design. Like fish in a microwave.
Multithreading and state management are particularly bad in OpenGL ES and my toolkit works around this in a variety of bad ways.
I've just finished shoving all of this logic into its own separate modules. Twenty-something of them. The top level interface doesn't change. This was my own private pain I'm sharing with you!
Very little of the system now knows about the low level rendering which leads us to the...
Journey Into Metal
Sure, it sounds like a Heavy Metal Parking Lot sequel, but way less cool. Behold the first of the new Metal code for setting up a texture.

And let's not forget the shaders. Shaders that Xcode can syntax check! And compile at compile time! [Okay, fine there's probably a way to do that with an OpenGL extension, but it's guaranteed annoying.]

It's glorious! In a boring way! But there's a ways to go and nothing interesting to show yet.
Summary
If OpenGL development is Napoleon's Russia Campaign, Metal is like taking light rail to the mall. Which is to say it's going well and there's no reason to suspect it won't continue doing so.
Ideally, I should designate 3.0 finished sometime in June. If you're a sponsor, you get it then (or now, if you're bold). For the rest of you, that means next January.
























