Thursday, January 21, 2016

Infinite Scrolling

It's been way too long since my last post. And that means I've been busy. So many things to do. So many new features.  So much Android.

Stamen Watercolor + NAIP Ortho

But let's talk maps.

The Map, It is Flat


WhirlyGlobe-Maply isn't just about the globe.  There's that second part, the "Maply" bit.  That's a flat map.  It can also be a 3D map, but no one cares, they just use the globe for that.

Lots of users do use it as a flat map, though.  Sometimes (<cough> most times </cough>) that's the best way to present geospatial information.  And most of WhirlyGlobe-Maply's favorite tricks work in 2D.  Some are exclusively 2D.

Like infinite panning.

To Pan and Pan and Pan and Pan


Sometimes you need a 2D map of the whole world.  Sometimes you need to pan past the edge of the world and keep going.  Because that's how the world is.  Or would be if you stretched it out.  Or your map is near the date line.  That happens.

The nausea means it's working

This feature is baked into the MaplyViewController.  It's the viewWrap property and it's on by default.

The implementation is harder than it looks, particularly for annotations and selection.  So bask in our glory.  Or buy a support contract.  Maybe both.

Up Next


The globe gets all the press and the pretty pictures.  So we'll talk about some more map related features, like vector tiles and marker clustering.

And soon, WhirlyGlobe-Maply 2.4.  It's basically done, I just need kick it out the door.