mapview

Android MapView is not loading

Hello. Im having problems with the MapView because its not loading the map. I've been reading around, and find many people with the same issue. I checked all the possible issues and it seems that everything is ok :P On the Manifest, the is inside the tag I have the before the tag In the emulator the 3G is working properly since i ...

draw track on mapview

I use following code to draw a track on the mapview, but i find that the bitmap only cache the mapview size. if some line outside the map. the bitmap will not cache. That make the track not complete. how can i solve that problem? Thank you `if ((bmap == null) || (lastZoom != mapv.getZoomLevel())) { Projection proj = mapv.getProject...

Strange drawing artefact using custom drawable with MapView

I'm trying to add my own drawable and use it in a series of overlays on a MapView. The drawable is basically a rounded box with a black outline and a number in the middle. I have managed to achieve this using the code below, however there is what looks like a flag to the left of my box, which I certainly don't think I have drawn - so I...

Draw an ImageView at specific GeoPoint on a MapView (Android)

Trying to solve my current problem of drawing an image on an Android MapView and then animate it to represent a moving object, I decided to try to just draw a raw ImageView at a GeoPoint on the map and then try and animate it from there. This is the code I put in my map activity (extends MapActivity)'s onCreate method: GeoPoint point ...

Explain animated overlays? (Android)

The Android Javadoc for the MapView Overlay class mentions two draw methods. One regular, and one for animated overlays. I have tried to find more information on how to animate overlays and use this second method, but it all keeps coming back to the same forum postings. Can anyone explain how you specify to the MapView that a certain Ov...

getting lat long from mapView iphone ?

hello, all , iam developing an ipad app that uses mapview to display google maps, my problem was how to get lat long of a perticular region, some how i manged to get by putting an overlay on the map view and getting point of that view , then converted to lat long. now my problem is i want to show an movable pointpin on the view so that ...

How does one implement drag and drop for Android marker?

Hi? I am working on a MapView app in Android. I have three markers that I want to be able to use the Google Map API getlocation-function on, later on. In order to try it out I would like to move the marker with a drag and drop-function, and then check the location. Anyone who has gotten a drag and drop to work on an android marker, or ...

gps marker on google maps android

I am developing an application which shows the current location of the user. I want to display a marker on the current location of the user. I have used an image as marker to display current location. But i want to display an animated arrow showing the range just like in the google maps android app. Can anyone please tell me how to ach...

Compositing Android MapView and SurfaceView

I have an application with a SurfaceView and a MapView. They are displayed in a single view, like so: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/mainlayout" android:layout_width="fill_parent" android:layout_height="fill_parent" > <co...

what parameters to pass to invalidate(left, top,right,bottom) for google map on android ?

Hi there, what parameters do I pass to this function ? invalidate(left, top, right, bottom) for use with google map on android ? thanks - ahsan ...

How to make MapView object transparent (alpha)?

All, I have a need to display information on a MapView object. No problems there. The issue is that there are times when the MapView object displays map details that visually compete with my overlay data. So, what I'd like to do is provide a way to "scale back" the MapView object visually by using an alpha channel. bold*Can an alpha...

Convert Degrees Minutes Seconds coordinates to decimal in Android

I have a database with coordinates in Degrees Minutes Seconds format, is there any way to change them to decimal coordinates using Android built in function or is there any simpler way to show such coordinates in a mapview ? ...

Creating MapView with ContextMenu without Overlays

I have a mapview and i wish to display a ContextMenu when longclick but so far the closest solution i've found is here on anddev , the main reason i do not like that method is because any click activate the ContextMenu instead of a long click. Question: Is there a way to display the ContextMenu of a Map without using Overlays? Why? ...

Google map API key on diferent android devices

I'm using MapView in my app. I have API key from google fore my release key store. I'exporting signed APK with eclipse and trying to install it on devices. On G1 device with Android 1.6 everything works well, but on HTC Desire with android 2.2 maps doesn't appear. I see just grey grid and zoom controls. Where problem can be? Please h...

In Android MapView -- how to reposition built-in zoom controls?

I need to place built-in zoom controls of MapView into position different from the default position. While it's easy to do using getZoomControls() method, this method is deprecated in recent API versions. Does anyone has idea how to do this without calling getZoomControls()? ...

Adding variable-size labels on top of MapView

I need to add 'balloon'- like markers to my map view. The difficult thing here - these markers include a variable-length text labels so these balloons have variable sizes. Actually this is exactly what implemented in native google-maps application to show labels. Any idea what is optimal way to do this? ...

Yellow Square on MapView Android

Hey there, I am using a mapView to show some places. Everything works ok, but when i see the map it shows a "yellow square" instead of the Google Brand, like this: http://dl.dropbox.com/u/14102938/map.png ...

Android MapView Projection returning negative numbers

I'm using the below code to put an overlay on my MapView. For some reason after itterating through the location data it draws the point in the same place. It seems to be happening on conversion from Location to GeoPoint to Projection: Location (lat : lon) 51.2651789188385 : -0.5398589372634888 Projection (x : y) 239 : ...