The direct use of the supercluster library code was not in sync after update of mapbox-gl-js and its internal version of supercluster. Luckily, the direct use of supercluster is not necessary any more and could be removed.
Most of the code in the diff (from map.getCenter() to the end of the function) changes just in the amount of indentation.
The direct use of the
supercluster
library code was not in sync after update ofmapbox-gl-js
and its internal version ofsupercluster
. Luckily, the direct use ofsupercluster
is not necessary any more and could be removed.Most of the code in the diff (from
map.getCenter()
to the end of the function) changes just in the amount of indentation.