Skip to content
This repository was archived by the owner on Dec 16, 2023. It is now read-only.

Commit 0374fe9

Browse files
committed
Add my location indicator
1 parent a651c3c commit 0374fe9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/src/main/java/com/marknkamau/justjava/ui/addAddress/AddAddressActivity.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ class AddAddressActivity : AppCompatActivity(), OnMapReadyCallback {
8383

8484
val nrb = LatLng(-1.286481, 36.817297)
8585
googleMap.moveCamera(CameraUpdateFactory.newLatLngZoom(nrb, 14f))
86+
googleMap.isMyLocationEnabled = true
8687
googleMap.uiSettings.isMyLocationButtonEnabled = true
8788

8889
googleMap.setOnCameraIdleListener {

0 commit comments

Comments
 (0)