@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.4";
</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.4/dist/bundled/feature-server.umd.js"
  integrity="sha512-NTsqO/1jZyEs39dBJ48NXaUotxXT6zQ8HmKq16fhrC9cBsDz4gG2jXRe+dMr03lt6Fbw3nkNz9v2NPsF+RqhNQ==">
</script>

Exports

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