@VisibleForTesting static MapsFeature buildMapsMarkerFeature(String title,String description,String iconUrl,Location location){
  MapsFeature mapsFeature=new MapsFeature();
  mapsFeature.setType(MapsFeature.MARKER);
  mapsFeature.generateAndroidId();
  mapsFeature.setTitle(TextUtils.isEmpty(title) ? EMPTY_TITLE : title);
  mapsFeature.setDescription(description.replaceAll("\n","<br>"));
  mapsFeature.setIconUrl(iconUrl);
  mapsFeature.addPoint(location);
  return mapsFeature;
}

@ VisibleForTesting static MapsFeature buildMapsMarkerFeature ( String title , String description , String iconUrl , Location location ) { MapsFeature mapsFeature = new MapsFeature ( ) ; mapsFeature . setType ( MapsFeature . MARKER ) ; mapsFeature . generateAndroidId ( ) ; mapsFeature . setTitle ( TextUtils . isEmpty ( title ) ? EMPTY_TITLE : title ) ; mapsFeature . setDescription ( description . replaceAll ( "\n" , "<br>" ) ) ; mapsFeature . setIconUrl ( iconUrl ) ; mapsFeature . addPoint ( location ) ; return mapsFeature ; }
builds a map marker feature .
