How to display static google map on android imageview?

后端 未结 8 1917
长情又很酷
长情又很酷 2020-12-04 06:33

I want to display a static google map on an imageview. Something similar to \"Whatsapp\" showing while share the location. How can I do this?

相关标签:
8条回答
  • 2020-12-04 06:58

    As refered by @pcans, i really like his solution. You can use string as URL to load your image in ImageView. I suggest a third party library for image loading : https://github.com/koush/ion

    Hope that it can help you :)

    0 讨论(0)
  • 2020-12-04 07:03

    Firstly you take the image of your map which you show in drawable folder after that use as a background of that imageView.

    0 讨论(0)
提交回复
热议问题