Node.js and Browser Applications with ArcGIS REST JS
Node.js and browser applications
with ArcGIS REST JS
Allison Davis @araedavis
Noah Mul nger @noahmul nger
slides: bit.ly/3aLDzaz
Agenda
1.
2.
3.
4.
5.
- What is ArcGIS REST JS? Why?
- Who is using it? For what?
- What's new in 2020?
- Common Patterns
- Demos/code (to learn how it works)
Open Source on GitHub
Code
Doc
Esri/arcgis-rest-js
esri.github.io/arcgis-rest-js
@esri/arcgis-rest-js helps you talk
to ArcGIS Online and Enterprise
from modern browsers and Node.js.
Vanilla XMLHttpRequest
// construct the url yourself and don't forget to tack on f=json
const url = ""?
url += "?f=json"?
var xhr = new XMLHttpRequest()?
xhr.onreadystatechange = function() {
if (xhr.readyState == XMLHttpRequest.DONE) {
// make sure JSON response doesnt indicate an error
if (!xhr.responseText.error) {
xhr.responseText? // { firstName: "Daniel", description: "open source geodev"
}
}
}?
xhr.open("GET", url, true)?
xhr.send(null)?
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- functional and technical requirements document
- web attacks stanford university
- cs193x web programming fundamentals victoria kirst spring
- ajax intro to clientside templang
- chapter 10 ajax and java web services
- restful web services for java
- hypertext transport protocol http
- and browser applications with arcgis rest js
- tutorial using thymeleaf
- adf design fundamentals using javascript in adf faces rich