esridc / hub-annotations-component

Web component for Hub annotations

Home Page:https://esridc.github.io/hub-annotations-component/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hub Annotations Component

This is a web component for embedding Hub annotations into websites.

Using this component

Script tag

  • Publish to NPM
  • Put a script tag similar to this <script src='https://unpkg.com/hub-annotations-component@0.0.1/dist/annotationscomponent.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

Node Modules

  • Run npm install hub-annotations-component --save
  • Put a script tag similar to this <script src='node_modules/hub-annotations-component/dist/annotationscomponent.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

In a stencil-starter app

  • Run npm install hub-annotations-component --save
  • Add an import to the npm packages import hub-annotations-component;
  • Then you can use the element anywhere in your template, JSX, html etc

Develop this components

  • Clone the repository
  • cd hub-annotations-component
  • npm install
  • npm run start

Built With Stencil

About

Web component for Hub annotations

https://esridc.github.io/hub-annotations-component/


Languages

Language:TypeScript 64.0%Language:HTML 21.9%Language:CSS 14.0%