Skip to content

Commit a51467c

Browse files
authored
Merge branch 'main' into dependabot/github_actions/actions/setup-node-5
2 parents 4b65afe + 7b55a93 commit a51467c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • maps-compose/src/main/java/com/google/maps/android/compose

maps-compose/src/main/java/com/google/maps/android/compose/Marker.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ public fun MarkerComposable(
373373
* @param alpha the alpha (opacity) of the marker
374374
* @param anchor the anchor for the marker image
375375
* @param draggable sets the draggability for the marker
376+
* @param contentDescription the content description for accessibility purposes
376377
* @param flat sets if the marker should be flat against the map
377378
* @param icon sets the icon for the marker
378379
* @param infoWindowAnchor the anchor point of the info window on the marker image
@@ -396,6 +397,7 @@ public fun MarkerInfoWindow(
396397
alpha: Float = 1.0f,
397398
anchor: Offset = Offset(0.5f, 1.0f),
398399
draggable: Boolean = false,
400+
contentDescription: String? = "",
399401
flat: Boolean = false,
400402
icon: BitmapDescriptor? = null,
401403
infoWindowAnchor: Offset = Offset(0.5f, 0.0f),
@@ -416,6 +418,7 @@ public fun MarkerInfoWindow(
416418
alpha = alpha,
417419
anchor = anchor,
418420
draggable = draggable,
421+
contentDescription = contentDescription,
419422
flat = flat,
420423
icon = icon,
421424
infoWindowAnchor = infoWindowAnchor,

0 commit comments

Comments
 (0)