setDisplayMapKeyword

Function

Adds or removes MAP_SURVEY_TYPEKEYWORD type keyword and returns the updated list

  • setDisplayMapKeyword(typeKeywords: string[], displayMap: boolean) : string[]

Parameters

Parameter Type Default Notes
typeKeywords Required string[]
displayMap Required boolean

Returns

updated list of type keywords

string[]

Function defined in common/src/surveys/utils/set-display-map-keyword.ts:9