@minmaps-dev/mm-web-sdk 1.0.0-rc.41 → 1.0.0-rc.43
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 +295 -4
- 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 +7 -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 +51 -49
package/package.json
CHANGED
|
@@ -1465,16 +1465,17 @@
|
|
|
1465
1465
|
"layout": {
|
|
1466
1466
|
"symbol-sort-key": 10,
|
|
1467
1467
|
"icon-image": "map-label-bg",
|
|
1468
|
-
"icon-text-fit": "
|
|
1469
|
-
"icon-text-fit-padding": [
|
|
1468
|
+
"icon-text-fit": "width",
|
|
1469
|
+
"icon-text-fit-padding": [0, 4, 0, 4],
|
|
1470
|
+
"icon-size": [
|
|
1471
|
+
"interpolate", ["linear"], ["zoom"],
|
|
1472
|
+
15.5, 0.8,
|
|
1473
|
+
18, 1,
|
|
1474
|
+
20, 1.15
|
|
1475
|
+
],
|
|
1470
1476
|
"icon-allow-overlap": false,
|
|
1471
1477
|
"icon-ignore-placement": false,
|
|
1472
|
-
"text-field": [
|
|
1473
|
-
"format",
|
|
1474
|
-
"\uea40", {"text-font": ["literal", ["Material Icons"]]},
|
|
1475
|
-
|
|
1476
|
-
["slice", ["get", "name"], ["+", ["index-of", "Building", ["get", "name"]], 9]], {}
|
|
1477
|
-
],
|
|
1478
|
+
"text-field": ["slice", ["get", "name"], ["+", ["index-of", "Building", ["get", "name"]], 9]],
|
|
1478
1479
|
"text-size": [
|
|
1479
1480
|
"interpolate", ["linear"], ["zoom"],
|
|
1480
1481
|
15.5, 14,
|
|
@@ -2090,6 +2091,47 @@
|
|
|
2090
2091
|
]
|
|
2091
2092
|
}
|
|
2092
2093
|
},
|
|
2094
|
+
|
|
2095
|
+
{
|
|
2096
|
+
"id": "route-line-active-halo",
|
|
2097
|
+
"type": "line",
|
|
2098
|
+
"source": "route-active-step",
|
|
2099
|
+
"minzoom": 16.5,
|
|
2100
|
+
"layout": {
|
|
2101
|
+
"line-cap": "round",
|
|
2102
|
+
"line-join": "round"
|
|
2103
|
+
},
|
|
2104
|
+
"paint": {
|
|
2105
|
+
"line-color": "#01A91D",
|
|
2106
|
+
"line-width": [
|
|
2107
|
+
"interpolate", ["linear"], ["zoom"],
|
|
2108
|
+
16.5, 8,
|
|
2109
|
+
18.0, 11,
|
|
2110
|
+
20.0, 14
|
|
2111
|
+
],
|
|
2112
|
+
"line-opacity": 0.85
|
|
2113
|
+
}
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
"id": "route-line-active",
|
|
2117
|
+
"type": "line",
|
|
2118
|
+
"source": "route-active-step",
|
|
2119
|
+
"minzoom": 16.5,
|
|
2120
|
+
"layout": {
|
|
2121
|
+
"line-cap": "round",
|
|
2122
|
+
"line-join": "round"
|
|
2123
|
+
},
|
|
2124
|
+
"paint": {
|
|
2125
|
+
"line-color": "#01A91D",
|
|
2126
|
+
"line-width": [
|
|
2127
|
+
"interpolate", ["linear"], ["zoom"],
|
|
2128
|
+
16.5, 5,
|
|
2129
|
+
18.0, 7,
|
|
2130
|
+
20.0, 9
|
|
2131
|
+
],
|
|
2132
|
+
"line-opacity": 0.25
|
|
2133
|
+
}
|
|
2134
|
+
},
|
|
2093
2135
|
{
|
|
2094
2136
|
"id": "route-arrows",
|
|
2095
2137
|
"type": "symbol",
|
|
@@ -2141,48 +2183,8 @@
|
|
|
2141
2183
|
"paint": {
|
|
2142
2184
|
"icon-opacity": 1
|
|
2143
2185
|
}
|
|
2144
|
-
},
|
|
2145
|
-
{
|
|
2146
|
-
"id": "route-line-active-halo",
|
|
2147
|
-
"type": "line",
|
|
2148
|
-
"source": "route-active-step",
|
|
2149
|
-
"minzoom": 16.5,
|
|
2150
|
-
"layout": {
|
|
2151
|
-
"line-cap": "round",
|
|
2152
|
-
"line-join": "round"
|
|
2153
|
-
},
|
|
2154
|
-
"paint": {
|
|
2155
|
-
"line-color": "#FFFFFF",
|
|
2156
|
-
"line-width": [
|
|
2157
|
-
"interpolate", ["linear"], ["zoom"],
|
|
2158
|
-
16.5, 8,
|
|
2159
|
-
18.0, 11,
|
|
2160
|
-
20.0, 14
|
|
2161
|
-
],
|
|
2162
|
-
"line-opacity": 0.85
|
|
2163
|
-
}
|
|
2164
|
-
},
|
|
2186
|
+
},
|
|
2165
2187
|
{
|
|
2166
|
-
"id": "route-line-active",
|
|
2167
|
-
"type": "line",
|
|
2168
|
-
"source": "route-active-step",
|
|
2169
|
-
"minzoom": 16.5,
|
|
2170
|
-
"layout": {
|
|
2171
|
-
"line-cap": "round",
|
|
2172
|
-
"line-join": "round"
|
|
2173
|
-
},
|
|
2174
|
-
"paint": {
|
|
2175
|
-
"line-color": "#fdb81e",
|
|
2176
|
-
"line-width": [
|
|
2177
|
-
"interpolate", ["linear"], ["zoom"],
|
|
2178
|
-
16.5, 5,
|
|
2179
|
-
18.0, 7,
|
|
2180
|
-
20.0, 9
|
|
2181
|
-
],
|
|
2182
|
-
"line-opacity": 1
|
|
2183
|
-
}
|
|
2184
|
-
},
|
|
2185
|
-
{
|
|
2186
2188
|
"id": "route-endpoint-source",
|
|
2187
2189
|
"type": "circle",
|
|
2188
2190
|
"source": "route-endpoints",
|