src/geo/geocoder/tomtom-geocoder.js
function _getType (result) {
  let type = result.type;
  if (TYPES[type]) {
    if (type === 'Geography' && result.entityType) {
      type = type + ':' + result.entityType;
    }
    return TYPES[type];
  }

  return 'default';
}
function _getType (result) {
  let type = result.type;
  if (TYPES[type]) {
    if (type === 'Geography' && result.entityType) {
      type = type + ':' + result.entityType;
    }
    return TYPES[type];
  }

  return 'default';
}
function _getType ( result ) { let type = result . type ; if ( TYPES [ type ] ) { if ( type === 'Geography' && result . entityType ) { type = type + ':' + result . entityType ; } return TYPES [ type ] ; } return 'default' ; }
Transform the feature type into a well known enum.
Transform the feature type into a well known enum .