Map behavior like in Google Maps application [closed]

孤者浪人 提交于 2020-01-07 09:42:09

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!