An open API service indexing awesome lists of open source software.

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 ๐Ÿš€

Awesome Lists containing this project

README

          

# Svelte MapLibre GL

![NPM Version](https://img.shields.io/npm/v/svelte-maplibre-gl)
![NPM License](https://img.shields.io/npm/l/svelte-maplibre-gl?color=96C902)

: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 supported

License: MIT or Apache 2.0

hero image

## 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.