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

  • 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.

主站蜘蛛池模板: 鄂尔多斯市| 普兰县| 水富县| 南陵县| 富宁县| 明水县| 麻城市| 鹰潭市| 民勤县| 明星| 凤山市| 盐源县| 江源县| 广南县| 湘乡市| 东至县| 宜良县| 江达县| 灌云县| 广元市| 磐石市| 惠水县| 泾源县| 宁远县| 云阳县| 绵竹市| 威宁| 乌什县| 八宿县| 佛坪县| 郧西县| 灵寿县| 万山特区| 都昌县| 中方县| 博客| 上杭县| 珲春市| 上林县| 台北县| 安丘市|