@city-ol/orienteering-icons
v1.0.3
Published
Generate icons relevant for orienteering in an SVG format.
Readme
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 buildTo genereate a custom-elements.json file, run:
npx custom-elements-manifest analyzeCredits
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.
