问题
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
来源:https://stackoverflow.com/questions/20395345/map-behavior-like-in-google-maps-application