Hello, I tried add Map() in my layout
There are these errors:
Exception is thrown during JavaScript execution. Stacktrace will be dumped separately.
The error has occurred in the JS code: '$0, return (function() { this.map=new L.map(this.getElementsByTagName('div')[0] );}).apply($0)'
Uncaught ReferenceError: L is not defined (http://localhost:8080/VAADIN/build/FlowClient-d5d5e377.js:1:7757)
Uncaught TypeError: Cannot read properties of undefined (reading 'invalidateSize') (http://localhost:8080/map:4:34)