Socket
Socket
Sign inDemoInstall

@studiometa/vue-mapbox-gl

Package Overview
Dependencies
164
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @studiometa/vue-mapbox-gl

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


Version published
Weekly downloads
2.2K
decreased by-5.37%
Maintainers
1
Created
Weekly downloads
 

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 for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • 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