I want to draw a circle on map view. I want the user to input the radius and for that radius I have to show circle on map. After that I have to display markers on some locat
For Kotlin, to draw a circle in the center of the map, you can use
mMap.setOnCameraIdleListener { val midLatLng: LatLng = mMap.cameraPosition.target mMap.addCircle(CircleOptions() .center(midLatLng) .radius(radiusInMeters) .strokeWidth(1f) .fillColor(0x880000FF)) }
mMap is GoogleMap
mMap
GoogleMap