Any thoughts on what this might be?
The only manipulation I did with the overlay was to draw a pointer in the middle.
The code follows
public boolean draw(Canvas canvas, MapView mapView, boolean shadow, long when) { super.draw(canvas, mapView, shadow); Point myScreenCoords = new Point(); mapView.getProjection().toPixels(point, myScreenCoords); Paint paint = new Paint(); paint.setARGB(255, 255, 255, 255); Bitmap bmp = BitmapFactory.decodeResource(getResources(), R.drawable.google_maps_marker); canvas.drawBitmap(bmp, myScreenCoords.x - (float)(bmp.getWidth() * 0.50), myScreenCoords.y - bmp.getHeight(), paint); return true; }
source share