Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Customizing clickable area on a Marker in Google Maps v2 for Android

I am currently using Google Maps v2 API for Android and doing some custom overlays. For starters, I create a custom bitmap that is quite a big larger than the standard "marker".

I know that using an older Maps API, you can create a custom overlayitem which controls the click-able area, but it must also be possible on the newer Maps API. I simply want my custom marker's click-able area to be the same as the custom bitmap icon I am setting it to. I have read over the examples and documentation and couldn't find anything. Any help would be appreciated.

Thanks

(Here is the doc I was reading)

https://developers.google.com/maps/documentation/android/marker#customize_a_marker
like image 500
Richard Lee Avatar asked Apr 06 '13 22:04

Richard Lee


1 Answers

Confirmed. A bug in the library.

I have created a bug report here: http://code.google.com/p/gmaps-api-issues/issues/detail?id=5368

Edit:

This has been fixed recently in the library and should work correctly now.

like image 161
MaciejGórski Avatar answered Sep 22 '22 19:09

MaciejGórski