Open
Description
Hello everyone,
how I can I get access to the raw MapboxGl object? Thx a lot!
<template>
<MglMap> /* some properties */> </MglMap>
</template>
<script>
import { Mapbox } from "mapbox-gl"
import { MglMap } from "vue-mapbox"
export default {
name: "MapComponent",
components: {
MglMap
},
created() {
console.log(Mapbox.getCenter()) // does not work: Mapbox is undefined
}
}
</script>
Metadata
Metadata
Assignees
Labels
No labels