当用户按下启用setMyLocationEnabled
时出现的此按钮时,我找不到通知方式。
答案 0 :(得分:1)
Google Maps Android API v2目前不支持此活动。
请参阅我的跟踪应用程序中的代码,了解如何创建变通方法
/*
* My Tracks needs to handle the onClick event when the my location button
* is clicked. Currently, the API doesn't allow handling onClick event,
* thus hiding the default my location button and providing our own.
*/