Accessibility implementation for Google Maps Marker in Android Kotlin

0 votes
have to announce some customised content for my marker in google maps without showing the infoWindow for it. This is a part of accessibility implementation for a project.

Currently, I set the title(which needs to be announced) and have tried using setOnMarkClickListener. I call the hideInfoWindow function inside it. The problem with this approach is that when I click on the marker, it announces my content along with "Double Tap to Activate"(something related to accessibility).I need to avoid the extra text as a part of the requirement. (which basically would mean to make the marker not clickable)

I have also checked setContentDescription but it announces content for the whole map.

I want to basically make the marker non-interactable, not show the infoWindow but announce some text on accessibilty.

Is there a way to hide the infoWindow without a click listener and announce only the exact content I want?
Jun 22, 2022 in Kotlin by Harshitha
• 160 points
558 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Kotlin

0 votes
0 answers

What is .indices meaning in kotlin?

I want to know actually how .indices ...READ MORE

Jun 22, 2022 in Kotlin by Harshitha
• 160 points
558 views
0 votes
0 answers

What's the difference between !! and ? in Kotlin?

Kotlin is new to me. What makes ...READ MORE

Nov 18, 2022 in Kotlin by Tejashwini
• 3,820 points
383 views
0 votes
0 answers

Call Kotlin suspend function in Java class

Assume we have the following function: suspend fun doSomething(): ...READ MORE

Nov 18, 2022 in Kotlin by Tejashwini
• 3,820 points
1,843 views
0 votes
0 answers

Which standard library to use in Kotlin?

When using the JVM with Kotlin, it ...READ MORE

Nov 18, 2022 in Kotlin by Tejashwini
• 3,820 points
454 views
0 votes
0 answers

What's the different between native-mt and normal kotlin coroutine lib?

When using a coroutine, we have the ...READ MORE

Nov 18, 2022 in Kotlin by Tejashwini
• 3,820 points
547 views
0 votes
0 answers

Why can you run a Kotlin coroutine on the main thread?

I don't understand how this piece of ...READ MORE

Nov 18, 2022 in Kotlin by Tejashwini
• 3,820 points
651 views
0 votes
0 answers

How to keep marker on road? Google Maps Android

I'm working on an app that displays ...READ MORE

Nov 9, 2022 in Android by Edureka
• 12,690 points
374 views
0 votes
0 answers
0 votes
0 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP