```
IconGenerator iconFactory = new IconGenerator(this);
hM = googleMap.addMarker(new MarkerOptions()
    .position(new LatLng(lati1,longit1))
    .title("HostelM")
    .icon(BitmapDescriptorFactory.fromResource(R.drawable.parkingmarker)));

hM.setIcon(BitmapDescriptorFactory.fromResource(R.drawable.parkingmarker));

```

I am trying to add a custom marker and a icon text simultaneously on a single marker. But it only shows me either my custom marker or my text. Any solution or alternative for same?