Closed LukePrior closed 3 years ago
I managed to get it working with the following taken from the example:
<script src="https://unpkg.com/rbush@2.0.2/rbush.js"></script>
<script>var module = {};</script>
<script src="js/leaflet.canvas-markers.js"></script>
<script>module.exports(L);</script>
However, it seems to cause problems:
ReferenceError: IScroll is not defined
I got it all working
I have included the script and rbush however when I load the page I get the following error:
Uncaught ReferenceError: module is not defined at leaflet.canvas-markers.js:458
Here is my code: