1

Like many web google map. I want to have a link in the maker. Right now I can use googleMap.setInfoWindowAdapter(new InfoWindowAdapter() .... to have html string, which I can change text font and size, but after I click the link in the mark, nothing happen. Should I block the default setOnMarkerClickListener? Thanks. I can not upload image. please refer this link's map http://www.canadiantire.ca/en/store-locator.html

Kara
  • 6,115
  • 16
  • 50
  • 57
Jack
  • 49
  • 1
  • 9

1 Answers1

1

Sorry, what you want is not possible. While you can detect a click on the whole info window, the widgets you put in the info window will not respond to touch events. That is because what is actually shown is a bitmap of what the widgets look like, not the widgets themselves.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491