是否有添加彈出視圖(汽車圖標,持續時間和距離),像下面的圖像在Android?我用標記來指示位置。當用戶點擊位置時,我想顯示彈出式視圖與圖標,持續時間,距離。在谷歌地圖上添加圖標和標記Android
// Creating an instance of MarkerOptions
MarkerOptions markerOptions = new MarkerOptions();
// Setting latitude and longitude for the marker
markerOptions.position(point);
markerOptions.title(clientName);
if(bitmap != null)
{ markerOptions.icon(BitmapDescriptorFactory.fromBitmap(bitmap));}
else{
markerOptions.icon(BitmapDescriptorFactory.defaultMarker());
}
// Adding marker on the Google Map
googleMap.addMarker(markerOptions);
@peter可以管理添加和圖標和標題。 – meazuri