Questions tagged [android-mapview]

MapView allows you to create your own Google map-viewing Activity

A View which displays a map (with data obtained from the Google Maps service)

MapView usually refers to the old and obsolete v1 API. For the current v2 API, use .

Useful links

2307 questions
0
votes
1 answer

Clicking on Overlays in MapView

I've created a MapActivity that uses MapView to place drawables on an ArrayList of points I've specified. This works great. I want the user to be able to press each point and have a bubble appear (as when you are using Google Maps in your web…
Andrew
  • 20,756
  • 32
  • 99
  • 177
0
votes
1 answer

java.lang.OutOfMemoryError: bitmap size exceeds VM budget even though I don't use any image

I'm having a problem in my app that I never met before.I've been having this app for a while and runned it thousands of time, but I never got this error. I have a server that receives some GPS data that are written also in a DB and a singleton…
adrian
  • 4,574
  • 17
  • 68
  • 119
0
votes
1 answer

Is it possible to view exact google map in Android app?

I have created a mapview application and it shows map without any problem. But when I compare this map with the "Maps" application in the Android phone, there is some mismatch in the places. Some places are not shown in my application. I think the…
indira
  • 6,569
  • 18
  • 65
  • 80
0
votes
1 answer

Layout to constrain size of MapView

I'm trying to constrain the size of a MapView so that it takes up, say 90% of the screen's height and leaves the remaining 10% at the bottom for another view e.g. a menu bar. I can get the effect but the menu bar overlays the MapView so that the…
John J Smith
  • 11,435
  • 9
  • 53
  • 72
0
votes
1 answer

Change person icon on map using OsmDroid

I am using Osmdroid for the map in an activity, but I cannot change the default icon of a yellow person. Currently what I am trying, but nothing is shown on the map. Bitmap bitmap = BitmapFactory.decodeResource(getResources(),…
TonyOH
  • 25
  • 4
0
votes
1 answer

Android MapView: how to save position/zoom after animateTo and zoom?

Is there anyway I can get some position information for animateTo or current center of the MapView so I can restore it later? Also the same for zoom level? Thanks!
Heuristic
  • 5,087
  • 9
  • 54
  • 94
0
votes
1 answer

Map view set according to distance

I am a new android developer. I am creating a map view application Where I want to set up my map view according distance from my current location. I have three buttons such as 100m,500m and 1 Km . When application is started then mapview will appear…
dulal_026
  • 589
  • 1
  • 6
  • 20
0
votes
1 answer

Help with code layout

I hope I can explain this properly. I'm making an android app that, when you open it, it connects to a JSON server, pulls down the data (GPS coords) and dynamically creates a "menu" based on what it received (View1). This will consist of a few…
eoinzy
  • 2,152
  • 4
  • 36
  • 67
0
votes
1 answer

How to display particular position on the MapView?

I have a position, which I need to display. The format is like: lat: 59.915494, lng: 30.409456 Also I need to display current position of the user. The following code: MyLocationOverlay myLocationOverlay = new MyLocationOverlay(this, mapView); …
LA_
  • 19,823
  • 58
  • 172
  • 308
0
votes
2 answers

Mapview in tab based android

Hai, I am new android developer. I want to create a Tab host application . There will be 3 different tab items .Each item is attached with map view. I want to change the zoom label of each map when tab each item. How can i do it...
dulal_026
  • 589
  • 1
  • 6
  • 20
0
votes
0 answers

Google maps for Android, firewall whitelist

I'm developing a company specific Android application that uses Maps SDK for Android and Google Maps Intents for Android (com.google.android.apps.maps) to show some markers on Google map. Users use directions and streetview Apis on these maps as…
0
votes
2 answers

Mapview example crashing on launch

i am trying mapview example. But it is crashing on activity launch. my build target is Google API for version 2.1. it is crashing on both device and emulator. Also, i am not able to Override method isRouteDisplayed. here is my code package…
sandeep
  • 937
  • 2
  • 12
  • 22
0
votes
1 answer

How can I invisible mapview view on navigationview

I am trying a navigation application demo. I use a button,a mapview and a navigation view same layout. When layout created, mapview init for getting destination point and drawing route from current location. Then when clicked on the start button,…
0
votes
0 answers

Update the MapView with location from a service when the screen is turned off

I'm building an application for recording the user's route. I have a foreground service where I request the current location every 10 seconds. Because of the fact that LocalBroadcastManager is deprecated, I use Greenrobot's EventBus for sending the…
H.Karatsanov
  • 199
  • 4
  • 16
0
votes
1 answer

Google maps fragment scroll and drag jerky

I inserted the following fragment inside a NestedScrollView and inside a table layout: