Re: [openstreetmap/openstreetmap-website] Can’t switch to Transport Map: TypeError: e is undefined in getMapBaseLayerId (#2215)

mmd notifications at github.com
Wed Apr 24 10:05:47 UTC 2019


I'm seeing the same sporadic failures on recent Chrome + Firefox on Win 10. It seems to affect all layers in the layer switcher, not only the Transport Map.

```
application-599745f20aed1b16d8ce60962f4b3458793d7d0649ba3eb1139998ecbdb83231.js:9 Uncaught TypeError: Cannot read property 'options' of undefined
    at e.getMapBaseLayerId (application-599745f20aed1b16d8ce60962f4b3458793d7d0649ba3eb1139998ecbdb83231.js:9)
    at e.l (index-8de4fda0f10c81f0db6593a86cdcf3e1310c83de0153758674c137b4d75f0cbb.js:1)
    at e.fire (application-599745f20aed1b16d8ce60962f4b3458793d7d0649ba3eb1139998ecbdb83231.js:5)
    at e.removeLayer (application-599745f20aed1b16d8ce60962f4b3458793d7d0649ba3eb1139998ecbdb83231.js:6)
    at index-8de4fda0f10c81f0db6593a86cdcf3e1310c83de0153758674c137b4d75f0cbb.js:1
    at Array.forEach (<anonymous>)
    at HTMLLIElement.<anonymous> (index-8de4fda0f10c81f0db6593a86cdcf3e1310c83de0153758674c137b4d75f0cbb.js:1)
    at HTMLLIElement.dispatch (application-599745f20aed1b16d8ce60962f4b3458793d7d0649ba3eb1139998ecbdb83231.js:2)
    at HTMLLIElement._.handle (application-599745f20aed1b16d8ce60962f4b3458793d7d0649ba3eb1139998ecbdb83231.js:2)
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2215#issuecomment-486159626
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190424/c4bc4a45/attachment.html>


More information about the rails-dev mailing list