Skip to content

Commit

Permalink
Update MapsActivity.java
Browse files Browse the repository at this point in the history
  • Loading branch information
yazyyyyy authored Aug 17, 2021
1 parent 1b27568 commit 9c97808
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/com/example/rotg/MapsActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected void onCreate(Bundle savedInstanceState) {
* Manipulates the map once available.
* This callback is triggered when the map is ready to be used.
* This is where we can add markers or lines, add listeners or move the camera. In this case,
* we just add a marker near Sydney, Australia.
* we just add a marker near BNMIT smart bin.
* If Google Play services is not installed on the device, the user will be prompted to install
* it inside the SupportMapFragment. This method will only be triggered once the user has
* installed Google Play services and returned to the app.
Expand All @@ -39,7 +39,7 @@ protected void onCreate(Bundle savedInstanceState) {
public void onMapReady(GoogleMap googleMap) {
mMap = googleMap;

// Add a marker in Sydney and move the camera
// Add a marker in BNMIT and move the camera
LatLng bnmit = new LatLng(12.922153, 77.567152);
mMap.addMarker(new MarkerOptions().position(bnmit).title("Marker in BNMIT"));
mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(bnmit,10F));
Expand Down

0 comments on commit 9c97808

Please sign in to comment.