bplmaps / argo-astro

Web app for argomaps.org — a multi-institutional collection of maps and geographic material from the late C18, led by the Leventhal Map & Education Center and the Washington Library at Mount Vernon
https://argomaps.org
0 stars 0 forks source link

Map base layer of "Search by map" module broken #112

Closed emilyrbowe closed 2 months ago

emilyrbowe commented 2 months ago

Just had a call with Ala + Henry and Ala flagged that the map base layer isn't working as expected (see below for screenshot):

image

@garrettdashnelson, I'll leave decision-making/delegating to you on this one, but wanted to flag it since I just had the call.

alexandergknoll commented 2 months ago

@emilyrbowe @garrettdashnelson looks to me like it may have something to do with the maptiler.com API (cuplrit looks like the call to apply the styles on line 98 of src/components/SearchByMap/SearchByMap.astro

Maybe log in and check to make sure the API key is still valid and the payment method isn't expired etc.

garrettdashnelson commented 2 months ago

This is at least temporarily fixed via #113. MapTiler changed something with their StyleJSON files, though I'm not sure exactly what. I checked and the API key is valid. Something has changed about the returned StyleJSON itself which OL is not liking. For the time being, I've reverted to raster base tiles (instead of vector), which work fine.