Skip to content
V

@vue-leaflet/vue-leaflet

Vue 3 components for Leaflet (1.x) maps

by vue-leafletOpen source

#1137in UI Libraries
0In stores

Description

vue-leaflet is a set of Vue 3 components for building maps with Leaflet 1.x. It is the Vue 3 successor to Vue2Leaflet, and most component pr…

Highlights

  • Vue 3 components for Leaflet 1.x
  • Markers, popups, tooltips, shapes and GeoJSON layers
  • Tile and WMS tile layers
  • Attribution, layers, scale and zoom controls
  • SSR-compatible with async Leaflet imports

Ratings & Reviews

No ratings yet

Be the first to rate @vue-leaflet/vue-leaflet.

People also visit

V

vue3-openlayers

Vue 3 components to work with OpenLayers

UI Libraries
Launch
I

@indoorequal/vue-maplibre-gl

Vue 3 plugin for maplibre-gl

UI Libraries
Launch
V

vue-maplibre-gl

Vue 3.x wrapper around Maplibre GL JS library written in TS

UI Libraries
Launch
R

react-leaflet

React components for Leaflet maps

UI Libraries
Launch
R

react-leaflet

React components for Leaflet maps

UI Libraries
Launch
V

vue3-apexcharts

<p align="center"><img

UI Libraries
Launch

@vue-leaflet/vue-leaflet FAQ

What is vue-leaflet?

A library of Vue 3 components that wrap Leaflet 1.x so you can build interactive maps declaratively.

Is it stable?

It is a beta version and may still be unstable. The maintainers welcome help through issues, Discord or discussions.

Does it support server-side rendering?

Yes, unlike the Vue 2 version. Leaflet itself does not support SSR, so disable useGlobalLeaflet on LMap and import Leaflet methods asynchronously in the @ready event.

Where is the documentation?

Full documentation is still in progress. Use the component playground (clone the repo and run the dev server) or the demo project for examples.

How close is it to the Leaflet API?

Most component props mimic vanilla Leaflet options and generally match their Vue2Leaflet counterparts.

What are the best @vue-leaflet/vue-leaflet alternatives?

Popular alternatives to @vue-leaflet/vue-leaflet include vue3-openlayers, @indoorequal/vue-maplibre-gl and vue-maplibre-gl. See all @vue-leaflet/vue-leaflet alternatives

Developer Stuff

Badges