POI category classification with localized names.
Provides both a standardized category code and human-readable names in multiple languages for displaying POI types.
const classification: Classification = { code: 'RESTAURANT', names: [ { nameLocale: 'en-US', name: 'Restaurant' }, { nameLocale: 'fr-FR', name: 'Restaurant' }, { nameLocale: 'de-DE', name: 'Restaurant' } ]}; Copy
const classification: Classification = { code: 'RESTAURANT', names: [ { nameLocale: 'en-US', name: 'Restaurant' }, { nameLocale: 'fr-FR', name: 'Restaurant' }, { nameLocale: 'de-DE', name: 'Restaurant' } ]};
Standardized category code.
Use this for programmatic filtering and identification of POI types. See POICategory for available codes.
Localized names for this category.
Array of names in different languages/locales for internationalization support.
POI category classification with localized names.
Provides both a standardized category code and human-readable names in multiple languages for displaying POI types.
Example