Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

@studiometa/vue-mapbox-gl

Package Overview
Dependencies
0
Maintainers
1
Versions
30
Issues
File Explorer

Advanced tools

@studiometa/vue-mapbox-gl

A small components library to use Mapbox GL in Vue 3.

    2.0.4latest
    GitHub

Version published
Maintainers
1
Weekly downloads
945
decreased by-45.56%

Weekly downloads

Changelog

Source

v2.0.4 (2023-01-11)

Fixed

  • Fix a bug where controls could be accessed before being added to the map (eefaee2, fix #77)
  • Fix doc regarding access token (#78, fix #67)

Readme

Source

🗺 Vue 3 Mapbox GL

NPM Version

A small components library to use Mapbox GL in Vue 3 app.

Installation & usage

Have a look at the small guide for information on how to setup a simple map.

Components

The following components are available:

ComponentDescriptionDoc.
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
MapboxPopupDisplay a popup on the map
MapboxSourceLoad a source of data to be used on the map

Contributing

Installation

# Clone the project git clone git@github.com:studiometa/vue-mapbox-gl.git # Cd in the repository cd vue-mapbox-gl # Install dependencies npm i

Useful commands

# Build for deployment npm run build # Test before deployment npm run test # Lint files npm run lint # Fix linting errors npm run fix

Note

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

FAQs

Last updated on 11 Jan 2023

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc