1.28.0 • Published 2 years ago

@wmfs/quasar-map-mapbox v1.28.0

Weekly downloads
55
License
MIT
Repository
github
Last release
2 years ago

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

1.26.0

2 years ago

1.27.0

2 years ago

1.26.1

2 years ago

1.28.0

2 years ago

1.25.1

3 years ago

1.25.0

3 years ago

1.24.0

3 years ago

1.23.0

3 years ago

1.22.0

3 years ago

1.22.1

3 years ago

1.21.0

3 years ago

1.20.1

4 years ago

1.20.0

4 years ago

1.19.0

4 years ago

1.18.1

4 years ago

1.18.0

4 years ago

1.17.0

4 years ago

1.16.0

4 years ago

1.15.0

4 years ago

1.14.1

4 years ago

1.14.0

4 years ago

1.13.0

4 years ago

1.12.0

4 years ago

1.11.0

4 years ago

1.10.0

4 years ago

1.9.0

5 years ago

1.8.0

5 years ago

1.7.0

5 years ago

1.6.0

5 years ago

1.5.1

5 years ago

1.5.0

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago