An open API service indexing awesome lists of open source software.

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

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))