open-index/open-npm huggingface dataset:
npm package: @schuelerkarriere/simple-map
Description: A simple to use [mapbox](https://www.mapbox.com/) wrapper written for [schuelerkarriere.de](https://schuelerkarriere.de).
Latest version: 0.2.1

# @schuelerkarriere/simple-map

A simple to use [mapbox](https://www.mapbox.com/) wrapper written for [schuelerkarriere.de](https://schuelerkarriere.de).

## Install

```bash
yarn add mapbox-gl @schuelerkarriere/simple-map
```

## Map with Markers

```vue
<template>
  <sk-map-with-marker access-token="token" :markers="markers" :mapbox-promise="mapboxPromise"></sk-map-with-marker>
</template>

<script>
import { SkMapWithMarker } from '@schuelerkarriere/simple-map';

export default {
  components: { SkMapWithMarker },
  data: () => ({
    markers: [
      {           // [Longitude, Latitude]
        coordinates: [9.735603, 52.373920],
        title: "Hannover" // Optional
      },
    ],
    mapboxPromise: () => import('mapbox-gl')
  })
}
</script>
```