I have created a Leaflet map in one notebook and wish to show it in another notebook, which I presume should work by importing the cell. However, when I try, I get a
TypeError: Failed to fetch dynamically imported module
Here’s a simple notebook trying to embed Tom’s Leaflet Map
My console throws a CORS error:
Access to script at 'https://observablehq.com/@tmcw/leaflet' from origin 'https://aaronkyle.static.observableusercontent.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Any idea why this is the case, and how to import Tom’s rendered map?