#known 2023-09-24

2023-09-24 UTC
[tw2113], IWSlackGateway, [snarfed], [catgirlinspace], [jeremycherfas], Hii, [Ana_R] and [capjamesg] joined the channel
#
jeremy
I have been trying to dig into the checkin plugin, and I am very puzzled by one thing in particular. When I create a checkin, I am shown the usual (old) map, provided by Leaflet and with Stamen tiles. But the saved checkin always has a blank space where the map ought to be. I don't quite see how that can be.
#
jeremy
`checkin.tpl.php` includes a full script to create a map, I think, and does not use either `leaflet.js` or `tile.stamen.min.js`. That script uses `L.StamenTileLayer`
#
jeremy
So, how come one works and the other does not?
#
jeremy
It looks as if the preview map is drawn by `checkin.min.js` but I still don't quite see why one works and the other doesn't.
#
jeremy
Confirmed that `checkin.min.js` provides the preview map by changing the flavor of `StamenTileLayer`
#
jeremy
All this spelunking prompted by schmarty so I suppose my next step might be to try and find all those Stamen URLs and convert to Stadia.
#
sknebel
L.StamenTileLayer very much looks a leaflet call from the stamin plugin, so leaflet and the Stamen library have to be included somewhere on the page using that
[schmarty], [tantek], [KevinMarks], [nsmsn], [chrisaldrich] and [Murray] joined the channel