@esri/arcgis-rest-feature-service

Feature layer query, edit and admin helpers for ArcGIS REST JS.

Install

Use dark colors for code blocksCopy
1
npm install @esri/arcgis-rest-feature-service

Import

@esri/arcgis-rest-feature-service is distributed as both ES Modules and Common JS modules.

Use dark colors for code blocksCopy
1
import * as featureServiceTools from "@esri/arcgis-rest-feature-service"
Use dark colors for code blocksCopy
1
const featureServiceTools = require("@esri/arcgis-rest-feature-service");

CDN

You can use @esri/arcgis-rest-feature-service as an ES Module from the Skypack CDN.

Use dark colors for code blocksCopy
1
2
3
<script type="module">
  import * as featureServiceTools from "https://cdn.skypack.dev/@esri/arcgis-rest-feature-service@4.0.5";
</script>

You can also use @esri/arcgis-rest-feature-service from a script tag. All exports will be added to a global arcgisRest object.

Use dark colors for code blocksCopy
1
2
3
4
<script
  src="https://unpkg.com/@esri/arcgis-rest-feature-service@4.0.5/dist/bundled/feature-server.umd.js"
  integrity="sha512-tv/MpmJYovpiGo1v1eU3zboijKMOtGUlNTx+EF8Fp4RA1bowtT9fPd11gIvqKHplNSuFqMrrkxBJp2qvvJ+RJw==">
</script>

Exports

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.