@nativescript-community/ui-mapbox 6.2.15 → 6.2.20
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/CHANGELOG.md +13 -93
- package/README.md +72 -12
- package/blueprint.md +922 -0
- package/common.d.ts +199 -0
- package/common.js +44 -4
- package/expression/expression-parser.ios.js +1 -1
- package/geo.utils.d.ts +13 -0
- package/geo.utils.js +14 -1
- package/index.android.d.ts +332 -1
- package/index.android.js +452 -21
- package/index.ios.d.ts +179 -0
- package/index.ios.js +356 -269
- package/layers/layer-factory.android.js +2 -1
- package/layers/layer-factory.ios.js +4 -1
- package/layers/parser/property-parser.android.js +1 -0
- package/layers/parser/property-parser.ios.js +3 -3
- package/package.json +3 -3
- package/platforms/android/ui_mapbox.aar +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,211 +3,131 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [6.2.
|
|
6
|
+
## [6.2.20](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.19...v6.2.20) (2023-09-06)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
9
9
|
|
|
10
|
+
## [6.2.19](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.15...v6.2.19) (2022-09-14)
|
|
10
11
|
|
|
12
|
+
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
11
13
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
## [6.2.14](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.13...v6.2.14) (2022-02-09)
|
|
14
|
+
## [6.2.18](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.15...v6.2.18) (2022-09-14)
|
|
15
15
|
|
|
16
16
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
17
17
|
|
|
18
|
+
## [6.2.17](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.15...v6.2.17) (2022-09-14)
|
|
18
19
|
|
|
20
|
+
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
19
21
|
|
|
22
|
+
## [6.2.16](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.15...v6.2.16) (2022-09-14)
|
|
20
23
|
|
|
24
|
+
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
21
25
|
|
|
22
|
-
## [6.2.
|
|
26
|
+
## [6.2.15](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.14...v6.2.15) (2022-03-03)
|
|
23
27
|
|
|
24
28
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
25
29
|
|
|
30
|
+
## [6.2.14](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.13...v6.2.14) (2022-02-09)
|
|
26
31
|
|
|
32
|
+
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
27
33
|
|
|
34
|
+
## [6.2.13](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.12...v6.2.13) (2022-01-19)
|
|
28
35
|
|
|
36
|
+
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
29
37
|
|
|
30
38
|
## [6.2.12](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.11...v6.2.12) (2022-01-17)
|
|
31
39
|
|
|
32
40
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
33
41
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
42
|
## [6.2.11](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.10...v6.2.11) (2022-01-09)
|
|
39
43
|
|
|
40
|
-
|
|
41
44
|
### Bug Fixes
|
|
42
45
|
|
|
43
46
|
* add okhttp implementation ([f73304f](https://github.com/nativescript-community/ui-mapbox/commit/f73304faf9fae447bf0e56c794ed818d2357d887))
|
|
44
47
|
* downgrade iOS Mapbox version ([3aa8196](https://github.com/nativescript-community/ui-mapbox/commit/3aa8196259497799a2f8c1019b0210b9834bb2cf))
|
|
45
48
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
49
|
## [6.2.10](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.9...v6.2.10) (2021-09-28)
|
|
51
50
|
|
|
52
51
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
53
52
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
53
|
## [6.2.9](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.8...v6.2.9) (2021-05-07)
|
|
59
54
|
|
|
60
55
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
61
56
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
57
|
## [6.2.8](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.7...v6.2.8) (2021-03-30)
|
|
67
58
|
|
|
68
59
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
69
60
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
61
|
## [6.2.7](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.6...v6.2.7) (2021-02-25)
|
|
75
62
|
|
|
76
63
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
77
64
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
65
|
## [6.2.6](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.5...v6.2.6) (2021-02-20)
|
|
83
66
|
|
|
84
67
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
85
68
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
69
|
## [6.2.5](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.4...v6.2.5) (2021-02-18)
|
|
91
70
|
|
|
92
71
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
93
72
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
73
|
## [6.2.4](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.3...v6.2.4) (2021-02-18)
|
|
99
74
|
|
|
100
75
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
101
76
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
77
|
## [6.2.3](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.2...v6.2.3) (2021-02-09)
|
|
107
78
|
|
|
108
79
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
109
80
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
81
|
## [6.2.2](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.1...v6.2.2) (2021-02-07)
|
|
115
82
|
|
|
116
83
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
117
84
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
85
|
## [6.2.1](https://github.com/nativescript-community/ui-mapbox/compare/v6.2.0...v6.2.1) (2021-02-07)
|
|
123
86
|
|
|
124
87
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
125
88
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
89
|
# [6.2.0](https://github.com/nativescript-community/ui-mapbox/compare/v6.1.0...v6.2.0) (2020-12-30)
|
|
131
90
|
|
|
132
91
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
133
92
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
93
|
# [6.1.0](https://github.com/nativescript-community/ui-mapbox/compare/v6.0.7...v6.1.0) (2020-12-23)
|
|
139
94
|
|
|
140
95
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
141
96
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
97
|
## [6.0.7](https://github.com/nativescript-community/ui-mapbox/compare/v6.0.6...v6.0.7) (2020-11-25)
|
|
147
98
|
|
|
148
99
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
149
100
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
101
|
## [6.0.6](https://github.com/nativescript-community/ui-mapbox/compare/v6.0.5...v6.0.6) (2020-11-23)
|
|
155
102
|
|
|
156
103
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
157
104
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
105
|
## [6.0.5](https://github.com/nativescript-community/ui-mapbox/compare/v6.0.4...v6.0.5) (2020-11-22)
|
|
163
106
|
|
|
164
|
-
|
|
165
107
|
### Bug Fixes
|
|
166
108
|
|
|
167
109
|
* typo ([e841223](https://github.com/nativescript-community/ui-mapbox/commit/e841223b6b89a579ece1886ad250f787dd7395d0))
|
|
168
110
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
111
|
## [6.0.4](https://github.com/nativescript-community/ui-mapbox/compare/v6.0.3...v6.0.4) (2020-11-19)
|
|
174
112
|
|
|
175
113
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
176
114
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
115
|
## [6.0.3](https://github.com/nativescript-community/ui-mapbox/compare/v6.0.2...v6.0.3) (2020-11-13)
|
|
182
116
|
|
|
183
117
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
184
118
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
119
|
## [6.0.2](https://github.com/nativescript-community/ui-mapbox/compare/v6.0.1...v6.0.2) (2020-11-13)
|
|
190
120
|
|
|
191
121
|
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
192
122
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
123
|
## [6.0.1](https://github.com/nativescript-community/ui-mapbox/compare/v6.0.0...v6.0.1) (2020-11-12)
|
|
198
124
|
|
|
199
|
-
|
|
200
125
|
### Bug Fixes
|
|
201
126
|
|
|
202
127
|
* android fix for anroid 11 ([97e1ad8](https://github.com/nativescript-community/ui-mapbox/commit/97e1ad86cb06c48e74712fbc8bdfcabdb854ab94))
|
|
203
128
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
129
|
# 6.0.0 (2020-11-12)
|
|
209
130
|
|
|
210
|
-
|
|
211
131
|
### Bug Fixes
|
|
212
132
|
|
|
213
133
|
* ios upgraded sdk ([41785b9](https://github.com/nativescript-community/ui-mapbox/commit/41785b91f4bd6ba3a5b3aa6547c0e4c156a3363e))
|
package/README.md
CHANGED
|
@@ -91,9 +91,15 @@
|
|
|
91
91
|
* [hasFineLocationPermission / requestFineLocationPermission](#hasfinelocationpermission--requestfinelocationpermission)
|
|
92
92
|
* [Using marker images from the internet](#using-marker-images-from-the-internet)
|
|
93
93
|
* [Demos and Development](#demos-and-development)
|
|
94
|
-
* [Setup](#setup)
|
|
94
|
+
* [Repo Setup](#repo-setup)
|
|
95
95
|
* [Build](#build)
|
|
96
96
|
* [Demos](#demos)
|
|
97
|
+
* [Contributing](#contributing)
|
|
98
|
+
* [Update repo ](#update-repo-)
|
|
99
|
+
* [Update readme ](#update-readme-)
|
|
100
|
+
* [Update doc ](#update-doc-)
|
|
101
|
+
* [Publish](#publish)
|
|
102
|
+
* [modifying submodules](#modifying-submodules)
|
|
97
103
|
* [Questions](#questions)
|
|
98
104
|
|
|
99
105
|
|
|
@@ -1054,18 +1060,18 @@ the domain. Google for iOS ATS for detailed options, but for a quick test you ca
|
|
|
1054
1060
|
## Demos and Development
|
|
1055
1061
|
|
|
1056
1062
|
|
|
1057
|
-
### Setup
|
|
1058
|
-
|
|
1059
|
-
To run the demos, you must clone this repo **recursively**.
|
|
1063
|
+
### Repo Setup
|
|
1060
1064
|
|
|
1065
|
+
The repo uses submodules. If you did not clone with ` --recursive` then you need to call
|
|
1061
1066
|
```
|
|
1062
|
-
git
|
|
1067
|
+
git submodule update --init
|
|
1063
1068
|
```
|
|
1064
1069
|
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1070
|
+
The package manager used to install and link dependencies must be `pnpm` or `yarn`. `npm` wont work.
|
|
1071
|
+
|
|
1072
|
+
To develop and test:
|
|
1073
|
+
if you use `yarn` then run `yarn`
|
|
1074
|
+
if you use `pnpm` then run `pnpm i`
|
|
1069
1075
|
|
|
1070
1076
|
**Interactive Menu:**
|
|
1071
1077
|
|
|
@@ -1074,10 +1080,9 @@ To start the interactive menu, run `npm start` (or `yarn start` or `pnpm start`)
|
|
|
1074
1080
|
### Build
|
|
1075
1081
|
|
|
1076
1082
|
```bash
|
|
1077
|
-
npm run build
|
|
1078
|
-
|
|
1079
|
-
npm run build.angular # or for Angular
|
|
1083
|
+
npm run build.all
|
|
1080
1084
|
```
|
|
1085
|
+
WARNING: it seems `yarn build.all` wont always work (not finding binaries in `node_modules/.bin`) which is why the doc explicitly uses `npm run`
|
|
1081
1086
|
|
|
1082
1087
|
### Demos
|
|
1083
1088
|
|
|
@@ -1086,6 +1091,61 @@ npm run demo.[ng|react|svelte|vue].[ios|android]
|
|
|
1086
1091
|
|
|
1087
1092
|
npm run demo.svelte.ios # Example
|
|
1088
1093
|
```
|
|
1094
|
+
|
|
1095
|
+
Demo setup is a bit special in the sense that if you want to modify/add demos you dont work directly in `demo-[ng|react|svelte|vue]`
|
|
1096
|
+
Instead you work in `demo-snippets/[ng|react|svelte|vue]`
|
|
1097
|
+
You can start from the `install.ts` of each flavor to see how to register new demos
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
[](#contributing)
|
|
1101
|
+
|
|
1102
|
+
## Contributing
|
|
1103
|
+
|
|
1104
|
+
### Update repo
|
|
1105
|
+
|
|
1106
|
+
You can update the repo files quite easily
|
|
1107
|
+
|
|
1108
|
+
First update the submodules
|
|
1109
|
+
|
|
1110
|
+
```bash
|
|
1111
|
+
npm run update
|
|
1112
|
+
```
|
|
1113
|
+
|
|
1114
|
+
Then commit the changes
|
|
1115
|
+
Then update common files
|
|
1116
|
+
|
|
1117
|
+
```bash
|
|
1118
|
+
npm run sync
|
|
1119
|
+
```
|
|
1120
|
+
Then you can run `yarn|pnpm`, commit changed files if any
|
|
1121
|
+
|
|
1122
|
+
### Update readme
|
|
1123
|
+
```bash
|
|
1124
|
+
npm run readme
|
|
1125
|
+
```
|
|
1126
|
+
|
|
1127
|
+
### Update doc
|
|
1128
|
+
```bash
|
|
1129
|
+
npm run doc
|
|
1130
|
+
```
|
|
1131
|
+
|
|
1132
|
+
### Publish
|
|
1133
|
+
|
|
1134
|
+
The publishing is completely handled by `lerna` (you can add `-- --bump major` to force a major release)
|
|
1135
|
+
Simply run
|
|
1136
|
+
```shell
|
|
1137
|
+
npm run publish
|
|
1138
|
+
```
|
|
1139
|
+
|
|
1140
|
+
### modifying submodules
|
|
1141
|
+
|
|
1142
|
+
The repo uses https:// for submodules which means you won't be able to push directly into the submodules.
|
|
1143
|
+
One easy solution is t modify `~/.gitconfig` and add
|
|
1144
|
+
```
|
|
1145
|
+
[url "ssh://git@github.com/"]
|
|
1146
|
+
pushInsteadOf = https://github.com/
|
|
1147
|
+
```
|
|
1148
|
+
|
|
1089
1149
|
|
|
1090
1150
|
[](#questions)
|
|
1091
1151
|
|