https://github.com/beginor/esri-service
Common used helper method for arcgis js api based on esri-loader
https://github.com/beginor/esri-service
Last synced: about 1 year ago
JSON representation
Common used helper method for arcgis js api based on esri-loader
- Host: GitHub
- URL: https://github.com/beginor/esri-service
- Owner: beginor
- License: mit
- Created: 2018-05-01T00:04:15.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-11-04T07:26:48.000Z (over 5 years ago)
- Last Synced: 2025-03-22T17:23:17.760Z (about 1 year ago)
- Language: TypeScript
- Size: 29.3 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# esri-service
Common used methods helper for ArcGIS JS API
## Install
```bash
npm i esri-service
```
## Sample usage
```ts
import * as arcgis from 'esri-service';
const map = await arcgis.createMap({
basemap: 'satellite',
ground: 'world-elevation'
});
const sceneView = await arcgis.createSceneView({
container: document.getElementById('map'),
map,
zoom: 7,
center: { longitude: 113.2, latitude: 23.4 },
viewingMode: 'local'
});
await sceneView.when();
```