Socket
Socket
Sign inDemoInstall

@wmfs/quasar-map-mapbox

Package Overview
Dependencies
59
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @wmfs/quasar-map-mapbox

MapBox wrapped as a Quasar component


Version published
Weekly downloads
3
decreased by-85.71%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

quasar-map-mapbox

Tymly Cardscript CircleCI npm (scoped) Dependabot badge Commitizen friendly JavaScript Style Guide license

MapBox wrapped as a Quasar Component

Install

$ npm install @wmfs/quasar-map-mapbox --save

Usage

<template>
  <q-map
    centre-latitude=...  // initial centre
    centre-longitude=... 
    :locked=true|false   // whether the map can be panned and clicked 
    >
    <q-map-circle
      latitude=...  // marker position
      longitude=... 
      color=...  // optional
      id=...     // optional
      :locked=true|false // whether this marker can be dragged and moved around 
  </q-map>
</template>
<script>
import QMap from '@wmfs/quasar-map-mapbox'

export default {
  ...
  components: { QMap, ... }
  ...
}
</script>

A map may have many markers.

All parameters are optional.

If the QMap's centre-latitude and centre-longitude are not defined, the map will attempt to centre of the mid-point of its markers.

Build

Define the MAPBOX_ACCESS_TOKEN environment variable at build time.

License

MIT

Keywords

FAQs

Last updated on 01 Nov 2022

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