title: Show route and map icon by default - Mapfragment Android
body: <p><a href="https://i.stack.imgur.com/GQRpo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GQRpo.png" alt="enter image description here"></a></p>
  
  <p>Hi,<br>
  1. Please find the route and map icon in the highlighted area.<br>
  2. These are shown on touch of the my location blue circle .<br>
  3. want to show those icons by default, without the user touching, as soon as the map loads.<br></p>
  
  <p>Below is the code :<br></p>
  
  <pre><code> protected void loadMap(GoogleMap googleMap, String latlng) {
          if (googleMap != null) {
              googleMap.setMyLocationEnabled(true);
              googleMap.getUiSettings().setMapToolbarEnabled(true);
              googleMap.getUiSettings().setMyLocationButtonEnabled(true);
              String[] latlngAry = latlng.split(",");
              double lat = Double.parseDouble(latlngAry[0]);
              double lng = Double.parseDouble(latlngAry[1]);
              LatLng latlong = new LatLng(lat, lng);
  
              BitmapDescriptor defaultMarker =
                      BitmapDescriptorFactory.defaultMarker(BitmapDescriptorFactory.HUE_AZURE);
  
              Marker marker = googleMap.addMarker(new MarkerOptions()
                      .position(latlong)
                      .title("My Location")
                      .icon(defaultMarker));
  
  
              marker.showInfoWindow();
              googleMap.moveCamera(CameraUpdateFactory.newLatLngZoom(latlong, 18));  }
  </code></pre>