Static Google Map: Is it possible to add Text to the Marker

偶尔善良 提交于 2019-12-11 03:44:30

问题


In my Android application , i have placed on ImageView. And I call the below mentioned url to get the static map image (bitmap image). And i placed that bitmap map image into the imageview. I followed the developer site for displaying the static map. Static Map URL

Edit Added Android tag.

I just want to need my custom text to the markers like instead of G,C,S i want to display "Start","Middle","End".


回答1:


add only one char on lable in static google map, https://maps.googleapis.com/maps/api/staticmap?size=300x300&zoom=getZoom%28%29&markers=color:blue|label:R|23.01181690,72.52326790&key="Your Google Browser Key"



来源:https://stackoverflow.com/questions/20702299/static-google-map-is-it-possible-to-add-text-to-the-marker

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