@minmaps-dev/mm-web-sdk 1.0.0-rc.29 → 1.0.0-rc.30
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 +63 -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 +14 -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 +47 -14
package/package.json
CHANGED
|
@@ -949,7 +949,7 @@
|
|
|
949
949
|
}
|
|
950
950
|
},
|
|
951
951
|
{
|
|
952
|
-
"id": "route-
|
|
952
|
+
"id": "route-halo",
|
|
953
953
|
"type": "line",
|
|
954
954
|
"source": "route-data",
|
|
955
955
|
"minzoom": 16.5,
|
|
@@ -958,30 +958,63 @@
|
|
|
958
958
|
"line-join": "round"
|
|
959
959
|
},
|
|
960
960
|
"paint": {
|
|
961
|
-
"line-color": "#
|
|
961
|
+
"line-color": "#ffffff",
|
|
962
962
|
"line-width": [
|
|
963
963
|
"interpolate", ["linear"], ["zoom"],
|
|
964
|
-
16.5,
|
|
965
|
-
18.0,
|
|
966
|
-
20.0,
|
|
964
|
+
16.5, 10,
|
|
965
|
+
18.0, 15,
|
|
966
|
+
20.0, 21
|
|
967
967
|
],
|
|
968
|
-
"line-opacity": 0.
|
|
968
|
+
"line-opacity": 0.95
|
|
969
969
|
}
|
|
970
970
|
},
|
|
971
971
|
{
|
|
972
|
-
"id": "route-
|
|
972
|
+
"id": "route-line",
|
|
973
973
|
"type": "line",
|
|
974
974
|
"source": "route-data",
|
|
975
975
|
"minzoom": 16.5,
|
|
976
|
+
"layout": {
|
|
977
|
+
"line-cap": "round",
|
|
978
|
+
"line-join": "round"
|
|
979
|
+
},
|
|
976
980
|
"paint": {
|
|
977
|
-
"line-color": "
|
|
981
|
+
"line-color": "#d32f2f",
|
|
978
982
|
"line-width": [
|
|
979
983
|
"interpolate", ["linear"], ["zoom"],
|
|
980
|
-
16.5,
|
|
981
|
-
18.0,
|
|
982
|
-
20.0,
|
|
984
|
+
16.5, 6,
|
|
985
|
+
18.0, 9,
|
|
986
|
+
20.0, 13
|
|
983
987
|
],
|
|
984
|
-
"line-opacity":
|
|
988
|
+
"line-opacity": 1
|
|
989
|
+
}
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
"id": "route-arrows",
|
|
993
|
+
"type": "symbol",
|
|
994
|
+
"source": "route-data",
|
|
995
|
+
"minzoom": 16.5,
|
|
996
|
+
"layout": {
|
|
997
|
+
"symbol-placement": "line",
|
|
998
|
+
"symbol-spacing": [
|
|
999
|
+
"interpolate", ["linear"], ["zoom"],
|
|
1000
|
+
16.5, 150,
|
|
1001
|
+
18.0, 290,
|
|
1002
|
+
20.0, 480
|
|
1003
|
+
],
|
|
1004
|
+
"icon-image": "route-arrow",
|
|
1005
|
+
"icon-rotation-alignment": "map",
|
|
1006
|
+
"icon-pitch-alignment": "map",
|
|
1007
|
+
"icon-allow-overlap": true,
|
|
1008
|
+
"icon-ignore-placement": true,
|
|
1009
|
+
"icon-size": [
|
|
1010
|
+
"interpolate", ["linear"], ["zoom"],
|
|
1011
|
+
16.5, 0.42,
|
|
1012
|
+
18.0, 0.62,
|
|
1013
|
+
20.0, 0.85
|
|
1014
|
+
]
|
|
1015
|
+
},
|
|
1016
|
+
"paint": {
|
|
1017
|
+
"icon-opacity": 1
|
|
985
1018
|
}
|
|
986
1019
|
},
|
|
987
1020
|
{
|
|
@@ -1034,7 +1067,7 @@
|
|
|
1034
1067
|
"circle-radius": 6,
|
|
1035
1068
|
"circle-color": "#ffffff",
|
|
1036
1069
|
"circle-stroke-width": 3,
|
|
1037
|
-
"circle-stroke-color": "#
|
|
1070
|
+
"circle-stroke-color": "#d32f2f",
|
|
1038
1071
|
"circle-opacity": 1
|
|
1039
1072
|
}
|
|
1040
1073
|
},
|
|
@@ -1046,7 +1079,7 @@
|
|
|
1046
1079
|
"filter": ["==", ["get", "role"], "destination"],
|
|
1047
1080
|
"paint": {
|
|
1048
1081
|
"circle-radius": 7,
|
|
1049
|
-
"circle-color": "#
|
|
1082
|
+
"circle-color": "#d32f2f",
|
|
1050
1083
|
"circle-stroke-width": 3,
|
|
1051
1084
|
"circle-stroke-color": "#ffffff",
|
|
1052
1085
|
"circle-opacity": 1
|