Add map thumbnails for Vet Center CAPs to the Locations page #15656
Labels
Blocked
Issues that are blocked on factors other than blocking issues.
Facilities
Facilities products (VAMC, Vet Center, etc)
Needs refining
Issue status
sitewide
VA.gov frontend
CMS team practice area
Vet Center
CMS managed product owned by Facilities team
Status = BLOCKED
Blocked by either:
Adding CAP data to LH Facilities API - #9727
The current way facility map thumbnails are pulled in relies on querying the Facilities API. Since CAPs are not yet part of the Facilities API, this method will not work for CAPs
OR
Making Drupal CMS the source of truth for map thumbnails - #15672
There's already geolocation data in Drupal, so we could update the FE templates to rely on Drupal via Content Build / Next Build and remove the dependency on Vets Website / LightHouse Facilities API
Description
A Vet Center Locations page displays listings for the Main Vet Center along with, if affiliated, Outstations, Mobile Vet Centers, and CAPs.
Map thumbnails are displayed for the Main Vet Center and for Outstations but not for CAPs.
Example: On the Fargo Vet Center Locations page
CAPs have a visible thumbnail in the Drupal interface (only visible to Content Admins) but it is not rendered on the front end. The page briefly appears to try and load but ultimately, the map is not displayed.
Steps to reproduce
Note: map thumbnails are not expected for Mobile Vet Centers!
Acceptance criteria
The text was updated successfully, but these errors were encountered: