© Rene Rubalcava 2017

Rene Rubalcava, Introducing ArcGIS API 4 for JavaScript, https://doi.org/10.1007/978-1-4842-3282-8_2

2. Getting Started

Rene Rubalcava

(1)Rialto, California, USA

Let’s stop fooling around and write some code. The following is the simple HTML page for your first application. All of the index.html pages in this sample will work off this one. You’ll just be updating the JavaScript code as you go along.

 1   <!DOCTYPE html> 2   <html> 3     <head> 4       <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5       <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/>\ 6       <title>ArcGIS API for JavaScript 4</title> 7       <link rel="stylesheet" href="https://js.arcgis.com/4.4/esri/css/main.css"/> ...

Get Introducing ArcGIS API 4 for JavaScript: Turn Awesome Maps into Awesome Apps now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.