vue3-maplibre-gl 3.2.0 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/README.md +274 -27
  2. package/dist/components/CircleLayer.vue.d.ts +98 -0
  3. package/dist/components/CircleLayer.vue.d.ts.map +1 -0
  4. package/dist/components/FillLayer.vue.d.ts +87 -0
  5. package/dist/components/FillLayer.vue.d.ts.map +1 -0
  6. package/dist/components/GeoJsonSource.vue.d.ts +112 -0
  7. package/dist/components/GeoJsonSource.vue.d.ts.map +1 -0
  8. package/dist/components/GeolocateControls.vue.d.ts +98 -0
  9. package/dist/components/GeolocateControls.vue.d.ts.map +1 -0
  10. package/dist/components/Image.vue.d.ts +66 -0
  11. package/dist/components/Image.vue.d.ts.map +1 -0
  12. package/dist/components/LineLayer.vue.d.ts +87 -0
  13. package/dist/components/LineLayer.vue.d.ts.map +1 -0
  14. package/dist/components/Mapbox.vue.d.ts +213 -0
  15. package/dist/components/Mapbox.vue.d.ts.map +1 -0
  16. package/dist/components/Marker.vue.d.ts +80 -0
  17. package/dist/components/Marker.vue.d.ts.map +1 -0
  18. package/dist/components/PopUp.vue.d.ts +83 -0
  19. package/dist/components/PopUp.vue.d.ts.map +1 -0
  20. package/dist/components/SymbolLayer.vue.d.ts +87 -0
  21. package/dist/components/SymbolLayer.vue.d.ts.map +1 -0
  22. package/dist/components/index.d.ts +11 -0
  23. package/dist/components/index.d.ts.map +1 -0
  24. package/dist/components-CwXC2MaG.js +1217 -0
  25. package/dist/components-CwXC2MaG.js.map +1 -0
  26. package/dist/components.css +1 -0
  27. package/dist/composables/control/index.d.ts +2 -0
  28. package/dist/composables/control/index.d.ts.map +1 -0
  29. package/dist/composables/control/useGeolocateControl.d.ts +27 -0
  30. package/dist/composables/control/useGeolocateControl.d.ts.map +1 -0
  31. package/dist/composables/event/index.d.ts +5 -0
  32. package/dist/composables/event/index.d.ts.map +1 -0
  33. package/dist/composables/event/useGeolocateEventListener.d.ts +35 -0
  34. package/dist/composables/event/useGeolocateEventListener.d.ts.map +1 -0
  35. package/dist/composables/event/useLayerEventListener.d.ts +37 -0
  36. package/dist/composables/event/useLayerEventListener.d.ts.map +1 -0
  37. package/dist/composables/event/useMapEventListener.d.ts +35 -0
  38. package/dist/composables/event/useMapEventListener.d.ts.map +1 -0
  39. package/dist/composables/event/useMapReloadEvent.d.ts +51 -0
  40. package/dist/composables/event/useMapReloadEvent.d.ts.map +1 -0
  41. package/dist/composables/index.d.ts +7 -0
  42. package/dist/composables/index.d.ts.map +1 -0
  43. package/dist/composables/layers/index.d.ts +6 -0
  44. package/dist/composables/layers/index.d.ts.map +1 -0
  45. package/dist/composables/layers/useCreateCircleLayer.d.ts +39 -0
  46. package/dist/composables/layers/useCreateCircleLayer.d.ts.map +1 -0
  47. package/dist/composables/layers/useCreateFillLayer.d.ts +39 -0
  48. package/dist/composables/layers/useCreateFillLayer.d.ts.map +1 -0
  49. package/dist/composables/layers/useCreateLayer.d.ts +50 -0
  50. package/dist/composables/layers/useCreateLayer.d.ts.map +1 -0
  51. package/dist/composables/layers/useCreateLineLayer.d.ts +45 -0
  52. package/dist/composables/layers/useCreateLineLayer.d.ts.map +1 -0
  53. package/dist/composables/layers/useCreateSymbolLayer.d.ts +55 -0
  54. package/dist/composables/layers/useCreateSymbolLayer.d.ts.map +1 -0
  55. package/dist/composables/map/index.d.ts +8 -0
  56. package/dist/composables/map/index.d.ts.map +1 -0
  57. package/dist/composables/map/useCreateImage.d.ts +41 -0
  58. package/dist/composables/map/useCreateImage.d.ts.map +1 -0
  59. package/dist/composables/map/useCreateMapbox.d.ts +54 -0
  60. package/dist/composables/map/useCreateMapbox.d.ts.map +1 -0
  61. package/dist/composables/map/useCreateMarker.d.ts +61 -0
  62. package/dist/composables/map/useCreateMarker.d.ts.map +1 -0
  63. package/dist/composables/map/useCreatePopup.d.ts +66 -0
  64. package/dist/composables/map/useCreatePopup.d.ts.map +1 -0
  65. package/dist/composables/map/useGeoJsonSource.d.ts +43 -0
  66. package/dist/composables/map/useGeoJsonSource.d.ts.map +1 -0
  67. package/dist/composables/map/useLayer.d.ts +48 -0
  68. package/dist/composables/map/useLayer.d.ts.map +1 -0
  69. package/dist/composables/map/useMapbox.d.ts +41 -0
  70. package/dist/composables/map/useMapbox.d.ts.map +1 -0
  71. package/dist/composables/sources/index.d.ts +2 -0
  72. package/dist/composables/sources/index.d.ts.map +1 -0
  73. package/dist/composables/sources/useCreateGeoJsonSource.d.ts +40 -0
  74. package/dist/composables/sources/useCreateGeoJsonSource.d.ts.map +1 -0
  75. package/dist/composables/utils/index.d.ts +12 -0
  76. package/dist/composables/utils/index.d.ts.map +1 -0
  77. package/dist/composables/utils/useBounds.d.ts +59 -0
  78. package/dist/composables/utils/useBounds.d.ts.map +1 -0
  79. package/dist/composables/utils/useDebounce.d.ts +57 -0
  80. package/dist/composables/utils/useDebounce.d.ts.map +1 -0
  81. package/dist/composables/utils/useEaseTo.d.ts +39 -0
  82. package/dist/composables/utils/useEaseTo.d.ts.map +1 -0
  83. package/dist/composables/utils/useFitScreenCoordinates.d.ts +57 -0
  84. package/dist/composables/utils/useFitScreenCoordinates.d.ts.map +1 -0
  85. package/dist/composables/utils/useFlyTo.d.ts +40 -0
  86. package/dist/composables/utils/useFlyTo.d.ts.map +1 -0
  87. package/dist/composables/utils/useJumpTo.d.ts +47 -0
  88. package/dist/composables/utils/useJumpTo.d.ts.map +1 -0
  89. package/dist/composables/utils/useLogger.d.ts +6 -0
  90. package/dist/composables/utils/useLogger.d.ts.map +1 -0
  91. package/dist/composables/utils/useOptimizedComputed.d.ts +65 -0
  92. package/dist/composables/utils/useOptimizedComputed.d.ts.map +1 -0
  93. package/dist/composables/utils/usePan.d.ts +80 -0
  94. package/dist/composables/utils/usePan.d.ts.map +1 -0
  95. package/dist/composables/utils/useRotate.d.ts +120 -0
  96. package/dist/composables/utils/useRotate.d.ts.map +1 -0
  97. package/dist/composables/utils/useZoom.d.ts +106 -0
  98. package/dist/composables/utils/useZoom.d.ts.map +1 -0
  99. package/dist/composables-BFBL0Id8.js +5767 -0
  100. package/dist/composables-BFBL0Id8.js.map +1 -0
  101. package/dist/enums/MapProvideKey.d.ts +7 -0
  102. package/dist/enums/MapProvideKey.d.ts.map +1 -0
  103. package/dist/enums/MapboxEnum.d.ts +13 -0
  104. package/dist/enums/MapboxEnum.d.ts.map +1 -0
  105. package/dist/enums/MapboxLayerEnum.d.ts +4 -0
  106. package/dist/enums/MapboxLayerEnum.d.ts.map +1 -0
  107. package/dist/enums/index.d.ts +4 -0
  108. package/dist/enums/index.d.ts.map +1 -0
  109. package/dist/helpers/index.d.ts +9 -0
  110. package/dist/helpers/index.d.ts.map +1 -0
  111. package/dist/index.d.ts +8 -2816
  112. package/dist/index.d.ts.map +1 -0
  113. package/dist/index.js +114 -24674
  114. package/dist/index.js.map +1 -1
  115. package/dist/index.umd.cjs +1 -581
  116. package/dist/index.umd.cjs.map +1 -1
  117. package/dist/types/index.d.ts +236 -0
  118. package/dist/types/index.d.ts.map +1 -0
  119. package/package.json +18 -7
  120. package/dist/style.css +0 -1
package/README.md CHANGED
@@ -1,19 +1,21 @@
1
- # Vue MapLibre GL
1
+ # Vue3 MapLibre GL
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/vue3-maplibre-gl)](https://www.npmjs.com/package/vue3-maplibre-gl) [![Downloads](https://img.shields.io/npm/dt/vue3-maplibre-gl)](https://www.npmjs.com/package/vue3-maplibre-gl) [![Stars](https://img.shields.io/github/stars/danh121097/vue-mapbox-gl?style=flat-square)](https://github.com/danh121097/vue-mapbox-gl/stargazers) [![License](https://img.shields.io/npm/l/vue3-maplibre-gl)](https://github.com/danh121097/vue-mapbox-gl/blob/main/LICENSE)
4
4
 
5
- > Vue 3 components and composables for MapLibre GL JS - Build interactive maps with ease
5
+ > **The most comprehensive Vue 3 library for MapLibre GL JS** - Build interactive maps with 10+ components and 15+ composables
6
6
 
7
- A comprehensive Vue 3 component library for MapLibre GL JS that provides an intuitive, reactive way to build interactive maps in your Vue applications.
7
+ A powerful, feature-rich Vue 3 component library that provides an intuitive, reactive way to build interactive maps in your Vue applications using MapLibre GL JS.
8
8
 
9
9
  ## ✨ Features
10
10
 
11
- - 🗺️ **Interactive Maps** - Create beautiful, interactive maps with MapLibre GL JS
12
- - 🧩 **Component-Based** - Use Vue components for markers, layers, controls, and more
13
- - 🎯 **TypeScript Support** - Full TypeScript support with comprehensive type definitions
14
- - 🚀 **Performance** - Optimized for performance with efficient rendering
15
- - 🔧 **Composables** - Powerful composables for map interactions and state management
16
- - 📱 **Responsive** - Mobile-friendly maps that work across all devices
11
+ - 🗺️ **Interactive Maps** - High-performance vector maps with WebGL rendering
12
+ - 🧩 **10+ Vue Components** - Mapbox, GeoJsonSource, FillLayer, CircleLayer, LineLayer, SymbolLayer, Marker, PopUp, Image, GeolocateControls
13
+ - 🔧 **15+ Composables** - Complete map management, animations, events, and utilities
14
+ - 🎯 **Full TypeScript Support** - Comprehensive type definitions and interfaces
15
+ - **High Performance** - Optimized rendering with automatic resource cleanup
16
+ - 📱 **Mobile-Friendly** - Touch controls and responsive design for all devices
17
+ - 🌐 **Self-Contained** - Bundled CSS and automatic dependency management
18
+ - 🔄 **Reactive Data Binding** - Seamless integration with Vue 3's reactivity system
17
19
 
18
20
  ## 📦 Installation
19
21
 
@@ -39,32 +41,237 @@ pnpm add vue3-maplibre-gl
39
41
 
40
42
  ```vue
41
43
  <template>
42
- <MapLibreMap
43
- :map-style="mapStyle"
44
- :center="[0, 0]"
45
- :zoom="2"
46
- style="height: 400px"
47
- >
48
- <MapLibreMarker :lng-lat="[0, 0]">
44
+ <Mapbox :options="mapOptions" style="height: 500px" @load="onMapLoad">
45
+ <!-- GeoJSON Data Source -->
46
+ <GeoJsonSource :data="geoJsonData">
47
+ <FillLayer :style="fillStyle" />
48
+ <CircleLayer :style="circleStyle" />
49
+ </GeoJsonSource>
50
+
51
+ <!-- Interactive Marker -->
52
+ <Marker :lnglat="[0, 0]" :draggable="true">
49
53
  <div class="marker">📍</div>
50
- </MapLibreMarker>
51
- </MapLibreMap>
54
+ </Marker>
55
+
56
+ <!-- Popup -->
57
+ <PopUp :lnglat="[0, 0]" :show="true">
58
+ <div class="popup-content">
59
+ <h3>Welcome to Vue3 MapLibre GL!</h3>
60
+ <p>Interactive maps made easy with Vue 3</p>
61
+ </div>
62
+ </PopUp>
63
+
64
+ <!-- Geolocation Control -->
65
+ <GeolocateControls position="top-right" />
66
+ </Mapbox>
52
67
  </template>
53
68
 
54
69
  <script setup>
55
- import { MapLibreMap, MapLibreMarker } from 'vue3-maplibre-gl';
70
+ import { ref } from 'vue';
71
+ import {
72
+ Mapbox,
73
+ GeoJsonSource,
74
+ FillLayer,
75
+ CircleLayer,
76
+ Marker,
77
+ PopUp,
78
+ GeolocateControls,
79
+ } from 'vue3-maplibre-gl';
56
80
  import 'vue3-maplibre-gl/dist/style.css';
57
81
 
58
- const mapStyle = 'https://demotiles.maplibre.org/style.json';
82
+ const mapOptions = ref({
83
+ style: 'https://demotiles.maplibre.org/style.json',
84
+ center: [0, 0],
85
+ zoom: 2,
86
+ });
87
+
88
+ const geoJsonData = ref({
89
+ type: 'FeatureCollection',
90
+ features: [
91
+ {
92
+ type: 'Feature',
93
+ geometry: { type: 'Point', coordinates: [0, 0] },
94
+ properties: { name: 'Sample Point' },
95
+ },
96
+ ],
97
+ });
98
+
99
+ const fillStyle = ref({
100
+ 'fill-color': '#088',
101
+ 'fill-opacity': 0.8,
102
+ });
103
+
104
+ const circleStyle = ref({
105
+ 'circle-radius': 6,
106
+ 'circle-color': '#007cbf',
107
+ });
108
+
109
+ function onMapLoad(map) {
110
+ console.log('Map loaded:', map);
111
+ }
112
+ </script>
113
+
114
+ <style>
115
+ .marker {
116
+ font-size: 24px;
117
+ cursor: pointer;
118
+ }
119
+
120
+ .popup-content {
121
+ padding: 10px;
122
+ max-width: 200px;
123
+ }
124
+ </style>
125
+ ```
126
+
127
+ ## 🧩 Components
128
+
129
+ Vue3 MapLibre GL provides 10+ reactive Vue components:
130
+
131
+ | Component | Description |
132
+ | --------------------- | ------------------------------------------------------------- |
133
+ | **Mapbox** | Main map container with comprehensive event handling |
134
+ | **GeoJsonSource** | Reactive data source for GeoJSON data with clustering support |
135
+ | **FillLayer** | Render filled polygons with customizable styling |
136
+ | **CircleLayer** | Display point data as circles with dynamic sizing |
137
+ | **LineLayer** | Render linear features like routes and boundaries |
138
+ | **SymbolLayer** | Display icons and text labels |
139
+ | **Marker** | HTML markers with drag support and custom content |
140
+ | **PopUp** | Interactive popup windows with custom HTML |
141
+ | **Image** | Manage and load images for map styles |
142
+ | **GeolocateControls** | User location tracking with comprehensive events |
143
+
144
+ ## 🔧 Composables
145
+
146
+ 15+ powerful composables for advanced map functionality:
147
+
148
+ ### Map Management
149
+
150
+ - `useCreateMapbox` - Enhanced map creation with error handling
151
+ - `useMapbox` - Simplified map state management
152
+
153
+ ### Layer Management
154
+
155
+ - `useCreateFillLayer` - Fill layer creation and management
156
+ - `useCreateCircleLayer` - Circle layer for point visualization
157
+ - `useCreateLineLayer` - Line layer for linear features
158
+ - `useCreateSymbolLayer` - Symbol layer for icons and text
159
+
160
+ ### Source Management
161
+
162
+ - `useCreateGeoJsonSource` - GeoJSON source with reactive data
163
+ - `useGeoJsonSource` - Simplified source management
164
+
165
+ ### Controls
166
+
167
+ - `useGeolocateControl` - User location tracking
168
+
169
+ ### Events
170
+
171
+ - `useMapEventListener` - Map event handling
172
+ - `useLayerEventListener` - Layer-specific events
173
+
174
+ ### Utilities
175
+
176
+ - `useFlyTo` - Smooth map animations
177
+ - `useEaseTo` - Easing animations
178
+ - `useJumpTo` - Instant position changes
179
+ - `useBounds` - Bounds management
180
+ - `useZoom` - Zoom controls
181
+ - `useLogger` - Consistent logging
182
+
183
+ ## 🎯 TypeScript Support
184
+
185
+ Vue3 MapLibre GL includes comprehensive TypeScript support:
186
+
187
+ ```typescript
188
+ import { ref } from 'vue';
189
+ import {
190
+ Mapbox,
191
+ GeoJsonSource,
192
+ FillLayer,
193
+ type MapboxProps,
194
+ type FillLayerStyle,
195
+ type GeoJSONSourceSpecification,
196
+ } from 'vue3-maplibre-gl';
197
+
198
+ const mapOptions = ref<MapboxProps['options']>({
199
+ style: 'https://demotiles.maplibre.org/style.json',
200
+ center: [0, 0],
201
+ zoom: 2,
202
+ });
203
+
204
+ const fillStyle = ref<FillLayerStyle>({
205
+ 'fill-color': '#088',
206
+ 'fill-opacity': 0.8,
207
+ });
208
+
209
+ const geoJsonData = ref<GeoJSONSourceSpecification['data']>({
210
+ type: 'FeatureCollection',
211
+ features: [],
212
+ });
213
+ ```
214
+
215
+ ## 🌟 Advanced Example with Composables
216
+
217
+ ```vue
218
+ <script setup>
219
+ import { ref } from 'vue';
220
+ import {
221
+ useCreateMapbox,
222
+ useFlyTo,
223
+ useMapEventListener,
224
+ useCreateGeoJsonSource,
225
+ } from 'vue3-maplibre-gl';
226
+
227
+ const mapContainer = ref();
228
+ const mapStyle = ref('https://demotiles.maplibre.org/style.json');
229
+
230
+ // Create map with enhanced error handling
231
+ const { mapInstance, setCenter, setZoom } = useCreateMapbox(
232
+ mapContainer,
233
+ mapStyle,
234
+ {
235
+ onLoad: (map) => console.log('Map loaded:', map),
236
+ onError: (error) => console.error('Map error:', error),
237
+ debug: true,
238
+ },
239
+ );
240
+
241
+ // Add smooth animations
242
+ const { flyTo } = useFlyTo({ map: mapInstance });
243
+
244
+ // Create reactive data source
245
+ const { setData } = useCreateGeoJsonSource({
246
+ map: mapInstance,
247
+ id: 'my-source',
248
+ data: { type: 'FeatureCollection', features: [] },
249
+ });
250
+
251
+ // Listen to map events
252
+ useMapEventListener({
253
+ map: mapInstance,
254
+ event: 'click',
255
+ handler: (event) => {
256
+ flyTo({
257
+ center: event.lngLat,
258
+ zoom: 12,
259
+ duration: 2000,
260
+ });
261
+ },
262
+ });
59
263
  </script>
60
264
  ```
61
265
 
62
266
  ## 📚 Documentation
63
267
 
64
- - **[Getting Started](https://danh121097.github.io/vue-mapbox-gl/guide/getting-started)** - Learn the basics
268
+ - **[Getting Started](https://danh121097.github.io/vue-mapbox-gl/guide/getting-started)** - Learn the basics and see examples
65
269
  - **[Installation Guide](https://danh121097.github.io/vue-mapbox-gl/guide/installation)** - Detailed setup instructions
66
- - **[API Reference](https://danh121097.github.io/vue-mapbox-gl/api/components)** - Complete component documentation
67
- - **[Examples](https://danh121097.github.io/vue-mapbox-gl/examples/)** - Live examples and demos
270
+ - **[Configuration](https://danh121097.github.io/vue-mapbox-gl/guide/configuration)** - Advanced configuration options
271
+ - **[Components API](https://danh121097.github.io/vue-mapbox-gl/api/components)** - Complete component documentation
272
+ - **[Composables API](https://danh121097.github.io/vue-mapbox-gl/api/composables)** - Composables reference
273
+ - **[TypeScript Types](https://danh121097.github.io/vue-mapbox-gl/api/types)** - Type definitions
274
+ - **[Live Examples](https://danh121097.github.io/vue-mapbox-gl/examples/)** - Interactive demos
68
275
 
69
276
  ## 🛠️ Development
70
277
 
@@ -86,21 +293,61 @@ yarn build
86
293
  yarn docs:dev
87
294
  ```
88
295
 
296
+ ## 🌟 Why Choose Vue3 MapLibre GL?
297
+
298
+ - **🎯 Vue 3 Native** - Built specifically for Vue 3 with Composition API support
299
+ - **🗺️ MapLibre GL JS** - Uses the open-source MapLibre GL JS for high-performance rendering
300
+ - **🧩 Component-Based** - 10+ Vue components for maps, layers, sources, markers, and controls
301
+ - **🔧 Powerful Composables** - 15+ composables for map management, animations, and utilities
302
+ - **📚 Comprehensive Documentation** - Detailed guides, API references, and examples
303
+ - **⚡ High Performance** - Optimized for performance with automatic resource cleanup
304
+ - **🌐 Open Source** - MIT licensed with active community support
305
+ - **📱 Mobile Ready** - Touch-friendly controls and responsive design
306
+
89
307
  ## 🤝 Contributing
90
308
 
91
309
  Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
92
310
 
311
+ ### Development Setup
312
+
313
+ ```bash
314
+ # Clone the repository
315
+ git clone https://github.com/danh121097/vue-mapbox-gl.git
316
+ cd vue-mapbox-gl
317
+
318
+ # Install dependencies
319
+ yarn install
320
+
321
+ # Start development server
322
+ yarn dev
323
+
324
+ # Run tests
325
+ yarn test
326
+
327
+ # Build the library
328
+ yarn build
329
+
330
+ # Run documentation
331
+ yarn docs:dev
332
+ ```
333
+
93
334
  ## 📄 License
94
335
 
95
336
  This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
96
337
 
97
338
  ## 🙏 Acknowledgments
98
339
 
99
- - Built on top of [MapLibre GL JS](https://maplibre.org/maplibre-gl-js/docs/)
340
+ - Built on top of [MapLibre GL JS](https://maplibre.org/maplibre-gl-js/docs/) - The open-source mapping library
100
341
  - Inspired by the Vue.js ecosystem and community
342
+ - Thanks to all contributors and users who make this project better
101
343
 
102
344
  ## 📞 Support
103
345
 
104
- - 📖 [Documentation](https://danh121097.github.io/vue-mapbox-gl/)
105
- - 🐛 [Issues](https://github.com/danh121097/vue-mapbox-gl/issues)
106
- - 💬 [Discussions](https://github.com/danh121097/vue-mapbox-gl/discussions)
346
+ - 📖 [Documentation](https://danh121097.github.io/vue-mapbox-gl/) - Comprehensive guides and API reference
347
+ - 🐛 [Issues](https://github.com/danh121097/vue-mapbox-gl/issues) - Bug reports and feature requests
348
+ - 💬 [Discussions](https://github.com/danh121097/vue-mapbox-gl/discussions) - Community discussions and questions
349
+ - ⭐ [GitHub](https://github.com/danh121097/vue-mapbox-gl) - Star the project if you find it useful!
350
+
351
+ ---
352
+
353
+ **Made with ❤️ for the Vue.js community**
@@ -0,0 +1,98 @@
1
+ import { CreateLayerActions, CircleLayerStyle } from '../types';
2
+ import { Map, MapLayerMouseEvent, MapLayerTouchEvent, FilterSpecification, CircleLayerSpecification } from 'maplibre-gl';
3
+
4
+ /**
5
+ * Props interface for CircleLayer component
6
+ * Defines all configurable properties for a MapLibre GL Circle Layer
7
+ */
8
+ interface LayerProps {
9
+ /** Unique identifier for the layer */
10
+ id: string;
11
+ /** Filter expression to apply to the layer */
12
+ filter: FilterSpecification;
13
+ /** Style configuration for the circle layer */
14
+ style: CircleLayerStyle;
15
+ /** Maximum zoom level for layer visibility */
16
+ maxzoom: number;
17
+ /** Minimum zoom level for layer visibility */
18
+ minzoom: number;
19
+ /** Arbitrary metadata for the layer */
20
+ metadata: object;
21
+ /** Data source for the layer */
22
+ source: string | object;
23
+ /** Source layer name for vector sources */
24
+ sourceLayer: string;
25
+ /** ID of layer before which to insert this layer */
26
+ beforeId: string;
27
+ /** Whether the layer is visible */
28
+ visible: boolean;
29
+ /** Enable debug logging */
30
+ debug: boolean;
31
+ /** Callback function to register layer actions */
32
+ register: (actions: CreateLayerActions<CircleLayerSpecification>, map: Map) => void;
33
+ }
34
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<LayerProps>>, {
35
+ visible: boolean;
36
+ debug: boolean;
37
+ filter: () => FilterSpecification;
38
+ style: () => CircleLayerStyle;
39
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
40
+ touchcancel: ((ev: any) => void) & ((ev: MapLayerTouchEvent) => void);
41
+ touchend: ((ev: any) => void) & ((ev: MapLayerTouchEvent) => void);
42
+ touchstart: ((ev: any) => void) & ((ev: MapLayerTouchEvent) => void);
43
+ click: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
44
+ contextmenu: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
45
+ dblclick: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
46
+ mousemove: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
47
+ mouseup: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
48
+ mousedown: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
49
+ mouseout: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
50
+ mouseover: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
51
+ mouseenter: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
52
+ mouseleave: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
53
+ register: (actions: CreateLayerActions<CircleLayerSpecification>, map: Map) => void;
54
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<LayerProps>>, {
55
+ visible: boolean;
56
+ debug: boolean;
57
+ filter: () => FilterSpecification;
58
+ style: () => CircleLayerStyle;
59
+ }>>> & Readonly<{
60
+ onTouchcancel?: ((ev: MapLayerTouchEvent) => any) | undefined;
61
+ onTouchend?: ((ev: MapLayerTouchEvent) => any) | undefined;
62
+ onTouchstart?: ((ev: MapLayerTouchEvent) => any) | undefined;
63
+ onClick?: ((ev: MapLayerMouseEvent) => any) | undefined;
64
+ onContextmenu?: ((ev: MapLayerMouseEvent) => any) | undefined;
65
+ onDblclick?: ((ev: MapLayerMouseEvent) => any) | undefined;
66
+ onMousemove?: ((ev: MapLayerMouseEvent) => any) | undefined;
67
+ onMouseup?: ((ev: MapLayerMouseEvent) => any) | undefined;
68
+ onMousedown?: ((ev: MapLayerMouseEvent) => any) | undefined;
69
+ onMouseout?: ((ev: MapLayerMouseEvent) => any) | undefined;
70
+ onMouseover?: ((ev: MapLayerMouseEvent) => any) | undefined;
71
+ onMouseenter?: ((ev: MapLayerMouseEvent) => any) | undefined;
72
+ onMouseleave?: ((ev: MapLayerMouseEvent) => any) | undefined;
73
+ onRegister?: ((actions: CreateLayerActions<CircleLayerSpecification>, map: Map) => any) | undefined;
74
+ }>, {
75
+ visible: boolean;
76
+ filter: FilterSpecification;
77
+ debug: boolean;
78
+ style: CircleLayerStyle;
79
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
80
+ export default _default;
81
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
82
+ type __VLS_TypePropsToRuntimeProps<T> = {
83
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
84
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
85
+ } : {
86
+ type: import('vue').PropType<T[K]>;
87
+ required: true;
88
+ };
89
+ };
90
+ type __VLS_WithDefaults<P, D> = {
91
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
92
+ default: D[K];
93
+ }> : P[K];
94
+ };
95
+ type __VLS_Prettify<T> = {
96
+ [K in keyof T]: T[K];
97
+ } & {};
98
+ //# sourceMappingURL=CircleLayer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CircleLayer.vue.d.ts","sourceRoot":"","sources":["../../libs/components/CircleLayer.vue"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,kBAAkB,EAElB,gBAAgB,EACjB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACV,GAAG,EAEH,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,wBAAwB,EACzB,MAAM,aAAa,CAAC;AAIrB;;;GAGG;AACH,UAAU,UAAU;IAClB,sCAAsC;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,8CAA8C;IAC9C,MAAM,EAAE,mBAAmB,CAAC;IAC5B,+CAA+C;IAC/C,KAAK,EAAE,gBAAgB,CAAC;IACxB,8CAA8C;IAC9C,OAAO,EAAE,MAAM,CAAC;IAChB,8CAA8C;IAC9C,OAAO,EAAE,MAAM,CAAC;IAChB,uCAAuC;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,gCAAgC;IAChC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,2CAA2C;IAC3C,WAAW,EAAE,MAAM,CAAC;IACpB,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,mCAAmC;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,2BAA2B;IAC3B,KAAK,EAAE,OAAO,CAAC;IACf,kDAAkD;IAClD,QAAQ,EAAE,CACR,OAAO,EAAE,kBAAkB,CAAC,wBAAwB,CAAC,EACrD,GAAG,EAAE,GAAG,KACL,IAAI,CAAC;CACX;;;;kBAqJ0B,mBAAmB;iBACvB,gBAAgB;;;;;;;;;;;;;;;;;;;kBADZ,mBAAmB;iBACvB,gBAAgB;;;;;;;;;;;;;;;;;aA9J5B,OAAO;YAhBR,mBAAmB;WAkBpB,OAAO;WAhBP,gBAAgB;;AA+MzB,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,87 @@
1
+ import { CreateLayerActions, FillLayerStyle } from '../types';
2
+ import { Map, MapLayerMouseEvent, MapLayerTouchEvent, FilterSpecification, FillLayerSpecification } from 'maplibre-gl';
3
+
4
+ /**
5
+ * Props interface for FillLayer component
6
+ * Defines all configurable properties for a MapLibre GL Fill Layer
7
+ */
8
+ interface LayerProps {
9
+ /** Unique identifier for the layer */
10
+ id: string;
11
+ /** Filter expression to apply to the layer */
12
+ filter: FilterSpecification;
13
+ /** Style configuration for the fill layer */
14
+ style: FillLayerStyle;
15
+ /** Maximum zoom level for layer visibility */
16
+ maxzoom: number;
17
+ /** Minimum zoom level for layer visibility */
18
+ minzoom: number;
19
+ /** Arbitrary metadata for the layer */
20
+ metadata: object;
21
+ /** Data source for the layer */
22
+ source: string | object;
23
+ /** Source layer name for vector sources */
24
+ sourceLayer: string;
25
+ /** ID of layer before which to insert this layer */
26
+ beforeId: string;
27
+ /** Whether the layer is visible */
28
+ visible: boolean;
29
+ /** Callback function to register layer actions */
30
+ register: (actions: CreateLayerActions<FillLayerSpecification>, map: Map) => void;
31
+ }
32
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<LayerProps>>, {
33
+ visible: boolean;
34
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
+ touchcancel: ((ev: any) => void) & ((ev: MapLayerTouchEvent) => void);
36
+ touchend: ((ev: any) => void) & ((ev: MapLayerTouchEvent) => void);
37
+ touchstart: ((ev: any) => void) & ((ev: MapLayerTouchEvent) => void);
38
+ click: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
39
+ contextmenu: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
40
+ dblclick: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
41
+ mousemove: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
42
+ mouseup: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
43
+ mousedown: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
44
+ mouseout: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
45
+ mouseover: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
46
+ mouseenter: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
47
+ mouseleave: ((ev: any) => void) & ((ev: MapLayerMouseEvent) => void);
48
+ register: (actions: CreateLayerActions<FillLayerSpecification>, map: Map) => void;
49
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<LayerProps>>, {
50
+ visible: boolean;
51
+ }>>> & Readonly<{
52
+ onTouchcancel?: ((ev: MapLayerTouchEvent) => any) | undefined;
53
+ onTouchend?: ((ev: MapLayerTouchEvent) => any) | undefined;
54
+ onTouchstart?: ((ev: MapLayerTouchEvent) => any) | undefined;
55
+ onClick?: ((ev: MapLayerMouseEvent) => any) | undefined;
56
+ onContextmenu?: ((ev: MapLayerMouseEvent) => any) | undefined;
57
+ onDblclick?: ((ev: MapLayerMouseEvent) => any) | undefined;
58
+ onMousemove?: ((ev: MapLayerMouseEvent) => any) | undefined;
59
+ onMouseup?: ((ev: MapLayerMouseEvent) => any) | undefined;
60
+ onMousedown?: ((ev: MapLayerMouseEvent) => any) | undefined;
61
+ onMouseout?: ((ev: MapLayerMouseEvent) => any) | undefined;
62
+ onMouseover?: ((ev: MapLayerMouseEvent) => any) | undefined;
63
+ onMouseenter?: ((ev: MapLayerMouseEvent) => any) | undefined;
64
+ onMouseleave?: ((ev: MapLayerMouseEvent) => any) | undefined;
65
+ onRegister?: ((actions: CreateLayerActions<FillLayerSpecification>, map: Map) => any) | undefined;
66
+ }>, {
67
+ visible: boolean;
68
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
69
+ export default _default;
70
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
71
+ type __VLS_TypePropsToRuntimeProps<T> = {
72
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
73
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
74
+ } : {
75
+ type: import('vue').PropType<T[K]>;
76
+ required: true;
77
+ };
78
+ };
79
+ type __VLS_WithDefaults<P, D> = {
80
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
81
+ default: D[K];
82
+ }> : P[K];
83
+ };
84
+ type __VLS_Prettify<T> = {
85
+ [K in keyof T]: T[K];
86
+ } & {};
87
+ //# sourceMappingURL=FillLayer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FillLayer.vue.d.ts","sourceRoot":"","sources":["../../libs/components/FillLayer.vue"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,kBAAkB,EAElB,cAAc,EACf,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACV,GAAG,EAEH,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,sBAAsB,EACvB,MAAM,aAAa,CAAC;AAIrB;;;GAGG;AACH,UAAU,UAAU;IAClB,sCAAsC;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,8CAA8C;IAC9C,MAAM,EAAE,mBAAmB,CAAC;IAC5B,6CAA6C;IAC7C,KAAK,EAAE,cAAc,CAAC;IACtB,8CAA8C;IAC9C,OAAO,EAAE,MAAM,CAAC;IAChB,8CAA8C;IAC9C,OAAO,EAAE,MAAM,CAAC;IAChB,uCAAuC;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,gCAAgC;IAChC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,2CAA2C;IAC3C,WAAW,EAAE,MAAM,CAAC;IACpB,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,mCAAmC;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,kDAAkD;IAClD,QAAQ,EAAE,CACR,OAAO,EAAE,kBAAkB,CAAC,sBAAsB,CAAC,EACnD,GAAG,EAAE,GAAG,KACL,IAAI,CAAC;CACX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aANU,OAAO;;AAwLlB,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,112 @@
1
+ import { CreateGeoJsonSourceActions } from '../composables';
2
+ import { GeoJSONSource, GeoJSONSourceSpecification } from 'maplibre-gl';
3
+
4
+ /**
5
+ * Enhanced GeoJsonSource component props with comprehensive configuration options
6
+ */
7
+ interface GeoJsonSourceProps {
8
+ /** Unique identifier for the source */
9
+ id?: string;
10
+ /** GeoJSON data for the source */
11
+ data?: GeoJSONSourceSpecification['data'];
12
+ /** Additional source configuration options */
13
+ options?: Partial<GeoJSONSourceSpecification>;
14
+ /** Callback for registering source actions */
15
+ register?: (actions: CreateGeoJsonSourceActions) => void;
16
+ /** Enable debug logging */
17
+ debug?: boolean;
18
+ /** Automatically cleanup resources on unmount */
19
+ autoCleanup?: boolean;
20
+ /** Error handling callback */
21
+ onError?: (error: any) => void;
22
+ /** Source load success callback */
23
+ onLoad?: (source: GeoJSONSource) => void;
24
+ /** Data update callback */
25
+ onDataUpdate?: (data: GeoJSONSourceSpecification['data']) => void;
26
+ /** Debounce delay for data updates in milliseconds (default: 100) */
27
+ debounceDelay?: number;
28
+ }
29
+ /**
30
+ * Enhanced data setter with validation and error handling
31
+ * @param newData - New GeoJSON data to set
32
+ */
33
+ declare function handleSetData(newData: GeoJSONSourceSpecification['data']): void;
34
+ /**
35
+ * Enhanced cleanup function for disposing resources
36
+ */
37
+ declare function cleanup(): void;
38
+ declare function __VLS_template(): {
39
+ default?(_: {}): any;
40
+ };
41
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<GeoJsonSourceProps>, {
42
+ data: () => {
43
+ type: string;
44
+ features: never[];
45
+ };
46
+ options: () => {};
47
+ debug: boolean;
48
+ autoCleanup: boolean;
49
+ debounceDelay: number;
50
+ }>>, {
51
+ sourceId: string;
52
+ getSource: import('vue').ShallowRef<import('..').Nullable<GeoJSONSource>>;
53
+ setData: typeof handleSetData;
54
+ removeSource: () => void;
55
+ refreshSource: () => void;
56
+ sourceStatus: Readonly<import('../composables').SourceStatus>;
57
+ isSourceReady: boolean;
58
+ isSourceRegistered: import('vue').Ref<boolean, boolean>;
59
+ isDataValid: import('vue').ComputedRef<boolean>;
60
+ lastDataUpdate: import('vue').Ref<string | import('geojson').GeoJSON<import('geojson').Geometry, import('geojson').GeoJsonProperties> | undefined, string | import('geojson').GeoJSON<import('geojson').Geometry, import('geojson').GeoJsonProperties> | undefined>;
61
+ cleanup: typeof cleanup;
62
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
63
+ register: (actions: CreateGeoJsonSourceActions) => void;
64
+ error: (error: any) => void;
65
+ load: (source: any) => void;
66
+ "data-update": (data: string | import('geojson').GeoJSON<import('geojson').Geometry, import('geojson').GeoJsonProperties>) => void;
67
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<GeoJsonSourceProps>, {
68
+ data: () => {
69
+ type: string;
70
+ features: never[];
71
+ };
72
+ options: () => {};
73
+ debug: boolean;
74
+ autoCleanup: boolean;
75
+ debounceDelay: number;
76
+ }>>> & Readonly<{
77
+ onError?: ((error: any) => any) | undefined;
78
+ onLoad?: ((source: any) => any) | undefined;
79
+ onRegister?: ((actions: CreateGeoJsonSourceActions) => any) | undefined;
80
+ "onData-update"?: ((data: string | import('geojson').GeoJSON<import('geojson').Geometry, import('geojson').GeoJsonProperties>) => any) | undefined;
81
+ }>, {
82
+ data: GeoJSONSourceSpecification["data"];
83
+ debug: boolean;
84
+ autoCleanup: boolean;
85
+ options: Partial<GeoJSONSourceSpecification>;
86
+ debounceDelay: number;
87
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
88
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
89
+ export default _default;
90
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
91
+ type __VLS_TypePropsToRuntimeProps<T> = {
92
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
93
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
94
+ } : {
95
+ type: import('vue').PropType<T[K]>;
96
+ required: true;
97
+ };
98
+ };
99
+ type __VLS_WithDefaults<P, D> = {
100
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
101
+ default: D[K];
102
+ }> : P[K];
103
+ };
104
+ type __VLS_Prettify<T> = {
105
+ [K in keyof T]: T[K];
106
+ } & {};
107
+ type __VLS_WithTemplateSlots<T, S> = T & {
108
+ new (): {
109
+ $slots: S;
110
+ };
111
+ };
112
+ //# sourceMappingURL=GeoJsonSource.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GeoJsonSource.vue.d.ts","sourceRoot":"","sources":["../../libs/components/GeoJsonSource.vue"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAI7E;;GAEG;AACH,UAAU,kBAAkB;IAC1B,uCAAuC;IACvC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,kCAAkC;IAClC,IAAI,CAAC,EAAE,0BAA0B,CAAC,MAAM,CAAC,CAAC;IAC1C,8CAA8C;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC,0BAA0B,CAAC,CAAC;IAC9C,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,0BAA0B,KAAK,IAAI,CAAC;IACzD,2BAA2B;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,iDAAiD;IACjD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,8BAA8B;IAC9B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAC/B,mCAAmC;IACnC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC;IACzC,2BAA2B;IAC3B,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,0BAA0B,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IAClE,qEAAqE;IACrE,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAwDD;;;GAGG;AACH,iBAAS,aAAa,CAAC,OAAO,EAAE,0BAA0B,CAAC,MAAM,CAAC,GAAG,IAAI,CAuBxE;AA8ED;;GAEG;AACH,iBAAS,OAAO,IAAI,IAAI,CAkBvB;AA8CD,iBAAS,cAAc;qBA0BM,GAAG;EAG/B;AASD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA3RZ,0BAA0B,CAAC,MAAM,CAAC;WAMjC,OAAO;iBAED,OAAO;aANX,OAAO,CAAC,0BAA0B,CAAC;mBAc7B,MAAM;4EAmRtB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}