Thursday, August 07, 2014

Video Playback on a Map


I've been playing almost non-stop with the new Mapbox GL since its release yesterday. The API is packed full of awesome features and functions. One of the most impressive features is the ability to add a video as an overlay on a base map.

Mapbox has just added a great demo (and the code) of this feature to their example maps in the Mapbox GL documentation. The video was captured by a drone on a northern Californian beach. You can also see the map in full-screen here.

You can zoom in and out on the map and the video automatically re-sizes with the map. You can also rotate the map and video (if you are on a desktop try a right mouse button click followed by holding down the left mouse button and dragging the map).

No comments: