https://github.com/MIERUNE/svelte-maplibre-gl
Svelte 5 wrapper for ๐บ MapLibre GL JS โ Build interactive web maps effortlessly with Svelteโs reactive and declarative power ๐
https://github.com/MIERUNE/svelte-maplibre-gl
data-visualization map maplibre maps svelte svelte-components visualization
Last synced: 20 days ago
JSON representation
Svelte 5 wrapper for ๐บ MapLibre GL JS โ Build interactive web maps effortlessly with Svelteโs reactive and declarative power ๐
- Host: GitHub
- URL: https://github.com/MIERUNE/svelte-maplibre-gl
- Owner: MIERUNE
- License: apache-2.0
- Created: 2024-10-31T03:58:06.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-25T15:47:56.000Z (about 1 month ago)
- Last Synced: 2025-09-05T04:49:09.729Z (30 days ago)
- Topics: data-visualization, map, maplibre, maps, svelte, svelte-components, visualization
- Language: Svelte
- Homepage: https://svelte-maplibre-gl.mierune.dev
- Size: 1.46 MB
- Stars: 206
- Watchers: 8
- Forks: 7
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE.txt
Awesome Lists containing this project
- awesome-maplibre - svelte-maplibre-gl - Svelte (v5) component wrapping MapLibre GL JS to provide declarative handling of GL JS through familiar API. (Bindings / JavaScript)
README
# Svelte MapLibre GL

:world_map: Build interactive web maps effortlessly with [MapLibre GL JS](https://maplibre.org/maplibre-gl-js/docs/) and [Svelte](https://svelte.dev/).
:point_right: **Documentaion and Live Demos:** https://svelte-maplibre-gl.mierune.dev/examples/
**Features:**
- The most declarative and reactive MapLibre GL JS experience, powered by Svelte 5
- A flexible, minimally opinionated API design that is suitable for both beginners and experienced MapLibre users
- Freedom preserved โ Traditional imperative MapLibre GL JS usage remains fully supportedLicense: MIT or Apache 2.0
## Installation
```bash
npm install --save-dev svelte-maplibre-gl
````svelte-maplibre-gl` only works with **Svelte 5** and above.
## License
Licensed under the [MIT License](./LICENSE-MIT.txt) or the [Apache License 2.0](./LICENSE-APACHE.txt), at your option.
## Acknowledgements
This project `svelte-maplibre-gl` is built from scratch, while drawing strong inspiration from the work of the following libraries:
- [`dimfeld/svelte-maplibre`](https://github.com/dimfeld/svelte-maplibre) โ A library offering idiomatic Svelte support for the MapLibre GL mapping software
- [`visgl/react-map-gl`](https://github.com/visgl/react-map-gl) โ React friendly API wrapper around Mapbox/MapLibre GL JS## Contributing
Everyone is welcome to contribute to this project! There are many ways to support it, such as:
- Trying it out and reporting any issues or missing features
- Expanding, improving, or suggesting new examples
- Any other ideas you might have!Your contributions are greatly appreciated.
### Authors
[All contributors](https://github.com/MIERUNE/svelte-maplibre-gl/graphs/contributors)!
Supported by MIERUNE Inc.