New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mapbox-gl-vue

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mapbox-gl-vue - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

2

package.json
{
"name": "mapbox-gl-vue",
"version": "1.4.1",
"version": "1.4.2",
"description": "A Vue.js component for Mapbox GL js",

@@ -5,0 +5,0 @@ "main": "dist/Mapbox.js",

@@ -83,2 +83,4 @@ # Mapbox GL JS Vue.js

mapOptions.container will default to 'map' (giving the container and id of 'map'). If you want to change this or use multiple map components on the same page simply set mapOptions.container.
---

@@ -238,3 +240,3 @@

Popups can be a little tricky if you are trying to use Vue directives inside the popup content. This is because the popups are added to the DOM by Mapbox and not compiled by Vue. To get around this you can use extend Vue to create a new Component and then mount that to the popup. Below is an example:
Popups can be a little tricky if you are trying to use Vue directives inside the popup content. This is because the popups are added to the DOM by Mapbox and not compiled by Vue. To get around this you can extend Vue to create a new Component and then mount that to the popup. Below is an example:

@@ -327,2 +329,3 @@ Main js file:

```
The `popupContent` component can also be extracted to a separate .vue file to clean things up.

@@ -329,0 +332,0 @@ ## Support

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc