Skip to content

Introduction

The package @studiometa/vue-mapbox-gl is a library of Vue 3 components to facilitate usage of mapbox-gl in Vue applications.

It exports a set of components mapped to Mapbox GL main features as well as some premade advanced components (cluster, store locator).

Components

Check the detailed documentation on each components for a more advanced usage:

ComponentDescription
MapboxMapDisplay a map with the given style.
MapboxMarkerDisplay a simple or custom marker.
MapboxClusterDisplay a GeoJSON as clusters.
MapboxGeocoderDisplay a geocoder search input with the @mapbox/mapbox-gl-geocoder plugin.
MapboxImageLoad an image to be used on the map.
MapboxImagesLoad multiple images to be used on the map.
MapboxLayerDisplay a layer on the map.
MapboxNavigationControlDisplay the map's navigation controls
MapboxGeolocateControlDisplay the map's geolocation control
MapboxPopupDisplay a popup on the map
MapboxSourceLoad a source of data to be used on the map
StoreLocatorEasily create a Store Locator

Note

This project is a rewrite of a fork of openearth/vue2mapbox-gl and is published under the GNU GPL 3 license.

Released under the GPL 3.0 License.