@minmaps-dev/mm-web-sdk 1.0.0-rc.47 → 1.0.0-rc.49
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +243 -22
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.ts +10 -0
- package/dist/react.js +1 -1
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
- package/src/themes/alt3-hybrid-style.json +58 -0
package/package.json
CHANGED
|
@@ -41,6 +41,14 @@
|
|
|
41
41
|
"type": "geojson",
|
|
42
42
|
"data": { "type": "FeatureCollection", "features": [] }
|
|
43
43
|
},
|
|
44
|
+
"route-approach-data": {
|
|
45
|
+
"type": "geojson",
|
|
46
|
+
"data": { "type": "FeatureCollection", "features": [] }
|
|
47
|
+
},
|
|
48
|
+
"route-preview-data": {
|
|
49
|
+
"type": "geojson",
|
|
50
|
+
"data": { "type": "FeatureCollection", "features": [] }
|
|
51
|
+
},
|
|
44
52
|
"poi-highlight-data": {
|
|
45
53
|
"type": "geojson",
|
|
46
54
|
"data": { "type": "FeatureCollection", "features": [] }
|
|
@@ -681,6 +689,7 @@
|
|
|
681
689
|
{
|
|
682
690
|
"id": "boundary-fill",
|
|
683
691
|
"type": "fill",
|
|
692
|
+
"minzoom": 15.8,
|
|
684
693
|
"source": "indoor-data",
|
|
685
694
|
"filter": ["==", ["get", "featureType"], "Boundary"],
|
|
686
695
|
"paint": {
|
|
@@ -2134,6 +2143,41 @@
|
|
|
2134
2143
|
"line-opacity": 0.25
|
|
2135
2144
|
}
|
|
2136
2145
|
},
|
|
2146
|
+
{
|
|
2147
|
+
"id": "route-approach-line",
|
|
2148
|
+
"type": "line",
|
|
2149
|
+
"source": "route-approach-data",
|
|
2150
|
+
"filter": ["==", ["geometry-type"], "LineString"],
|
|
2151
|
+
"layout": {
|
|
2152
|
+
"line-cap": "round",
|
|
2153
|
+
"line-join": "round"
|
|
2154
|
+
},
|
|
2155
|
+
"paint": {
|
|
2156
|
+
"line-color": "#d32f2f",
|
|
2157
|
+
"line-width": [
|
|
2158
|
+
"interpolate", ["linear"], ["zoom"],
|
|
2159
|
+
16.5, 3,
|
|
2160
|
+
18.0, 4,
|
|
2161
|
+
20.0, 6
|
|
2162
|
+
],
|
|
2163
|
+
"line-dasharray": [0.1, 2],
|
|
2164
|
+
"line-opacity": 1
|
|
2165
|
+
}
|
|
2166
|
+
},
|
|
2167
|
+
{
|
|
2168
|
+
"id": "route-approach-tap",
|
|
2169
|
+
"type": "circle",
|
|
2170
|
+
"source": "route-approach-data",
|
|
2171
|
+
"filter": ["==", ["geometry-type"], "Point"],
|
|
2172
|
+
"paint": {
|
|
2173
|
+
"circle-radius": 7,
|
|
2174
|
+
"circle-color": "#ffffff",
|
|
2175
|
+
"circle-stroke-width": 3,
|
|
2176
|
+
"circle-stroke-color": "#d32f2f",
|
|
2177
|
+
"circle-opacity": 1,
|
|
2178
|
+
"circle-pitch-alignment": "map"
|
|
2179
|
+
}
|
|
2180
|
+
},
|
|
2137
2181
|
{
|
|
2138
2182
|
"id": "route-arrows",
|
|
2139
2183
|
"type": "symbol",
|
|
@@ -2265,6 +2309,20 @@
|
|
|
2265
2309
|
"icon-translate-anchor": "viewport"
|
|
2266
2310
|
}
|
|
2267
2311
|
},
|
|
2312
|
+
{
|
|
2313
|
+
"id": "poi-route-preview",
|
|
2314
|
+
"type": "symbol",
|
|
2315
|
+
"source": "route-preview-data",
|
|
2316
|
+
"layout": {
|
|
2317
|
+
"icon-image": ["match", ["get", "kind"], "start", "marker-start", "marker-destination"],
|
|
2318
|
+
"icon-anchor": "bottom",
|
|
2319
|
+
"icon-size": ["interpolate", ["linear"], ["zoom"], 15, 0.7, 16, 0.9, 18, 1, 20, 1.15, 22, 1.35],
|
|
2320
|
+
"icon-overlap": "always",
|
|
2321
|
+
"icon-ignore-placement": false,
|
|
2322
|
+
"icon-rotation-alignment": "viewport",
|
|
2323
|
+
"icon-pitch-alignment": "viewport"
|
|
2324
|
+
}
|
|
2325
|
+
},
|
|
2268
2326
|
{
|
|
2269
2327
|
"id": "poi-route-start",
|
|
2270
2328
|
"type": "symbol",
|