https://github.com/gavinr-maps/arcgis-js-api-calcite-lit-example
An example using the ArcGIS Maps SDK for JavaScript and Calcite Components within a Lit web component
https://github.com/gavinr-maps/arcgis-js-api-calcite-lit-example
arcgis-js-api arcgis-maps-sdk-for-javascript lit
Last synced: 11 months ago
JSON representation
An example using the ArcGIS Maps SDK for JavaScript and Calcite Components within a Lit web component
- Host: GitHub
- URL: https://github.com/gavinr-maps/arcgis-js-api-calcite-lit-example
- Owner: gavinr-maps
- License: bsd-3-clause
- Created: 2024-11-21T19:18:46.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-22T21:18:13.000Z (over 1 year ago)
- Last Synced: 2025-06-29T01:05:46.189Z (12 months ago)
- Topics: arcgis-js-api, arcgis-maps-sdk-for-javascript, lit
- Language: JavaScript
- Homepage: https://output.jsbin.com/nuhulal/1/
- Size: 552 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ArcGIS Maps SDK for JavaScript + Calcite + Lit Example
This project was started from the LitElement TypeScript starter - see the readme for that [here](https://github.com/lit/lit-element-starter-ts/blob/6abfcfa55e01bbe4e2633dc3024bf7a3469db1b3/README.md).
## Quick start
Clone the repo, then in a terminal:
```bash
npm run build:watch
```
In a second terminal:
```bash
npm run serve
```
## Use the component
The component markup:
```html
```
### Installation
If you're including it in your project, you can install via the typical manner:
```bash
npm install arcgis-js-api-calcite-lit-example
```
If you want to use it for demo purposes in a CDN, you must include the ArcGIS Maps SDK for JavaScriPT like this:
```HTML
```
([demo](https://jsbin.com/nuhulal/1/edit?html,output))
or you can use this switch from `esm.sh`:
```html
```
([demo](https://jsbin.com/zobegel/1/edit?html,output))