Android maps - Markers Bounds at the center of top half of map area

前端 未结 1 1485
無奈伤痛
無奈伤痛 2020-12-21 13:53

I have Android Map Extension attached under actionBar.

I have couple of markers, lets say 2000.

Than I have ArrayList of selected 3 markers upon some constan

1条回答
  •  一向
    一向 (楼主)
    2020-12-21 14:10

    GoogleMap.setPadding is what you need. Simply set bottom to half of the height of your map.

    0 讨论(0)
提交回复
热议问题