vaadin-component-factory / vcf-leaflet

vcf-leaflet provides a Java API for Leaflet.
Other
0 stars 1 forks source link

MarkerClusterPlugin not work #13

Closed ZhukovAlV closed 5 months ago

ZhukovAlV commented 5 months ago

Describe the bug Example https://github.com/vaadin-component-factory/vcf-leaflet/blob/master/src/test/java/org/vaadin/addons/componentfactory/leaflet/demo/view/plugins/MarkerClusterPluginExample.java has an JS error: Exception is thrown during JavaScript execution. Stacktrace will be dumped separately. The error has occurred in the JS code: '$0, $1, return $0.callLeafletFunction($1)' Error: The provided object is not a Layer. (http://localhost:8080/VAADIN/build/generated-flow-imports-Cmgc1gHW.js:16536:71338)

To Reproduce The archive of the project is attached. https://drive.google.com/file/d/1PSbtSGpTv_xlFgRDmLH9w7uZTBRyNVEG/view?usp=sharing

Screenshots error

Desktop (please complete the following information):

ZhukovAlV commented 5 months ago

I am sorry. I need use vcf-leaflet version 2.0.1