Building Web and Mobile ArcGIS Server Applications with JavaScript.
Material type: TextPublisher: Olton : Packt Publishing Ltd, 2014Copyright date: ©2014Description: 1 online resource (295 pages)Content type: text Media type: computer Carrier type: online resourceISBN: 9781849697972Subject(s): ArcGIS | Geographic information systems -- Programming | Geographic information systems | Spatial data infrastructuresGenre/Form: Electronic books.Additional physical formats: Print version:: Building Web and Mobile ArcGIS Server Applications with JavaScriptDDC classification: 910.285 LOC classification: G70.212 -- .P56 2014ebOnline resources: Click to ViewIntro -- Building Web and Mobile ArcGIS Server Applications with JavaScript -- Table of Contents -- Building Web and Mobile ArcGIS Server Applications with JavaScript -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers and more -- Why Subscribe? -- Free Access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Introduction to HTML, CSS, and JavaScript -- Basic HTML page concepts -- The HTML DOCTYPE declaration -- Primary tags -- Validating HTML code -- JavaScript fundamentals -- Commenting in code -- Variables -- JavaScript and case sensitivity -- Variable datatypes -- Decision-supporting statements -- Looping statements -- Functions -- Objects -- Basic CSS principles -- CSS syntax -- Inline styling -- Internal stylesheets -- External stylesheets -- Separating HTML, CSS, and JavaScript -- Summary -- 2. Creating Maps and Adding Layers -- Introduction -- The ArcGIS API for JavaScript Sandbox -- Basic steps for creating an application with the ArcGIS API for JavaScript -- Creating HTML code for a web page -- Referencing the ArcGIS API for JavaScript -- Loading modules -- Legacy or AMD Dojo? -- Making sure Document Object Model is available -- Creating the map -- Creating the page content -- Styling the page -- The complete code -- More about the map -- Working with map service layers -- Using layer classes -- Tiled map service layers -- Dynamic map service layers -- Adding layers to the map -- Setting visible layers from a map service -- Setting a definition expression -- Map navigation -- Map navigation widgets and toolbars -- Map navigation using the mouse and keyboard.
Getting and setting the map extent -- Map events -- Summary -- 3. Adding Graphics to the Map -- The four parts of a graphic -- Creating geometry for graphics -- Symbolizing graphics -- Assigning attributes to graphics -- Displaying graphic attributes in an info template -- Creating graphics -- Adding graphics to the graphics layer -- Multiple graphics layers -- Time to practice with graphics -- Summary -- 4. The Feature Layer -- Creating a FeatureLayer object -- Optional constructor parameters -- Defining display modes -- Snapshot mode -- The on-demand mode -- The selection-only mode -- Setting a definition expression -- Feature selection -- Rendering a feature layer -- Time to practice with FeatureLayer -- Summary -- 5. Using Widgets and Toolbars -- Adding toolbars to an application -- Steps for creating a toolbar -- Defining CSS styles -- Creating buttons -- Creating an instance of the Navigation toolbar -- User interface widgets -- The BasemapGallery widget -- The Bookmarks widget -- The Print widget -- The Geocoder widget -- Time to practice with the Geocoder widget -- The Gauge widget -- The Measurement widget -- The Popup widget -- The Legend widget -- The OverviewMap widget -- The Scalebar widget -- The Directions widget -- The HistogramTimeSlider dijit -- The HomeButton widget -- The LocateButton widget -- The TimeSlider widget -- The LayerSwipe widget -- Analysis widgets -- Feature editing -- Feature service -- The editing widgets -- The Editor widget -- The TemplatePicker widget -- The AttributeInspector widget -- The AttachmentEditor widget -- The Edit toolbar -- Summary -- 6. Performing Spatial and Attribute Queries -- Introducing tasks in ArcGIS Server -- An overview of attribute and spatial queries -- The Query object -- Defining the query properties -- Attribute queries -- Spatial queries -- Limiting the fields returned.
Executing the query with QueryTask -- Getting query results -- Time to practice with spatial queries -- Summary -- 7. Identifying and Finding Features -- Using IdentifyTask to get feature attributes -- Introducing IdentifyTask -- The IdentifyParameters object -- The IdentifyTask attribute -- IdentifyResult -- Time to practice - implementing the identify functionality -- Using FindTask to get the feature attributes -- FindParameters -- FindTask -- FindResult -- Summary -- 8. Turning Addresses into Points and Points into Addresses -- Introducing geocoding -- Geocoding with a Locator service in the ArcGIS API for JavaScript -- Input parameter objects -- Input JSON address object -- Input Point object -- The Locator object -- The AddressCandidate object -- The geocoding process -- The reverse geocoding process -- Time to practice with the Locator service -- Summary -- 9. Network Analyst Tasks -- RouteTask -- Time to practice routing -- The ClosestFacility task -- The ServiceArea task -- Summary -- 10. Geoprocessing Tasks -- Models in ArcGIS Server -- Using Geoprocessor - what you need to know -- Understanding the service page for a geoprocessing task -- Input parameters -- The Geoprocessor task -- Running the task -- Synchronous tasks -- Asynchronous tasks -- Time to practice with geoprocessing tasks -- Summary -- 11. Integration with ArcGIS Online -- Adding ArcGIS Online maps to your applications with the webmap ID -- Adding ArcGIS Online maps to your applications with JSON -- Time to practice with ArcGIS Online -- Summary -- 12. Creating Mobile Applications -- ArcGIS API for JavaScript - a compact build -- Setting the viewport scale -- Time to practice with the compact build -- Integrating the Geolocation API -- Time to practice with the Geolocation API -- Summary -- A. Application Design with ArcGIS Templates and Dojo -- The Dojo BorderContainer dijit.
Additional Dojo layout elements -- Time to practice with sample layouts -- Summary -- Index.
An easy to follow tutorial, this book uses a step-by-step approach with exercises designed to give you hands-on experience with this technology. If you are a web or mobile application developer, who wants to create GIS applications in your respective platform, this book is ideal for you. You will need Java Script programming experience to get the most out of this book. Although designed as an introductory to intermediate level book, it will also be useful for more advanced developers who are new to the topic of developing applications with ArcGIS Server.
Description based on publisher supplied metadata and other sources.
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2018. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
There are no comments on this title.