@nativescript-community/ui-mapbox 7.0.6 → 7.0.8

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 CHANGED
@@ -3,6 +3,14 @@
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.8](https://github.com/nativescript-community/ui-mapbox/compare/v7.0.7...v7.0.8) (2025-11-03)
7
+
8
+ **Note:** Version bump only for package @nativescript-community/ui-mapbox
9
+
10
+ ## [7.0.7](https://github.com/nativescript-community/ui-mapbox/compare/v7.0.6...v7.0.7) (2025-10-30)
11
+
12
+ **Note:** Version bump only for package @nativescript-community/ui-mapbox
13
+
6
14
  ## [7.0.6](https://github.com/nativescript-community/ui-mapbox/compare/v7.0.5...v7.0.6) (2025-10-30)
7
15
 
8
16
  **Note:** Version bump only for package @nativescript-community/ui-mapbox
@@ -372,7 +372,7 @@ export declare class Mapbox extends MapboxCommon implements MapboxApi {
372
372
  */
373
373
  trackUser(options: TrackUserOptions, nativeMap?: any): Promise<void>;
374
374
  private static getAndroidColor;
375
- _getMapStyle(input: any): any;
375
+ _getMapStyle(input?: string): any;
376
376
  /**
377
377
  * Mapbox Map Options
378
378
  *
package/index.android.js CHANGED
@@ -2588,7 +2588,7 @@ export class Mapbox extends MapboxCommon {
2588
2588
  return android.graphics.Color.BLACK;
2589
2589
  }
2590
2590
  }
2591
- _getMapStyle(input) {
2591
+ _getMapStyle(input = 'streets') {
2592
2592
  if (Trace.isEnabled()) {
2593
2593
  CLog(CLogTypes.info, '_getMapStyle(): top with input:', input);
2594
2594
  }
package/index.ios.js CHANGED
@@ -1034,7 +1034,7 @@ export class Mapbox extends MapboxCommon {
1034
1034
  reject('No bridge available');
1035
1035
  return;
1036
1036
  }
1037
- const styleStr = typeof style === 'string' ? style : style.toString();
1037
+ const styleStr = (typeof style === 'string' ? style : style.toString()) ?? 'streets';
1038
1038
  b.setStyle(styleStr, (success, error) => {
1039
1039
  if (success)
1040
1040
  resolve();
@@ -1399,6 +1399,9 @@ export class Mapbox extends MapboxCommon {
1399
1399
  const marker = this._markers.find((m) => `${m.id}` === markerId);
1400
1400
  if (!marker)
1401
1401
  return;
1402
+ if (!!marker.onTap?.(marker)) {
1403
+ return;
1404
+ }
1402
1405
  if (marker === this.selectedMarker) {
1403
1406
  this.deselectMarker(marker);
1404
1407
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativescript-community/ui-mapbox",
3
- "version": "7.0.6",
3
+ "version": "7.0.8",
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": "e006c63969ca612b1b82a8e23c4a5ceeba9ab086"
58
+ "gitHead": "95b0b4305dc426d5bc4f46178686228ff9636fc3"
59
59
  }
Binary file