8

I've implemented a custom infoWindow which I programmed to display when touching a marker.

When I touch the infoWindow, it highlights in the default blue color (on Jelly bean) as stated by the Google Maps v2 API. The issue is that I can't seem to disable this highligh.

I have tried adding:

<android:clickable="false">

but it didn't work.

I also tried implementing the OnInfoWindowClickListener and overriding the onInfoWindowClick method, but this didn't work either.

"Help me, Obi-Wan Kenobi. You're my only hope"

4
  • have u tried android:focusable="false" android:focusableInTouchMode="false" Commented Mar 10, 2013 at 9:46
  • have you tried: android:cacheColorHint="@android:color/transparent"? Commented Mar 10, 2013 at 9:48
  • tried putting all 3 of them in the XML but it still doesn't work :/ any more ideas? Commented Mar 10, 2013 at 9:53
  • Please check this link... stackoverflow.com/questions/15531578/… Commented Aug 22, 2013 at 9:39

1 Answer 1

0

AFAIK there is no API to do it (yet), there is an acknowledged issue in gmaps-api-issues:

https://code.google.com/p/gmaps-api-issues/issues/detail?id=4783

Hopefully, it will be possible soon

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.