I want to achive map behavior like in google maps application. Example: set marker on a shop somewhere in the bottom of the screen, click on that marker so info panel should open and overlay the marker, map moves it's content so marker is still visible. I don't know how to correctly quote this requirement so I've found nothing on that point in the internet. Is there any guide on this UI pattern?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
If you google it, you will find a lot of code and documentation regarding it. Please visit the link https://developers.google.com/maps/documentation/android/
you can start from here https://developers.google.com/maps/documentation/android/start
you will find it very close to your requirement
回答2:
you can set your content in info window API reference is here
https://developers.google.com/maps/documentation/android/infowindows