0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Xamarin GoogleMap ロゴやボタンの書き出し位置変更 memo

Posted at

ズームボタン非表示 for android

var MapView = Control as MapView;
var ZoomButton.Visibility = ViewStatus.Gone;

ボタン位置変更 for android

NativeMap.SetPadding(0, 600, 0, 0);

paddingで書き出し位置を変える
上記だと書き出し位置を上から600(Px? dpi?) 下にずらす

ボタン位置変更 for ios

var mapView = Control as MapView; mapview.Padding = new UIEdgeInsets(0, 0, 100, 0):

iosも同じく
こちらは上に100ずらしてる

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?