@geoql/v-maplibre 1.1.2 → 1.2.0
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.
- package/README.md +100 -120
- package/dist/constants/events/index.d.ts +4 -0
- package/dist/constants/events/layer.d.ts +2 -0
- package/dist/constants/events/map.d.ts +2 -0
- package/dist/constants/events/marker.d.ts +2 -0
- package/dist/constants/events/popup.d.ts +1 -0
- package/dist/controls/attribution/VControlAttribution.vue.d.ts +21 -0
- package/dist/controls/attribution/index.d.ts +1 -0
- package/dist/controls/attribution/types.d.ts +1 -0
- package/dist/controls/fullscreen/VControlFullscreen.vue.d.ts +11 -0
- package/dist/controls/fullscreen/index.d.ts +1 -0
- package/dist/controls/fullscreen/types.d.ts +1 -0
- package/dist/controls/geolocate/VControlGeolocate.vue.d.ts +11 -0
- package/dist/controls/geolocate/events.d.ts +1 -0
- package/dist/controls/geolocate/index.d.ts +1 -0
- package/dist/controls/geolocate/types.d.ts +1 -0
- package/dist/controls/index.d.ts +5 -0
- package/dist/controls/navigation/VControlNavigation.vue.d.ts +11 -0
- package/dist/controls/navigation/index.d.ts +1 -0
- package/dist/controls/navigation/types.d.ts +6 -0
- package/dist/controls/scale/VControlScale.vue.d.ts +21 -0
- package/dist/controls/scale/index.d.ts +1 -0
- package/dist/controls/scale/types.d.ts +1 -0
- package/dist/index-BdU-GZRP.js +56221 -0
- package/dist/index-BdU-GZRP.js.map +1 -0
- package/dist/index-_bcbVwuT.js +5106 -0
- package/dist/index-_bcbVwuT.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +55 -1454
- package/dist/index.js.map +1 -1
- package/dist/layers/deckgl/_shared/index.d.ts +2 -0
- package/dist/layers/deckgl/_shared/types.d.ts +29 -0
- package/dist/layers/deckgl/_shared/useDeckOverlay.d.ts +30 -0
- package/dist/layers/deckgl/arc/VLayerDeckglArc.vue.d.ts +112 -0
- package/dist/layers/deckgl/arc/index.d.ts +1 -0
- package/dist/layers/deckgl/bitmap/VLayerDeckglBitmap.vue.d.ts +98 -0
- package/dist/layers/deckgl/bitmap/index.d.ts +1 -0
- package/dist/layers/deckgl/column/VLayerDeckglColumn.vue.d.ts +130 -0
- package/dist/layers/deckgl/column/index.d.ts +1 -0
- package/dist/layers/deckgl/contour/VLayerDeckglContour.vue.d.ts +110 -0
- package/dist/layers/deckgl/contour/index.d.ts +1 -0
- package/dist/layers/deckgl/generic/VLayerDeckgl.vue.d.ts +78 -0
- package/dist/layers/deckgl/generic/index.d.ts +1 -0
- package/dist/layers/deckgl/geohash/VLayerDeckglGeohash.vue.d.ts +116 -0
- package/dist/layers/deckgl/geohash/index.d.ts +1 -0
- package/dist/layers/deckgl/geojson/VLayerDeckglGeojson.vue.d.ts +134 -0
- package/dist/layers/deckgl/geojson/index.d.ts +1 -0
- package/dist/layers/deckgl/great-circle/VLayerDeckglGreatCircle.vue.d.ts +110 -0
- package/dist/layers/deckgl/great-circle/index.d.ts +1 -0
- package/dist/layers/deckgl/grid/VLayerDeckglGrid.vue.d.ts +124 -0
- package/dist/layers/deckgl/grid/index.d.ts +1 -0
- package/dist/layers/deckgl/grid-cell/VLayerDeckglGridCell.vue.d.ts +105 -0
- package/dist/layers/deckgl/grid-cell/index.d.ts +1 -0
- package/dist/layers/deckgl/h3-cluster/VLayerDeckglH3Cluster.vue.d.ts +116 -0
- package/dist/layers/deckgl/h3-cluster/index.d.ts +1 -0
- package/dist/layers/deckgl/h3-hexagon/VLayerDeckglH3Hexagon.vue.d.ts +120 -0
- package/dist/layers/deckgl/h3-hexagon/index.d.ts +1 -0
- package/dist/layers/deckgl/heatmap/VLayerDeckglHeatmap.vue.d.ts +107 -0
- package/dist/layers/deckgl/heatmap/index.d.ts +1 -0
- package/dist/layers/deckgl/hexagon/VLayerDeckglHexagon.vue.d.ts +123 -0
- package/dist/layers/deckgl/hexagon/index.d.ts +1 -0
- package/dist/layers/deckgl/icon/VLayerDeckglIcon.vue.d.ts +124 -0
- package/dist/layers/deckgl/icon/index.d.ts +1 -0
- package/dist/layers/deckgl/index.d.ts +35 -0
- package/dist/layers/deckgl/line/VLayerDeckglLine.vue.d.ts +106 -0
- package/dist/layers/deckgl/line/index.d.ts +1 -0
- package/dist/layers/deckgl/mvt/VLayerDeckglMVT.vue.d.ts +138 -0
- package/dist/layers/deckgl/mvt/index.d.ts +1 -0
- package/dist/layers/deckgl/path/VLayerDeckglPath.vue.d.ts +113 -0
- package/dist/layers/deckgl/path/index.d.ts +1 -0
- package/dist/layers/deckgl/point-cloud/VLayerDeckglPointCloud.vue.d.ts +101 -0
- package/dist/layers/deckgl/point-cloud/index.d.ts +1 -0
- package/dist/layers/deckgl/polygon/VLayerDeckglPolygon.vue.d.ts +122 -0
- package/dist/layers/deckgl/polygon/index.d.ts +1 -0
- package/dist/layers/deckgl/quadkey/VLayerDeckglQuadkey.vue.d.ts +116 -0
- package/dist/layers/deckgl/quadkey/index.d.ts +1 -0
- package/dist/layers/deckgl/s2/VLayerDeckglS2.vue.d.ts +116 -0
- package/dist/layers/deckgl/s2/index.d.ts +1 -0
- package/dist/layers/deckgl/scatterplot/VLayerDeckglScatterplot.vue.d.ts +122 -0
- package/dist/layers/deckgl/scatterplot/index.d.ts +1 -0
- package/dist/layers/deckgl/scenegraph/VLayerDeckglScenegraph.vue.d.ts +109 -0
- package/dist/layers/deckgl/scenegraph/index.d.ts +1 -0
- package/dist/layers/deckgl/screen-grid/VLayerDeckglScreenGrid.vue.d.ts +105 -0
- package/dist/layers/deckgl/screen-grid/index.d.ts +1 -0
- package/dist/layers/deckgl/simple-mesh/VLayerDeckglSimpleMesh.vue.d.ts +108 -0
- package/dist/layers/deckgl/simple-mesh/index.d.ts +1 -0
- package/dist/layers/deckgl/solid-polygon/VLayerDeckglSolidPolygon.vue.d.ts +106 -0
- package/dist/layers/deckgl/solid-polygon/index.d.ts +1 -0
- package/dist/layers/deckgl/terrain/VLayerDeckglTerrain.vue.d.ts +115 -0
- package/dist/layers/deckgl/terrain/index.d.ts +1 -0
- package/dist/layers/deckgl/text/VLayerDeckglText.vue.d.ts +132 -0
- package/dist/layers/deckgl/text/index.d.ts +1 -0
- package/dist/layers/deckgl/tile/VLayerDeckglTile.vue.d.ts +130 -0
- package/dist/layers/deckgl/tile/index.d.ts +1 -0
- package/dist/layers/deckgl/tile-3d/VLayerDeckglTile3D.vue.d.ts +103 -0
- package/dist/layers/deckgl/tile-3d/index.d.ts +1 -0
- package/dist/layers/deckgl/trips/VLayerDeckglTrips.vue.d.ts +118 -0
- package/dist/layers/deckgl/trips/index.d.ts +1 -0
- package/dist/layers/deckgl/wms/VLayerDeckglWMS.vue.d.ts +96 -0
- package/dist/layers/deckgl/wms/index.d.ts +1 -0
- package/dist/layers/index.d.ts +9 -0
- package/dist/layers/maplibre/canvas/VLayerMaplibreCanvas.vue.d.ts +25 -0
- package/dist/layers/maplibre/canvas/index.d.ts +1 -0
- package/dist/layers/maplibre/cluster/VLayerMaplibreCluster.vue.d.ts +63 -0
- package/dist/layers/maplibre/cluster/index.d.ts +1 -0
- package/dist/layers/maplibre/geojson/VLayerMaplibreGeojson.vue.d.ts +36 -0
- package/dist/layers/maplibre/geojson/index.d.ts +2 -0
- package/dist/layers/maplibre/geojson/types.d.ts +8 -0
- package/dist/layers/maplibre/image/VLayerMaplibreImage.vue.d.ts +70 -0
- package/dist/layers/maplibre/image/index.d.ts +1 -0
- package/dist/layers/maplibre/pmtile/VLayerMaplibrePmtile.vue.d.ts +60 -0
- package/dist/layers/maplibre/pmtile/index.d.ts +1 -0
- package/dist/layers/maplibre/raster/VLayerMaplibreRaster.vue.d.ts +21 -0
- package/dist/layers/maplibre/raster/index.d.ts +1 -0
- package/dist/layers/maplibre/vector/VLayerMaplibreVector.vue.d.ts +49 -0
- package/dist/layers/maplibre/vector/index.d.ts +1 -0
- package/dist/layers/maplibre/video/VLayerMaplibreVideo.vue.d.ts +70 -0
- package/dist/layers/maplibre/video/index.d.ts +1 -0
- package/dist/map/VMap.vue.d.ts +131 -0
- package/dist/markers/VMarker.vue.d.ts +29 -0
- package/dist/popups/VPopup.vue.d.ts +38 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/injects.d.ts +8 -0
- package/dist/utils/symbols.d.ts +7 -0
- package/package.json +73 -39
package/README.md
CHANGED
|
@@ -14,36 +14,36 @@
|
|
|
14
14
|
- 🎨 **Reactive Components** - Reactive and composable map components
|
|
15
15
|
- 🚀 **Nuxt 4 Ready** - Seamlessly works with Nuxt 4 and SSR
|
|
16
16
|
- 🎯 **PMTiles Built-in** - Native support for PMTiles protocol
|
|
17
|
+
- 🌐 **deck.gl Integration** - High-performance WebGL visualization layers
|
|
17
18
|
|
|
18
19
|
## Installation
|
|
19
20
|
|
|
20
|
-
### From npm
|
|
21
|
-
|
|
22
21
|
```bash
|
|
23
|
-
#
|
|
24
|
-
|
|
22
|
+
# bun
|
|
23
|
+
bun add @geoql/v-maplibre maplibre-gl
|
|
25
24
|
|
|
26
25
|
# npm
|
|
27
26
|
npm install @geoql/v-maplibre maplibre-gl
|
|
28
27
|
|
|
29
28
|
# yarn
|
|
30
29
|
yarn add @geoql/v-maplibre maplibre-gl
|
|
31
|
-
```
|
|
32
30
|
|
|
33
|
-
|
|
31
|
+
# pnpm
|
|
32
|
+
pnpm add @geoql/v-maplibre maplibre-gl
|
|
33
|
+
```
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
# deno
|
|
37
|
-
deno add @geoql/v-maplibre
|
|
35
|
+
### deck.gl Layers (Optional)
|
|
38
36
|
|
|
39
|
-
|
|
40
|
-
npx jsr add @geoql/v-maplibre
|
|
37
|
+
For deck.gl visualization layers, install the required packages:
|
|
41
38
|
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
```bash
|
|
40
|
+
# Core deck.gl packages
|
|
41
|
+
bun add @deck.gl/core @deck.gl/layers @deck.gl/mapbox
|
|
44
42
|
|
|
45
|
-
#
|
|
46
|
-
|
|
43
|
+
# Additional layer packages (as needed)
|
|
44
|
+
bun add @deck.gl/aggregation-layers # Heatmap, Hexagon, Grid
|
|
45
|
+
bun add @deck.gl/geo-layers # Trips, MVT, Tile, H3
|
|
46
|
+
bun add @deck.gl/mesh-layers # SimpleMesh, Scenegraph
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
## Quick Start
|
|
@@ -76,7 +76,7 @@ pnpm dlx jsr add @geoql/v-maplibre
|
|
|
76
76
|
- **`VMarker`** - Interactive markers
|
|
77
77
|
- **`VPopup`** - Popups and tooltips
|
|
78
78
|
|
|
79
|
-
### Layer Components
|
|
79
|
+
### MapLibre Layer Components
|
|
80
80
|
|
|
81
81
|
- **`VLayerMaplibreGeojson`** - GeoJSON layers
|
|
82
82
|
- **`VLayerMaplibreVector`** - Vector tile layers
|
|
@@ -87,6 +87,46 @@ pnpm dlx jsr add @geoql/v-maplibre
|
|
|
87
87
|
- **`VLayerMaplibreCluster`** - Clustered point layers
|
|
88
88
|
- **`VLayerMaplibrePmtile`** - PMTiles layers
|
|
89
89
|
|
|
90
|
+
### deck.gl Layer Components
|
|
91
|
+
|
|
92
|
+
High-performance WebGL visualization layers powered by deck.gl:
|
|
93
|
+
|
|
94
|
+
**Core Layers**
|
|
95
|
+
|
|
96
|
+
- `VLayerDeckglScatterplot` - Circles/points
|
|
97
|
+
- `VLayerDeckglArc` - Origin-destination arcs
|
|
98
|
+
- `VLayerDeckglLine` - Flat lines
|
|
99
|
+
- `VLayerDeckglPath` - Polylines/routes
|
|
100
|
+
- `VLayerDeckglPolygon` - Filled polygons
|
|
101
|
+
- `VLayerDeckglGeojson` - GeoJSON features
|
|
102
|
+
- `VLayerDeckglIcon` - Custom markers
|
|
103
|
+
- `VLayerDeckglText` - Text labels
|
|
104
|
+
- `VLayerDeckglColumn` - 3D columns
|
|
105
|
+
- `VLayerDeckglBitmap` - Georeferenced images
|
|
106
|
+
|
|
107
|
+
**Aggregation Layers**
|
|
108
|
+
|
|
109
|
+
- `VLayerDeckglHeatmap` - Density heatmap
|
|
110
|
+
- `VLayerDeckglHexagon` - Hexagonal binning
|
|
111
|
+
- `VLayerDeckglGrid` - Square grid aggregation
|
|
112
|
+
- `VLayerDeckglContour` - Contour/isolines
|
|
113
|
+
- `VLayerDeckglScreenGrid` - Screen-space grid
|
|
114
|
+
|
|
115
|
+
**Geo Layers**
|
|
116
|
+
|
|
117
|
+
- `VLayerDeckglTrips` - Animated paths
|
|
118
|
+
- `VLayerDeckglMVT` - Mapbox Vector Tiles
|
|
119
|
+
- `VLayerDeckglTile` - Generic tiles
|
|
120
|
+
- `VLayerDeckglTile3D` - 3D Tiles (Cesium)
|
|
121
|
+
- `VLayerDeckglTerrain` - Terrain mesh
|
|
122
|
+
- `VLayerDeckglH3Hexagon` - H3 hexagons
|
|
123
|
+
- `VLayerDeckglGreatCircle` - Great circle arcs
|
|
124
|
+
|
|
125
|
+
**Mesh Layers**
|
|
126
|
+
|
|
127
|
+
- `VLayerDeckglSimpleMesh` - 3D meshes
|
|
128
|
+
- `VLayerDeckglScenegraph` - glTF/GLB models
|
|
129
|
+
|
|
90
130
|
### Control Components
|
|
91
131
|
|
|
92
132
|
- **`VControlNavigation`** - Navigation controls (zoom, rotate)
|
|
@@ -95,6 +135,40 @@ pnpm dlx jsr add @geoql/v-maplibre
|
|
|
95
135
|
- **`VControlFullscreen`** - Fullscreen toggle
|
|
96
136
|
- **`VControlAttribution`** - Attribution control
|
|
97
137
|
|
|
138
|
+
## deck.gl Example
|
|
139
|
+
|
|
140
|
+
```vue
|
|
141
|
+
<script setup lang="ts">
|
|
142
|
+
import { VMap, VLayerDeckglScatterplot } from '@geoql/v-maplibre';
|
|
143
|
+
|
|
144
|
+
const mapOptions = {
|
|
145
|
+
style: 'https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json',
|
|
146
|
+
center: [-122.4, 37.8],
|
|
147
|
+
zoom: 11,
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
const data = [
|
|
151
|
+
{ coordinates: [-122.4, 37.8], size: 100 },
|
|
152
|
+
{ coordinates: [-122.5, 37.7], size: 200 },
|
|
153
|
+
];
|
|
154
|
+
</script>
|
|
155
|
+
|
|
156
|
+
<template>
|
|
157
|
+
<VMap :options="mapOptions" style="height: 500px">
|
|
158
|
+
<VLayerDeckglScatterplot
|
|
159
|
+
id="points"
|
|
160
|
+
:data="data"
|
|
161
|
+
:get-position="(d) => d.coordinates"
|
|
162
|
+
:get-radius="(d) => d.size"
|
|
163
|
+
:get-fill-color="[255, 140, 0]"
|
|
164
|
+
:radius-min-pixels="5"
|
|
165
|
+
:pickable="true"
|
|
166
|
+
@click="(info) => console.log('Clicked:', info.object)"
|
|
167
|
+
></VLayerDeckglScatterplot>
|
|
168
|
+
</VMap>
|
|
169
|
+
</template>
|
|
170
|
+
```
|
|
171
|
+
|
|
98
172
|
## Usage with Nuxt
|
|
99
173
|
|
|
100
174
|
For Nuxt applications, wrap the map component with `ClientOnly`:
|
|
@@ -120,7 +194,6 @@ For Nuxt applications, wrap the map component with `ClientOnly`:
|
|
|
120
194
|
Add styles to your `nuxt.config.ts`:
|
|
121
195
|
|
|
122
196
|
```typescript
|
|
123
|
-
// nuxt.config.ts
|
|
124
197
|
export default defineNuxtConfig({
|
|
125
198
|
css: [
|
|
126
199
|
'maplibre-gl/dist/maplibre-gl.css',
|
|
@@ -129,123 +202,29 @@ export default defineNuxtConfig({
|
|
|
129
202
|
});
|
|
130
203
|
```
|
|
131
204
|
|
|
132
|
-
Or create a Nuxt plugin to import styles:
|
|
133
|
-
|
|
134
|
-
```typescript
|
|
135
|
-
// plugins/maplibre.client.ts
|
|
136
|
-
import 'maplibre-gl/dist/maplibre-gl.css';
|
|
137
|
-
import '@geoql/v-maplibre/dist/v-maplibre.css';
|
|
138
|
-
|
|
139
|
-
export default defineNuxtPlugin(() => {
|
|
140
|
-
// Plugin loaded
|
|
141
|
-
});
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
## Examples
|
|
145
|
-
|
|
146
|
-
### GeoJSON Layer
|
|
147
|
-
|
|
148
|
-
```vue
|
|
149
|
-
<script setup lang="ts">
|
|
150
|
-
import { VMap, VLayerMaplibreGeojson } from '@geoql/v-maplibre';
|
|
151
|
-
import type { GeoJSONSourceSpecification } from 'maplibre-gl';
|
|
152
|
-
|
|
153
|
-
const geojsonSource: GeoJSONSourceSpecification = {
|
|
154
|
-
type: 'geojson',
|
|
155
|
-
data: {
|
|
156
|
-
type: 'FeatureCollection',
|
|
157
|
-
features: [
|
|
158
|
-
{
|
|
159
|
-
type: 'Feature',
|
|
160
|
-
geometry: {
|
|
161
|
-
type: 'Point',
|
|
162
|
-
coordinates: [-74.5, 40],
|
|
163
|
-
},
|
|
164
|
-
properties: { name: 'Example Point' },
|
|
165
|
-
},
|
|
166
|
-
],
|
|
167
|
-
},
|
|
168
|
-
};
|
|
169
|
-
|
|
170
|
-
const layerOptions = {
|
|
171
|
-
id: 'points',
|
|
172
|
-
type: 'circle' as const,
|
|
173
|
-
paint: {
|
|
174
|
-
'circle-radius': 8,
|
|
175
|
-
'circle-color': '#007cbf',
|
|
176
|
-
},
|
|
177
|
-
};
|
|
178
|
-
</script>
|
|
179
|
-
|
|
180
|
-
<template>
|
|
181
|
-
<VMap :options="mapOptions" style="height: 500px">
|
|
182
|
-
<VLayerMaplibreGeojson
|
|
183
|
-
:source="geojsonSource"
|
|
184
|
-
:layer="layerOptions"
|
|
185
|
-
></VLayerMaplibreGeojson>
|
|
186
|
-
</VMap>
|
|
187
|
-
</template>
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
### PMTiles Support
|
|
191
|
-
|
|
192
|
-
```vue
|
|
193
|
-
<script setup lang="ts">
|
|
194
|
-
import { VMap, VLayerMaplibrePmtile } from '@geoql/v-maplibre';
|
|
195
|
-
|
|
196
|
-
const pmtilesUrl = 'https://example.com/tiles.pmtiles';
|
|
197
|
-
|
|
198
|
-
const layerOptions = {
|
|
199
|
-
id: 'pmtiles-layer',
|
|
200
|
-
type: 'fill' as const,
|
|
201
|
-
paint: {
|
|
202
|
-
'fill-color': '#088',
|
|
203
|
-
'fill-opacity': 0.5,
|
|
204
|
-
},
|
|
205
|
-
};
|
|
206
|
-
</script>
|
|
207
|
-
|
|
208
|
-
<template>
|
|
209
|
-
<VMap :options="mapOptions" support-pmtiles style="height: 500px">
|
|
210
|
-
<VLayerMaplibrePmtile
|
|
211
|
-
:url="pmtilesUrl"
|
|
212
|
-
:layer="layerOptions"
|
|
213
|
-
></VLayerMaplibrePmtile>
|
|
214
|
-
</VMap>
|
|
215
|
-
</template>
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
## Documentation
|
|
219
|
-
|
|
220
|
-
Visit our [documentation site](#) for:
|
|
221
|
-
|
|
222
|
-
- Complete API reference
|
|
223
|
-
- Detailed component guides
|
|
224
|
-
- Interactive examples
|
|
225
|
-
- Migration guides
|
|
226
|
-
|
|
227
205
|
## TypeScript Support
|
|
228
206
|
|
|
229
|
-
All components are fully typed. Import types
|
|
207
|
+
All components are fully typed. Import types as needed:
|
|
230
208
|
|
|
231
209
|
```typescript
|
|
232
|
-
import type { MapOptions, LngLatLike
|
|
210
|
+
import type { MapOptions, LngLatLike } from 'maplibre-gl';
|
|
211
|
+
import type { Color, PickingInfo } from '@deck.gl/core';
|
|
233
212
|
```
|
|
234
213
|
|
|
235
214
|
## Development
|
|
236
215
|
|
|
237
216
|
```bash
|
|
238
217
|
# Install dependencies
|
|
239
|
-
|
|
218
|
+
bun install
|
|
240
219
|
|
|
241
220
|
# Build the library
|
|
242
|
-
|
|
221
|
+
bun run build
|
|
243
222
|
|
|
244
|
-
# Run
|
|
245
|
-
|
|
223
|
+
# Run tests
|
|
224
|
+
bun run test
|
|
246
225
|
|
|
247
|
-
#
|
|
248
|
-
|
|
226
|
+
# Lint
|
|
227
|
+
bun run lint
|
|
249
228
|
```
|
|
250
229
|
|
|
251
230
|
## License
|
|
@@ -257,6 +236,7 @@ MIT License - see [LICENSE](LICENSE) for details
|
|
|
257
236
|
Built with:
|
|
258
237
|
|
|
259
238
|
- [MapLibre GL JS](https://maplibre.org/)
|
|
239
|
+
- [deck.gl](https://deck.gl/)
|
|
260
240
|
- [Vue 3](https://vuejs.org/)
|
|
261
241
|
- [Vite](https://vitejs.dev/)
|
|
262
242
|
- [PMTiles](https://github.com/protomaps/PMTiles)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const popupEvents: Array<"open" | "close">;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { AttributionControlOptions, ControlPosition } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
options?: AttributionControlOptions;
|
|
4
|
+
position?: ControlPosition;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_1: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
options: AttributionControlOptions;
|
|
12
|
+
position: ControlPosition;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as AttributionControl } from './VControlAttribution.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { AttributionControlOptions, ControlPosition } from 'maplibre-gl';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ControlPosition, FullscreenControlOptions } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
options?: FullscreenControlOptions;
|
|
4
|
+
position?: ControlPosition;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
|
+
options: FullscreenControlOptions;
|
|
8
|
+
position: ControlPosition;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as FullscreenControl } from './VControlFullscreen.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { FullscreenControlOptions, ControlPosition } from 'maplibre-gl';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ControlPosition, GeolocateControlOptions } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
options?: GeolocateControlOptions;
|
|
4
|
+
position?: ControlPosition;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
|
+
options: GeolocateControlOptions;
|
|
8
|
+
position: ControlPosition;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const geolocateControlEvents: string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as GeolocateControl } from './VControlGeolocate.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { GeolocateControlOptions, ControlPosition } from 'maplibre-gl';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { AttributionControl as VControlAttribution } from './attribution';
|
|
2
|
+
export { FullscreenControl as VControlFullscreen } from './fullscreen';
|
|
3
|
+
export { GeolocateControl as VControlGeolocate } from './geolocate';
|
|
4
|
+
export { NavigationControl as VControlNavigation } from './navigation';
|
|
5
|
+
export { ScaleControl as VControlScale } from './scale';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ControlPosition, NavigationOptions } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
options?: NavigationOptions;
|
|
4
|
+
position?: ControlPosition;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
|
+
options: NavigationOptions;
|
|
8
|
+
position: ControlPosition;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as NavigationControl } from './VControlNavigation.vue';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ControlPosition, ScaleControlOptions } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
options?: ScaleControlOptions;
|
|
4
|
+
position?: ControlPosition;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_1: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
options: ScaleControlOptions;
|
|
12
|
+
position: ControlPosition;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ScaleControl } from './VControlScale.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { ControlPosition, ScaleControlOptions } from 'maplibre-gl';
|