File tree Expand file tree Collapse file tree 3 files changed +17
-5
lines changed
Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 11<script lang="ts" setup>
22import { computed } from ' vue' ;
3- import { useMapbox } from ' @libs/composables' ;
4- import GeolocateControls from ' @libs/components/GeolocateControls.vue' ;
5- import Mapbox from ' @libs/components/Mapbox.vue' ;
3+ import {
4+ GeolocateControls ,
5+ Mapbox ,
6+ useMapbox ,
7+ type MapOptions ,
8+ } from ' vue3-maplibre-gl' ;
69import ' vue3-maplibre-gl/dist/style.css' ;
710
8- const options = computed (() => ({
11+ const options = computed < MapOptions > (() => ({
912 container: ' map' ,
1013 style: ' https://worldwidemaps.sqkii.com/api/maps/purple/style.json' ,
1114 center: [103.8198 , 1.3521 ],
Original file line number Diff line number Diff line change 7070 "dependencies" : {
7171 "maplibre-gl" : " ^5.6.1" ,
7272 "vue" : " ^3.5.17" ,
73- "vue3-maplibre-gl" : " ^3.2.0 "
73+ "vue3-maplibre-gl" : " ^3.2.1 "
7474 },
7575 "peerDependencies" : {
7676 "vue" : " ^3.0.0"
Original file line number Diff line number Diff line change @@ -3261,6 +3261,15 @@ vue3-maplibre-gl@^3.2.0:
32613261 maplibre-gl "^4.3.2"
32623262 vue "^3.4.27"
32633263
3264+ vue3-maplibre-gl@^3.2.1 :
3265+ version "3.2.1"
3266+ resolved "https://registry.yarnpkg.com/vue3-maplibre-gl/-/vue3-maplibre-gl-3.2.1.tgz#a194d454682ad2b4d3d22231c0be9adcdc210700"
3267+ integrity sha512-ZNTak3OUraIhg1ZDmHePSzaDzmJJ0taOqQsTi5qhbb83vup8M/zxnO5AvDs3YscJcSV99uW2aIng3mVVw4YCrw==
3268+ dependencies :
3269+ maplibre-gl "^5.6.1"
3270+ vue "^3.5.17"
3271+ vue3-maplibre-gl "^3.2.0"
3272+
32643273vue@^3.4.27, vue@^3.5.13, vue@^3.5.17 :
32653274 version "3.5.17"
32663275 resolved "https://registry.yarnpkg.com/vue/-/vue-3.5.17.tgz#ea8a6a45abb2b0620e7d479319ce8434b55650cf"
You can’t perform that action at this time.
0 commit comments