diff --git a/packages/pluggableWidgets/maps-web/src/components/GoogleMap.tsx b/packages/pluggableWidgets/maps-web/src/components/GoogleMap.tsx
index f8cee6dd3f..9109cf27b4 100644
--- a/packages/pluggableWidgets/maps-web/src/components/GoogleMap.tsx
+++ b/packages/pluggableWidgets/maps-web/src/components/GoogleMap.tsx
@@ -101,8 +101,11 @@ function GoogleMap(props: GoogleMapsProps): ReactElement {
{locations
.concat(currentLocation ? [currentLocation] : [])
.filter(m => !!m)
- .map((marker, index) => (
-
+ .map(marker => (
+
))}
) : (
diff --git a/packages/pluggableWidgets/maps-web/src/components/LeafletMap.tsx b/packages/pluggableWidgets/maps-web/src/components/LeafletMap.tsx
index c1993f05e2..62549c6e49 100644
--- a/packages/pluggableWidgets/maps-web/src/components/LeafletMap.tsx
+++ b/packages/pluggableWidgets/maps-web/src/components/LeafletMap.tsx
@@ -89,7 +89,7 @@ export function LeafletMap(props: LeafletProps): ReactElement {
{locations
.concat(currentLocation ? [currentLocation] : [])
.filter(m => !!m)
- .map((marker, index) => (
+ .map(marker => (
void;
+ id?: string;
}
export interface Marker {
@@ -15,6 +16,7 @@ export interface Marker {
url: string;
onClick?: () => void;
title?: string;
+ id?: string;
}
export interface SharedProps extends Dimensions {