@tileflow/svelte
v0.1.0-alpha.9
Published
Svelte component for rendering Tileflow maps with MapLibre.
Maintainers
Readme
@tileflow/svelte
Svelte component for rendering Tileflow maps with MapLibre.
Install maplibre-gl alongside the package and import its CSS once in your app.
<script lang="ts">
import {TileflowMap} from '@tileflow/svelte';
import 'maplibre-gl/dist/maplibre-gl.css';
</script>
<TileflowMap map="madrid" center={[-3.7038, 40.4168]} zoom={12} />Docs: https://tileflow.dev/docs
