@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 esm.run CDN.

Use dark colors for code blocksCopy
1
2
3
<script type="module">
  import * as featureServiceTools from "https://esm.run/@esri/arcgis-rest-feature-service@4.1.0";
</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.1.0/dist/bundled/feature-server.umd.js"
  integrity="sha512-xqgDjNvp3Qiq+tpI5XmO6Qm4DPDNT7cux8bWcDSzZ9kzv5W6qi2UzJMg9FCmTQScZQyc1l/AkHbf3l3+fu4k/Q==">
</script>

Exports

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