![]() also the maximum image size returned is 640 x 640, so you might want to query multiple times and combine the images. ![]() 1) Use Google Static Map API, they are simple querystring based API, which will return an Image as a result. For example, images produced with the snapshot () method can be used to display a thumbnail of the map in your app, or a snapshot in the notification center. Solution 1, There might be better ways to do this, but as per my knowledge following are the two ways you can do this. Note: Similar to a View object, a GoogleMap can. You can use snapshots within your application when an interactive map would be difficult, or impossible, to use. You cannot instantiate a GoogleMap object directly, rather, you must obtain one from the getMapAsync () method on a MapFragment or MapView that you have added to your application. ![]() maps import import android.os.Bundle import import .maps.CameraUpdateFactory import .maps.GoogleMap import .maps.MapFragment import. import. import. import .maps.model. This is the main class of the Google Maps SDK for Android and is the entry point for all methods related to the map. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |