@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.0.6";
</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.6/dist/bundled/feature-server.umd.js"
  integrity="sha512-/7+CnnredVlRKFiCtfy2Sa6fuHObO0JkTyzkxN7OW/MkLIAy28Q2u32ofvlbK6W382q97uCVy83f18usUnW0XQ==">
</script>

Exports

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