We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05cf991 commit 58859bdCopy full SHA for 58859bd
src/ui-mapbox/index.ios.ts
@@ -1451,6 +1451,10 @@ export class Mapbox extends MapboxCommon implements MapboxApi {
1451
if (!markerId) return;
1452
const marker = this._markers.find((m) => `${m.id}` === markerId);
1453
if (!marker) return;
1454
+ if (!!marker.onTap?.(marker)) {
1455
+ return;
1456
+ }
1457
+
1458
if (marker === this.selectedMarker) {
1459
this.deselectMarker(marker);
1460
} else {
0 commit comments