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: about 18 hours 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-05-01T12:30:21.000Z (5 months ago)
- Last Synced: 2025-05-16T02:52:43.354Z (5 months ago)
- Topics: data-visualization, map, maplibre, maps, svelte, svelte-components, visualization
- Language: Svelte
- Homepage: https://svelte-maplibre-gl.mierune.dev
- Size: 1.42 MB
- Stars: 163
- Watchers: 6
- Forks: 5
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE.txt
Awesome Lists containing this project
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.