官术网_书友最值得收藏!

  • Leaflet.js Essentials
  • Paul Crickard III
  • 210字
  • 2021-09-03 10:03:01

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Create a text string of the query and initialize your StringBuilder() method to hold the JavaScript of the function and results."

A block of code is set as follows:

var layer = new L.TileLayer('http://{s}.tile.thunderforest.com/landscape/{z}/{x}/{y}.png');
map.addLayer(layer);

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

<style>
  html, body, #map {
      padding: 0;
      margin: 0;
      height: 100%;
    }
#points.hidden {
 display: none;
}
</style>
<body>
<div id="map"></div>
<div id="points"></div>

Any command-line input or output is written as follows:

npm install –g connect

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "You now need to right-click on the project in the Solution Explorer window and select Add Reference."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 黔西| 子洲县| 奈曼旗| 万安县| 大悟县| 封丘县| 昆山市| 阳城县| 黄龙县| 伊宁县| 正阳县| 望奎县| 延川县| 望城县| 阿鲁科尔沁旗| 秦皇岛市| 河津市| 景德镇市| 库车县| 当涂县| 自治县| 右玉县| 台前县| 江孜县| 旬邑县| 安溪县| 大足县| 尖扎县| 七台河市| 齐河县| 满城县| 扬中市| 汤原县| 通道| 上虞市| 本溪市| 宁安市| 延津县| 莆田市| 太原市| 清水县|