
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
maxar-vue-maps
Advanced tools
A Vue.js library for interactive map APIs.
The Mapbox components require some instance of mapboxgl
. If you're using the components in a Vue.js application, you can use Mapbox as a plugin (see an example of this in src/main.js
).
If that's not available to you, you can include Mapbox GL JS from the CDN. The components will look first for a Vue prototype $mapboxgl
. If that is unavailable, they will look for a window.mapboxgl
.
For Mapbox GL JS to work, you need a Mapbox access token. You can provide that in the demo app by creating a .env.local
file in the root of the directory and setting VUE_APP_MAPBOX_TOKEN
to your token.
For some projects, we may want to allow users to access the map
object from Mapbox, so MapboxMap
and ScrollyMap
both set window.GLOBAL_MAP_VAR
on map load. TODO: make this opt in as a toggle in the component.
npm install
There's a demo application at src/App.vue
which gives use case examples. To view it:
npm run serve
The build process targets a library and does not inline Vue.js.
npm run build
npm run test
npm run lint
FAQs
Vue.js library for interactive map APIs
The npm package maxar-vue-maps receives a total of 32 weekly downloads. As such, maxar-vue-maps popularity was classified as not popular.
We found that maxar-vue-maps demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.