グーグルマップマーカーのようなことをしようとしていますか?その場合は、ItemizedOverlay を使用する必要があります。ネットの ItemizedOverlay で例を見つけることができます。「ItemizedOverlayの例」をグーグルで検索してください。
mapView に円のような形を描きたいだけですか?? もしそうなら、これはあなたがしなければならないことです.. ItemizedOverlayを拡張するクラスを書いてください...... onDrawメソッドでこのコードを使用してください
@Override
public void draw(Canvas canvas, MapView mapView, boolean shadow/*, long when*/) {
super.draw(canvas, mapView, shadow);
Paint paint = new Paint();
// Converts lat/lng-Point to OUR coordinates on the screen.
android.graphics.Point myScreenCoords = new android.graphics.Point();
GeoPoint point = new GeoPoint(15340000,75120000);
mapView.getProjection().toPixels(point, myScreenCoords);
paint.setStrokeWidth(1);
paint.setARGB(255, 255, 255, 255);
paint.setStyle(Paint.Style.STROKE);
paint.setTextSize(20);
paint.setColor(Color.RED);
paint.setStrokeWidth(2);
canvas.drawText("Here I am...", myScreenCoords.x-10,myScreenCoords.y-48, paint);
return true; }