Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gavinr/arcgis-js-api-widget-template
Want do develop your own widget for the ArcGIS JavaScript API 4.x? Avoid creating all the boilerplate by starting with this set of files.
https://github.com/gavinr/arcgis-js-api-widget-template
arcgis-js-api arcgis-js-api-4 javascript
Last synced: about 1 month ago
JSON representation
Want do develop your own widget for the ArcGIS JavaScript API 4.x? Avoid creating all the boilerplate by starting with this set of files.
- Host: GitHub
- URL: https://github.com/gavinr/arcgis-js-api-widget-template
- Owner: gavinr
- License: mit
- Created: 2017-07-31T17:49:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-02T19:39:58.000Z (over 7 years ago)
- Last Synced: 2024-11-30T15:51:47.681Z (about 1 month ago)
- Topics: arcgis-js-api, arcgis-js-api-4, javascript
- Language: HTML
- Size: 29.3 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# arcgis-js-api-widget-template
Want do develop your own widget for the ArcGIS JavaScript API 4.x? Avoid creating all the boilerplate by starting with this set of files.## Goals of this repository:
Starts with the demo widget code from the [ArcGIS API for JavaScript Sample Code](https://developers.arcgis.com/javascript/latest/sample-code/widgets-custom-widget/index.html), but also includes:
* Places the widget within the context of a map.
* Includes TSLint
* Follows semi-standard code formatting
* Includes a dev web server to get you going quicklyCurrently updated to ArcGIS JavaScript API version: 4.4 (2017-07)
## Quick Start
1. Clone this repository.
1. Rename the project in the `package.json` file
1. Rename `HelloWorld.tsx` to your widget's name, and update the reference in `index.html`.
1. `npm install`
1. `npm start`