@watergis/svelte-maplibre-style-switcher

This is a svelte component to add style stich component to maplibre.


Keywords
maplibre, maplibre-gl-js, style, svelte, sveltekit
License
MIT
Install
npm install @watergis/svelte-maplibre-style-switcher@0.1.5

Documentation

svelte-maplibre-components

GitHub GitHub repo size build Netlify Status

This repository to manage packages of svelte maplibre components for water application.

Packages

The following packages are managed in this monorepo.

Package Changelog version
@watergis/svelte-maplibre-attribute-popup Changelog npm
@watergis/svelte-maplibre-attribute-table Changelog npm
@watergis/maplibre-center-icon Changelog npm
@watergis/collapsible-panel Changelog npm
@watergis/svelte-maplibre-export Changelog npm
@watergis/svelte-maplibre-legend Changelog npm
@watergis/svelte-maplibre-measure Changelog npm
@watergis/svelte-maplibre-menu Changelog npm
@watergis/svelte-maplibre-search Changelog npm
@watergis/svelte-maplibre-share Changelog npm
@watergis/svelte-maplibre-style-switcher Changelog npm
@watergis/svelte-maplibre-tour Changelog npm
@watergis/svelte-maplibre-valhalla Changelog npm

Documentation

Please visit the documentation on svelte-maplibre.water-gis.com.

Install

If you have not used pnpm before, please install it first.

npm i -g pnpm
pnpm install

When you clone it from Github first time, please install lefthook by the following command.

pnpm lefthook install

Development

pnpm lint
pnpm format
pnpm build

Release packages

Releasing packages is handled by changeset. Please create changeset log for every your work.

pnpm changeset

Once, the PR is merged into main with changeset log created, the package will be released by Github Actions with changeset automatically.