getTextForFeature

fun getTextForFeature(localizedContext: Context, feature: Feature): TextForFeature

getNameForFeature returns text describing the feature for callouts. Usually it returns a name or if it doesn't have one then a localized description of the type of feature it is e.g. bike parking, or style. Some types of Feature have more info e.g. bus stops and railway stations

Return

a NameForFeature object containing the name and a flag indicating if it is a generic name from the OSM tag rather than an actual name.

Parameters

feature

to evaluate