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

Chapter 10. OpenLayers Goes Mobile

The rise in popularity of mobile devices—smart phones and tablets—has changed the landscape of web development. Now, users expect our websites and applications to work on their mobile devices' smaller screens, respond to touchscreen interfaces and know where they are via integrated GPS. OpenLayers 3 provides some great features targeting mobile platforms, and we will highlight those in this chapter. But, developing mobile-friendly web applications has its challenges too, so we'll look at how to debug web applications on mobile devices and at some strategies to use when mobile devices lose their network connections.

In this chapter, we will cover the following topics:

  • Touch support in OpenLayers
  • Using ol.Geolocation ...

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