Book Image

OpenLayers 3: Beginner's Guide

By : Thomas Gratier, Paul Spencer, Erik Hazzard
Book Image

OpenLayers 3: Beginner's Guide

By: Thomas Gratier, Paul Spencer, Erik Hazzard

Overview of this book

<p>This book is a practical, hands-on guide that provides you with all the information you need to get started with mapping using the OpenLayers 3 library.</p> <p>The book starts off by showing you how to create a simple map. Through the course of the book, we will review each component needed to make a map in OpenLayers 3, and you will end up with a full-fledged web map application. You will learn the key role of each OpenLayers 3 component in making a map, and important mapping principles such as projections and layers. You will create your own data files and connect to backend servers for mapping. A key part of this book will also be dedicated to building a mapping application for mobile devices and its specific components.</p>
Table of Contents (22 chapters)
OpenLayers 3 Beginner's Guide
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – opening Chrome Developer Tools


After the Chrome installation, let's open Chrome DevTools:

  1. To do so, go in the upper-right window of Chrome and click on the icon with the three horizontal bar like the following screenshot:

  2. Then, go to the More tools menu and click on the Developer Tools submenu, as shown in the following screenshot:

What just happened?

After clicking on the panel activation, the browser windows has been split to display a panel.

An alternative way to open this panel is to right-click in a web page and to click on Inspect.

You can also find the keyboards shortcut for this at https://developers.google.com/chrome-developer-tools/docs/shortcuts.

Now, let's take a look at what the tool looks like after its activation:

Note

The top row starts with a Page Inspector icon and Toogle device mode icon, which is useful for mobiles. Then, multiple panels with textual descriptions such as Elements or Network provide specific functionality (they look and act similar to tabs, but the technical term is panels). The upper row end on the right has a Show Console icon, a Settings icon, a Detached/attached debugger icon and a close button. The position of the icons may change over time as Google Developer Tools is updated; but general functionalities should remain (more or less) the same.

The following content will cover the top row icons from left to right, excluding panels.