Android の Google マップに画像をオーバーレイとして配置しています。画像の原点を座標に合わせて画像が表示されますか? それを制御する方法はありますか?画像の中心をオーバーレイ座標にしたい場合、どうすればよいですか?
どうもありがとう
//This will make the center of the image to be at the coordinates.
public abstract class CustomOverlay<Item extends OverlayItem> extends ItemizedOverlay<Item> {
public CustomOverlay(Drawable defaultMarker, MapView mapView) {
super(boundCenter(defaultMarker), mapView);
.
.
.
}