I created a frontend app in Angular and deployed it to Tomcat 10, and the following error occurs with easyButton.
TypeError: be.easyButton is not a function
at t.initMap (main-42XGJJIS.js:8:103583)
at t. (main-42XGJJIS.js:8:102931)
at Generator.next ()
at a (main-42XGJJIS.js:1:948)
at f.invoke (polyfills-SCHOHYNV.js:1:6450)
at Object.onInvoke (main-42XGJJIS.js:7:27412)
at f.invoke (polyfills-SCHOHYNV.js:1:6390)
at Y.run (polyfills-SCHOHYNV.js:1:1715)
at polyfills-SCHOHYNV.js:2:553
at f.invokeTask (polyfills-SCHOHYNV.js:1:7075)
The versions are as follows:
leaflet: 1.9.4
leaflet-easybutton: 2.4.0
I created a frontend app in Angular and deployed it to Tomcat 10, and the following error occurs with easyButton.
The versions are as follows: leaflet: 1.9.4 leaflet-easybutton: 2.4.0
You can find out the situation by visiting the following website: http://moonlightkobe.mydns.jp/Fltmap/MLKOBE