148 |
149 |
150 |
--------------------------------------------------------------------------------
/Chapter12/arcgisonline.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | ArcGIS Online Map
8 |
9 |
18 |
19 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/Chapter13/geolocation.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Geolocation
8 |
9 |
18 |
19 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
--------------------------------------------------------------------------------
/Chapter13/mobile-map-final.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Mobile Map
8 |
9 |
18 |
19 |
20 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
--------------------------------------------------------------------------------
/Chapter13/mobile-map.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Mobile Map
8 |
9 |
18 |
19 |
20 |
21 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2017 Packt
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | # Building Web and Mobile ArcGIS Server Applications with JavaScript - Second Edition
5 | This is the code repository for [Building Web and Mobile ArcGIS Server Applications with JavaScript - Second Edition](https://www.packtpub.com/application-development/building-web-and-mobile-arcgis-server-applications-javascript-second-edition?utm_source=github&utm_medium=repository&utm_campaign=9781787280526), published by [Packt](https://www.packtpub.com/?utm_source=github). It contains all the supporting project files necessary to work through the book from start to finish.
6 | ## About the Book
7 | ArcGIS Server is the leading software for developing both web and mobile GIS applications. The ArcGIS API for JavaScript is the preferred way of developing your custom applications for ArcGIS Server since it can be used for both web and mobile application development. It's easy to use and doesn't require the use of a browser plugin. This practical guide provides you with hands-on experience in developing custom web and mobile ArcGIS Server applications with step-by-step style exercises.
8 |
9 | Along with introducing you to the HTML/CSS/JavaScript technology stack, you will learn to add intuitive geographic layers of information to your map, interactive query and display of spatial data, add user interface widgets, access geoprocessing tasks, and many more in your own web and mobile GIS applications. You will be able to develop fully-functional online GIS applications with ArcGIS Server using the ArcGIS API for JavaScript, which has been updated to 4.x. After creating your own map, you will explore how to add geographic layers from a variety of sources including tiled and dynamic map services, add graphics to the map, and stream geographic features to the browser using a FeatureLayer. You will also learn how to work with 3D maps, get a hold onto the analytics tools, visualizations, etc. Most applications include the specific functionalities implemented by ArcGIS Server as tasks. You'll learn how to use the various tasks provided by ArcGIS Server including spatial and attribute queries, identification of features, finding features by attribute, and more. Geocoding and geoprocessing tasks are covered in-depth to help you accomplish your task in GIS. Finally, you'll learn just how easy it is to integrate ArcGIS content into your custom developed applications by building a complete app.
10 | ## Instructions and Navigation
11 | All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.
12 |
13 |
14 |
15 | The code will look like the following:
16 | ```
17 | function computeServiceArea(evt) {
18 | map.graphics.clear();
19 | var pointSymbol = new SimpleMarkerSymbol();
20 | pointSymbol.setOutline = new
21 | SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new Color([255, 0,
22 | 0]), 1);
23 | pointSymbol.setSize(14);
24 | pointSymbol.setColor(new Color([0, 255, 0, 0.25]));
25 | }
26 | ```
27 |
28 | To complete the activities in this book, you will need access to a web browser--preferably Google Chrome or Firefox. Each chapter contains practices designed to supplement the material presented. You will complete these practices using the ArcGIS API for JavaScript Sandbox to write and test your code. The sandbox can be found at https://developers.arcgis.com/javascript/3/sandbox/sandbox.html. All the practices will access publicly available instances of ArcGIS Server, so you will not need to install ArcGIS Server yourself.
29 |
30 | ## Related Products
31 | * [Building Web and Mobile ArcGIS Server Applications with JavaScript](https://www.packtpub.com/application-development/building-web-and-mobile-arcgis-server-applications-javascript?utm_source=github&utm_medium=repository&utm_campaign=9781849697965)
32 |
33 | * [Mastering ArcGIS Server Development with JavaScript](https://www.packtpub.com/application-development/mastering-arcgis-server-development-javascript?utm_source=github&utm_medium=repository&utm_campaign=9781784396459)
34 |
35 | * [Building Web Applications with ArcGIS](https://www.packtpub.com/application-development/building-web-applications-arcgis?utm_source=github&utm_medium=repository&utm_campaign=9781783552955)
36 | ### Download a free PDF
37 |
38 | If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost. Simply click on the link to claim your free PDF.
39 |