O'Reilly logo

OpenLayers 3 : Beginner's Guide by Erik Hazzard, Paul Spencer, Thomas Gratier

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

This brings us to the end of this chapter. We've seen that OpenLayers is basically mobile-ready out-of-the-box, and there's really not much we need to do to make it work in a mobile web browser. The GeoLocation and DeviceOrientation classes provide access to some useful information in a mobile environment, including our position, speed, altitude, and direction of travel, and we saw these in action. We can even tell which direction our device is pointing in. We've learned how to debug mobile applications and how to prepare them for working offline. We wrapped up with an example that records our movement over time using vector layers and features.

In the next and final chapter, we will be building a complete application from scratch using ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required