How to implement a small static map display as a list icon?

I created a ListActivity and now I want to add map previews as list icons. I do not want to extend MapView, because: the first one I just need a small static preview, and the second I have already expanded the ListView.

I have already considered using static map api , however it also looks good in these small sizes:

alt text

http://maps.google.com/maps/api/staticmap?center=40.714728,-73.998672&zoom=12&size=65x65&maptype=roadmap&sensor=true

+3
source share
2

Android , , . -.

+1

MapView

map:liteMode="true"

MapView, , . . myMapView.onCreate(), myMapView.getMapAsync() ..

0

Source: https://habr.com/ru/post/1766717/


All Articles