I am adding Leaflet.markercluster plugin to my existing Leaflet map.
I am getting this error:
Uncaught TypeError:
this._featureGroup.addEventParent
is not a function
In relation to the line var locations = L.markerClusterGroup();
.
I cannot find any information about what this error might mean.
I am linking to the Markercluster JS file, and after Leaflet. Not sure why else it would not be able to find a function.
Also got this error
is not an answer imho. – Larcher