mapvue icon indicating copy to clipboard operation
mapvue copied to clipboard

A well-packaged MapboxGL component library for Vue3. 🗺️

Results 4 mapvue issues
Sort by recently updated
recently updated
newest added

Following the [mapbox tutorial here](https://docs.mapbox.com/mapbox-gl-js/example/animate-camera-around-point/) the following code doesn't work: ``` rotateCamera(timestamp) { this.$refs.map.map.rotateTo((timestamp / 100) % 360, { duration: 0 }) requestAnimationFrame(this.rotateCamera) } ``` error ``` [Vue warn]: Unhandled...

`@click` events do not trigger any callback within mapbox `` components. Only `` elements seems to work. I'm using Vue 3 + Vuetify. Any ideas why?

map.addControl( new MapboxLanguage({ defaultLanguage:'zh-Hans', }) ); addControl(new MapboxDraw({}))是有效的,但是MapboxLanguage就无效,没明白原因,考虑到style有影响,找到没用mapvue的例子 style一样是有生效的。

import MapboxLanguage from '@mapbox/mapbox-gl-language' const accessToken = 'pk.eyJ1IjoiZnNlZmRmc2dlZCIsImEiOiJjbTFyaXRwNmQwNGRtMmtyMThyZ3l3MW9nIn0.GEgecNKNU3orJIRfszpjoA' const mapOptions = ref({ style: 'mapbox://styles/mapbox/streets-v12', center: [121.9, 29.9], // 地图初始中心点 zoom: 10, // 缩放级别 }) const center = ref([121.906022, 29.890222]) const...