@nativescript-community/ui-mapbox 7.0.9 → 7.0.10
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 +4 -0
- package/index.ios.js +2 -2
- package/markers/Marker.common.js +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
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
|
+
## [7.0.10](https://github.com/nativescript-community/ui-mapbox/compare/v7.0.9...v7.0.10) (2025-11-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @nativescript-community/ui-mapbox
|
|
9
|
+
|
|
6
10
|
## [7.0.9](https://github.com/nativescript-community/ui-mapbox/compare/v7.0.8...v7.0.9) (2025-11-04)
|
|
7
11
|
|
|
8
12
|
### Bug Fixes
|
package/index.ios.js
CHANGED
|
@@ -1311,14 +1311,14 @@ export class Mapbox extends MapboxCommon {
|
|
|
1311
1311
|
// ---------------- Callouts ----------------
|
|
1312
1312
|
createCalloutView(marker) {
|
|
1313
1313
|
if (Trace.isEnabled()) {
|
|
1314
|
-
CLog(CLogTypes.info, 'createCalloutView():', marker.id, marker.title, !!this._reusableCalloutView);
|
|
1314
|
+
CLog(CLogTypes.info, 'createCalloutView():', marker.id, marker.title, marker?.subtitle, !!this._reusableCalloutView);
|
|
1315
1315
|
}
|
|
1316
1316
|
if (this._reusableCalloutView) {
|
|
1317
1317
|
const title = this._reusableCalloutView.getViewById('title');
|
|
1318
1318
|
title.text = marker?.title || '';
|
|
1319
1319
|
const subtitle = this._reusableCalloutView.getViewById('subtitle');
|
|
1320
1320
|
subtitle.text = marker?.subtitle;
|
|
1321
|
-
subtitle.visibility = marker?.subtitle ? 'visible' : 'collapse';
|
|
1321
|
+
// subtitle.visibility = marker?.subtitle ? 'visible' : 'collapse';
|
|
1322
1322
|
}
|
|
1323
1323
|
else {
|
|
1324
1324
|
this._reusableCalloutView = createInfoWindowView(marker.title, marker.subtitle);
|
package/markers/Marker.common.js
CHANGED
|
@@ -8,6 +8,7 @@ export function createInfoWindowView(title, snippet) {
|
|
|
8
8
|
view.width = 'auto'; // WRAP_CONTENT
|
|
9
9
|
view.height = 'auto'; // WRAP_CONTENT
|
|
10
10
|
view.borderRadius = 12;
|
|
11
|
+
view.color = new Color('#555');
|
|
11
12
|
view['shadowColor'] = '#000';
|
|
12
13
|
view['shadowOpacity'] = 0.25;
|
|
13
14
|
view['shadowRadius'] = 8;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nativescript-community/ui-mapbox",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.10",
|
|
4
4
|
"description": "Interactive, thoroughly customizable maps powered by vector tiles and OpenGL.",
|
|
5
5
|
"main": "index",
|
|
6
6
|
"typings": "index.d.ts",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@nativescript-community/perms": "^3.0.4"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "c43922d8db0e76946ab89655313a4acfc34a0d81"
|
|
59
59
|
}
|