kerryrobinson / DictionarySymbolBrowser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dictionary Symbol Browser

Dictionary Symbol Browser is a web component that provides a interactive way to browser dictionary symbols. It can be used as a custom element in html + vanilla JavaScript or with any JavaScript Framework, such as Vue, Angular or React. It has a dependency of the ArcGIS API for JavaScript for its dictionary symbol rasterizer and can be integrated with any web mapping API.

Usage

<dictionary-symbol-browser
      styleurl="https://www.arcgis.com/sharing/rest/content/items/7842f07fabbf48a4b768fc5aa66dc5b7"
      uiurl="./assets/data/mil2525bc2-ui-with-groups-texts.json"
    ></dictionary-symbol-browser>

stylturl defines the dictionary style. Here we are using a Military Symbol 2525BC-1 style as an example.

uiurl defines an UI JSON associated with the style.

Live Examples:

https://kerryrobinson.github.io/DictionarySymbolBrowser/examples/custom-element-arcgis-jsapi/ https://kerryrobinson.github.io/DictionarySymbolBrowser/examples/custom-element-leaflet/

About

License:MIT License


Languages

Language:TypeScript 92.9%Language:CSS 4.4%Language:HTML 2.6%Language:JavaScript 0.0%