Helpers for starting and managing basemap sessions in ArcGIS REST JS.
Install
npm install @esri/arcgis-rest-basemap-sessionsImport
@esri/arcgis-rest-basemap-sessions is distributed as both ES Modules and Common JS modules.
import * as basemapSessionsTools from "@esri/arcgis-rest-basemap-sessions"const basemapSessionsTools = require("@esri/arcgis-rest-basemap-sessions");CDN
You can use @esri/arcgis-rest-basemap-sessions as an ES Module from the esm.run CDN.
<script type="module">
import * as basemapSessionsTools from "https://esm.run/@esri/arcgis-rest-basemap-sessions@1.1.0";
</script>You can also use @esri/arcgis-rest-basemap-sessions from a script tag. All exports will be added to a global arcgisRest object.
<script
src="https://unpkg.com/@esri/arcgis-rest-basemap-sessions@1.1.0/dist/bundled/basemap-sessions.umd.min.js"
integrity="sha512-k3vhhp0N0UQIdwMsd6pxMQBLD2g6864TGCJHnBen0mjjT5Xxll2Ef+d7S0J8rua+fKBAfNOGpMEf0HJLlG7ENQ==">
</script>