Closed mem48 closed 3 months ago
Sorry about that - I'll look at this shortly. Clearly there's been a regression and I should be able to find where it is.
@mvl22 have you made any progress on this?
Sorry, this is a priority for this weekend. I had an initial look recently but then ran into other things I had to sort out. Will update shortly.
The placenames change is fixed in 1995b936ea426c452a731a2b741f4f579ed46746. The layers were being lost on change, but seemingly the source also sometimes goes missing, which feels like a bug to me.
A possibly related (but less important) bug is that toggling the antialias switch changed the base map back to the default.
Did that ever work before? I can't see how, as there wasn't cookie memory, and the basemap wasn't in the URL state either.
We should arguably add this, now we have control of the URL hash.
@mem44 and @mvl22 is this fixed now, I don't fully understand, would be good to get an update.
In conversation with @wangzhao0217 I have tested it for various places and it works fine:
Also have discovered that the placenames are filtered to UK or GB, not Scotland. Will open up a separate issue.
I believe this is all resolved. Please do close.
@mvl22 I spotted this in https://github.com/PlaceBasedCarbonCalculator/PlaceBasedCarbonCalculator.github.io and was going crazy trying to work out what I'd done wrong. But it turns out this bug is in NPT too.
Observed bugs
The issue seems to be related to
Which only triggers during map creation.
A possibly related (but less important) bug is that toggling the antialias switch changed the base map back to the default.