Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text are shown as follows: "The map.getLayers()
method returns the collection of map layers." Folder names, filenames and pathnames are shown in this format: ch02/ch02-zoom-effect
.
A block of code is set as follows:
var view = new ol.View({ zoom: 7, center: [3826743, 4325724] });
Any command-line input or output is written as follows:
cd ch07/ch07-custom-openlayers-build
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "However, if they click on OK, the logic in the click
event handler executes, adding the features to a new vector layer."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.