我将带有一些坐标的标记粘贴到地图上,如何在标记上放置点?
val currentLocation = LatLng(location!!.latitude,location.longitude)
mMap!!.addMarker(MarkerOptions().position(currentLocation).title(Common.trackUser!!.email)
.snippet(Common.getDateFormatted(Common.convertTimeStampToDate(location.time))))
.setIcon(BitmapDescriptorFactory.defaultMarker(BitmapDescriptorFactory.HUE_AZURE))
您能帮我吗?
Okey没关系,解决是最简单的,然后我想。
mMap.addCircle(CircleOptions().center(drawCircle).radius(5.0).strokeColor(Color.BLACK)
.fillColor(Color.BLACK))
mMap.animateCamera(CameraUpdateFactory.newLatLngZoom(currentLocation,16f))
}