Hello, I tried just add Map() in my layoutThere are theese errors

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)

Hi,

The same problem for me :/

It works including in the pom :

<dependency>

<groupId>org.yaml</groupId>

<artifactId>snakeyaml</artifactId>

</dependency>

Thank you for your comment.

However Vaadin directory is not a supported communication channel.

As mentioned in the description above please create an issue at the corresponding GitHub repo if further communication is still required.

Best regards XDEV Software