반응형 drag1 maplibreGl 드래그 이벤트 구현 const { data: { rows: levelDatas = \[\] } = {} } = await this.$axios.get('/api', { params: { facilityId: this.facility.\_id, indoor: 'level', }, }) this.levelDatas = levelDatas this.map.addSource('facility-level', { type: 'geojson', data: turfFeatureCollection(levelDatas), // generateId: true, promoteId: 'level', }) this.map.addLayer({ id: 'facility-le.. 2023. 3. 10. 이전 1 다음 반응형