@city-ol/orienteering-icons
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Orienteering Icons

Web component to create icons relevant for orienteering in an SVG format. Check out this demo and its source code for the supported icon names.

Usage

Install the package or include the script.

npm i @city-ol/orienteering-icons
<script
  type="module"
  src="https://unpkg.com/@city-ol/orienteering-icons/lib/orienteering-icon.js"
></script>

To create an icon, add an <orienteering-icon> element and specify its name.

<orienteering-icon name="broad_leaved"></orienteering-icon>

Build

npm run build

To genereate a custom-elements.json file, run:

npx custom-elements-manifest analyze

Credits

The icons for the description of individual controls are taken from the OpenOrienteering Mapper software, which is licensed under the GNU General Public License v3.0. No visual changes have been made, but the icons are stored in a modified format.

Readme

Keywords

Package Sidebar

Install

npm i @city-ol/orienteering-icons

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

372 kB

Total Files

12

Last publish

Collaborators

  • timmedia