@minmaps-dev/mm-web-sdk 1.0.0-rc.13 → 1.0.0-rc.14

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.
@@ -1,411 +0,0 @@
1
- {
2
- "version": 8,
3
- "name": "Hospital Indoor Mapping Style - Enhanced",
4
- "metadata": {
5
- "description": "Healthcare-optimized indoor navigation style with accessibility focus",
6
- "author": "Hospital Mapping Team",
7
- "version": "4.1.0"
8
- },
9
- "glyphs": "https://demotiles.maplibre.org/font/{fontstack}/{range}.pbf",
10
- "sources": {
11
- "protomaps": {
12
- "type": "vector",
13
- "url": "pmtiles://https://jacsdevtiles-gjgbejbpdzbgcge8.z01.azurefd.net/pmtiles/base/usa.pmtiles",
14
- "attribution": "© OpenStreetMap contributors"
15
- },
16
- "indoor-data": {
17
- "type": "geojson",
18
- "data": { "type": "FeatureCollection", "features": [] }
19
- },
20
- "poi-data": {
21
- "type": "geojson",
22
- "data": { "type": "FeatureCollection", "features": [] }
23
- }
24
- },
25
- "layers": [
26
- {
27
- "id": "background",
28
- "type": "background",
29
- "paint": {
30
- "background-color": "#999999"
31
- }
32
- },
33
- {
34
- "id": "basemap-earth",
35
- "type": "fill",
36
- "source": "protomaps",
37
- "source-layer": "earth",
38
- "paint": {
39
- "fill-color": "#000000"
40
- }
41
- },
42
- {
43
- "id": "basemap-water",
44
- "type": "fill",
45
- "source": "protomaps",
46
- "source-layer": "water",
47
- "paint": {
48
- "fill-color": "#00FFFF"
49
- }
50
- },
51
- {
52
- "id": "basemap-roads",
53
- "type": "line",
54
- "source": "protomaps",
55
- "source-layer": "roads",
56
- "minzoom": 10,
57
- "paint": {
58
- "line-color": "#FFFFFF",
59
- "line-width": [
60
- "interpolate",
61
- ["linear"],
62
- ["zoom"],
63
- 10, 0.5,
64
- 16, 2,
65
- 19, 6
66
- ]
67
- }
68
- },
69
- {
70
- "id": "pattern-water",
71
- "type": "fill",
72
- "source": "indoor-data",
73
- "filter": ["==", ["get", "featureType"], "Pattern-Water"],
74
- "paint": {
75
- "fill-color": "#02F5F5",
76
- "fill-opacity": 0.7
77
- }
78
- },
79
- {
80
- "id": "pattern-grass",
81
- "type": "fill",
82
- "source": "indoor-data",
83
- "filter": ["==", ["get", "featureType"], "Pattern-Grass"],
84
- "paint": {
85
- "fill-color": "#008001",
86
- "fill-opacity": 1
87
- }
88
- },
89
- {
90
- "id": "pattern-trees",
91
- "type": "fill",
92
- "source": "indoor-data",
93
- "filter": ["==", ["get", "featureType"], "Pattern-Trees"],
94
- "paint": {
95
- "fill-color": "#4CAF50",
96
- "fill-opacity": 0.35
97
- }
98
- },
99
- {
100
- "id": "pattern-pavement",
101
- "type": "fill",
102
- "source": "indoor-data",
103
- "filter": ["==", ["get", "featureType"], "Pattern-Pavement"],
104
- "paint": {
105
- "fill-color": "#E0E0E0",
106
- "fill-opacity": 0.6
107
- }
108
- },
109
-
110
- {
111
- "id": "boundary-fill",
112
- "type": "fill",
113
- "source": "indoor-data",
114
- "filter": ["==", ["get", "featureType"], "Boundary"],
115
- "paint": {
116
- "fill-color": "#777777",
117
- "fill-opacity": 0.95
118
- }
119
- },
120
- {
121
- "id": "boundary-outline",
122
- "type": "line",
123
- "source": "indoor-data",
124
- "filter": ["==", ["get", "featureType"], "Boundary"],
125
- "paint": {
126
- "line-color": "#000000",
127
- "line-width": [
128
- "interpolate", ["linear"], ["zoom"],
129
- 15, 2,
130
- 18, 2.5,
131
- 20, 3
132
- ]
133
- }
134
- },
135
- {
136
- "id": "corridors-fill",
137
- "type": "fill",
138
- "source": "indoor-data",
139
- "minzoom": 16.5,
140
- "filter": ["any",
141
- ["==", ["get", "featureType"], "Corridors"],
142
- ["==", ["get", "featureType"], "Corridor"]
143
- ],
144
- "paint": {
145
- "fill-color": "#777777"
146
- }
147
- },
148
- {
149
- "id": "obstacles-fill",
150
- "type": "fill",
151
- "source": "indoor-data",
152
- "filter": ["==", ["get", "featureType"], "Obstacles"],
153
- "paint": {
154
- "fill-color": "#000000",
155
- "fill-opacity": 0.85
156
- }
157
- },
158
- {
159
- "id": "stairs-fill",
160
- "type": "fill",
161
- "source": "indoor-data",
162
- "filter": ["==", ["get", "featureType"], "Stairs"],
163
- "paint": {
164
- "fill-color": "#80007F",
165
- "fill-opacity": 0.95
166
- }
167
- },
168
- {
169
- "id": "elevators-fill",
170
- "type": "fill",
171
- "source": "indoor-data",
172
- "filter": ["==", ["get", "featureType"], "Elevators"],
173
- "paint": {
174
- "fill-color": "#2090FF",
175
- "fill-opacity": 0.95
176
- }
177
- },
178
- {
179
- "id": "backofhouse-fill",
180
- "type": "fill",
181
- "source": "indoor-data",
182
- "filter": [
183
- "any",
184
- ["==", ["get", "featureType"], "Back-of-House"],
185
- ["==", ["get", "featureType"], "Back-of-house"]
186
- ],
187
- "paint": {
188
- "fill-color": "#000000",
189
- "fill-opacity": 0.8
190
- }
191
- },
192
- {
193
- "id": "restrooms-fill",
194
- "type": "fill",
195
- "source": "indoor-data",
196
- "filter": ["==", ["get", "featureType"], "Restrooms"],
197
- "paint": {
198
- "fill-color": "#3EF240",
199
- "fill-opacity": 0.9
200
- }
201
- },
202
- {
203
- "id": "units-fill",
204
- "type": "fill",
205
- "source": "indoor-data",
206
- "filter": ["==", ["get", "featureType"], "Units"],
207
- "paint": {
208
- "fill-color": "#000000",
209
- "fill-opacity": 0.95
210
- }
211
- },
212
- {
213
- "id": "units-outline",
214
- "type": "line",
215
- "source": "indoor-data",
216
- "filter": ["==", ["get", "featureType"], "Units"],
217
- "paint": {
218
- "line-color": "#FFFFFF",
219
- "line-width": [
220
- "interpolate", ["linear"], ["zoom"],
221
- 15, 1,
222
- 18, 1.5,
223
- 20, 1.7
224
- ]
225
- }
226
- },
227
- {
228
- "id": "building-extrusion",
229
- "type": "fill-extrusion",
230
- "source": "indoor-data",
231
- "filter": ["==", ["get", "featureType"], "Boundary"],
232
- "layout": { "visibility": "none" },
233
- "paint": {
234
- "fill-extrusion-color": "#FAFAFA",
235
- "fill-extrusion-height": 15,
236
- "fill-extrusion-base": 0,
237
- "fill-extrusion-opacity": 1
238
- }
239
- },
240
- {
241
- "id": "units-extrusion",
242
- "type": "fill-extrusion",
243
- "source": "indoor-data",
244
- "filter": ["==", ["get", "featureType"], "Units"],
245
- "layout": { "visibility": "none" },
246
- "paint": {
247
- "fill-extrusion-color": "#B3D9FF",
248
- "fill-extrusion-height": ["+", ["*", ["get", "floorSequence"], 4], 3.5],
249
- "fill-extrusion-base": ["*", ["get", "floorSequence"], 4],
250
- "fill-extrusion-opacity": 1
251
- }
252
- },
253
- {
254
- "id": "corridors-extrusion",
255
- "type": "fill-extrusion",
256
- "source": "indoor-data",
257
- "filter": ["any",
258
- ["==", ["get", "featureType"], "Corridors"],
259
- ["==", ["get", "featureType"], "Corridor"]
260
- ],
261
- "layout": { "visibility": "none" },
262
- "paint": {
263
- "fill-extrusion-color": "#FFE4B5",
264
- "fill-extrusion-height": ["+", ["*", ["get", "floorSequence"], 4], 3.5],
265
- "fill-extrusion-base": ["*", ["get", "floorSequence"], 4],
266
- "fill-extrusion-opacity": 1
267
- }
268
- },
269
- {
270
- "id": "obstacles-extrusion",
271
- "type": "fill-extrusion",
272
- "source": "indoor-data",
273
- "filter": ["==", ["get", "featureType"], "Obstacles"],
274
- "layout": { "visibility": "none" },
275
- "paint": {
276
- "fill-extrusion-color": "#424242",
277
- "fill-extrusion-height": 2,
278
- "fill-extrusion-base": 0,
279
- "fill-extrusion-opacity": 1
280
- }
281
- },
282
- {
283
- "id": "parking-fill",
284
- "type": "fill",
285
- "source": "indoor-data",
286
- "filter": ["any",
287
- ["==", ["get", "featureType"], "Parking-Lots"],
288
- ["==", ["get", "featureType"], "Interior-ParkingLots"]
289
- ],
290
- "paint": {
291
- "fill-color": "#424242",
292
- "fill-opacity": 0.7
293
- }
294
- },
295
- {
296
- "id": "parking-outline",
297
- "type": "line",
298
- "source": "indoor-data",
299
- "filter": ["any",
300
- ["==", ["get", "featureType"], "Parking-Lots"],
301
- ["==", ["get", "featureType"], "Interior-ParkingLots"]
302
- ],
303
- "paint": {
304
- "line-color": "#F0F0F0",
305
- "line-width": [
306
- "interpolate", ["linear"], ["zoom"],
307
- 15, 0.5,
308
- 18, 1,
309
- 20, 1.5
310
- ],
311
- "line-dasharray": [3, 2]
312
- }
313
- },
314
- {
315
- "id": "restrooms-extrusion",
316
- "type": "fill-extrusion",
317
- "source": "indoor-data",
318
- "filter": ["==", ["get", "featureType"], "Restrooms"],
319
- "layout": { "visibility": "none" },
320
- "paint": {
321
- "fill-extrusion-color": "#81D4FA",
322
- "fill-extrusion-height": 3.2,
323
- "fill-extrusion-base": 0,
324
- "fill-extrusion-opacity": 1
325
- }
326
- },
327
- {
328
- "id": "backofhouse-extrusion",
329
- "type": "fill-extrusion",
330
- "source": "indoor-data",
331
- "filter": [
332
- "any",
333
- ["==", ["get", "featureType"], "Back-of-House"],
334
- ["==", ["get", "featureType"], "Back-of-house"]
335
- ],
336
- "layout": { "visibility": "none" },
337
- "paint": {
338
- "fill-extrusion-color": "#CFD8DC",
339
- "fill-extrusion-height": 2.5,
340
- "fill-extrusion-base": 0,
341
- "fill-extrusion-opacity": 1
342
- }
343
- },
344
- {
345
- "id": "poi-circles",
346
- "type": "circle",
347
- "source": "poi-data",
348
- "filter": ["==", ["get", "poiType"], "destination"],
349
- "paint": {
350
- "circle-radius": [
351
- "interpolate", ["linear"], ["zoom"],
352
- 15, 3,
353
- 17, 4,
354
- 19, 5,
355
- 20, 6
356
- ],
357
- "circle-color": "#e2e455",
358
- "circle-stroke-width": 2,
359
- "circle-stroke-color": "#FFFFFF",
360
- "circle-opacity": 0.8
361
- }
362
- },
363
- {
364
- "id": "poi-icons",
365
- "type": "symbol",
366
- "source": "poi-data",
367
- "filter": ["==", ["get", "poiType"], "amenity"],
368
- "layout": {
369
- "icon-image": ["get", "iconId"],
370
- "icon-size": [
371
- "interpolate", ["linear"], ["zoom"],
372
- 15, 0.3,
373
- 18, 0.4,
374
- 20, 0.5
375
- ],
376
- "icon-allow-overlap": false,
377
- "icon-padding": 6
378
- }
379
- },
380
- {
381
- "id": "poi-labels",
382
- "type": "symbol",
383
- "source": "poi-data",
384
- "filter": ["==", ["get", "showLabel"], true],
385
- "minzoom": 15,
386
- "layout": {
387
- "text-field": ["get", "name"],
388
- "text-size": [
389
- "interpolate", ["linear"], ["zoom"],
390
- 15, 11,
391
- 17, 13,
392
- 19, 15,
393
- 20, 16
394
- ],
395
- "text-offset": [0, 1.5],
396
- "text-anchor": "top",
397
- "text-font": ["Noto Sans Bold"],
398
- "text-max-width": 12,
399
- "text-allow-overlap": false,
400
- "text-ignore-placement": false
401
-
402
- },
403
- "paint": {
404
- "text-color": "#FFFFFF",
405
- "text-halo-color": "#000000",
406
- "text-halo-width": 3,
407
- "text-halo-blur": 0
408
- }
409
- }
410
- ]
411
- }