Skip to content

Location Data Model

locationData (Array)

Contains campus locations with:

  • name : Campus name
  • id : Unique ID for DOM and marker reference
  • cardImage : Hero image URL
  • streetAddress : Campus street address
  • cityStateZip : City, state, ZIP string
  • mapUrl : Google Maps link
  • position : { lat, lng } object for marker
  • phone : Phone number(s)
  • services : Array of service names and times
  • moreUrl : Link to campus page

processedLocationData

Enriched version with:

  • searchableText : Lowercased mega-string of names, services, addresses and enhancements for search matching.

Enhancement Map:

Adds extra synonyms to search queries:

  • sunsunday
  • a.m.am morning
  • españolspanish etc.

Explore and learn. Released under the MIT License.