Mastering ArcGIS Server Development with JavaScript
上QQ阅读APP看书,第一时间看更新

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, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "We're working with census data, let's call it census.html."

A block of code is set as follows:

<!DOCTYPE html>
<html>
<head></head>
<body></body>
</html>

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

<!DOCTYPE html>
<html>
<head>
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
 <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/>
 <title>Census Map</title>
 <link rel="stylesheet" href="http://js.arcgis.com/3.13/esri/css/esri.css" />
 <style>
 html, body {
 border: 0;
 margin: 0;
 padding: 0;
 height: 100%;
 width: 100%;
 }
 </style>
 <script type="text/javascript">
 dojoConfig = {parseOnLoad: true, debug: true};
 </script>
 <script type="text/javascript" src="http://js.arcgis.com/3.13/" ></script>
</head>

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: "We positioned it precisely in the top right, and left a little gap for the Census button to be centered vertically."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.