ol-layerswitcher

v4.1.2
Layer switcher control for OpenLayers
openlayers layerswitcher ol

watch

chokidar 'src/**' --initial --command 'WATCH=1 npm run build'

doc

documentation readme src/ol-layerswitcher.ts --quiet=true --access=public --access=undefined --section=API --parse-extension ts && node scripts/external-links.js README.md && prettier --write README.md

lint

eslint src/*.ts examples && prettier --check src examples

format

eslint --fix src/*.ts examples && prettier --write src examples

build

npm run lint && tsc --pretty && npm run doc && rollup --config rollup.config.js && cp src/ol-layerswitcher.css dist/
npm i ol-layerswitcher

Metadata

  • MIT
  • Whatever
  • Matt Walker
  • released 6/26/2024

Downloads

Maintainers

Matt Walker