leaflet-markercluster-utils
Version:
Functions to help work with leaflet.markercluster
11 lines • 528 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.isClusterSpiderfied = void 0;
function isClusterSpiderfied(clusterLayer, cluster) {
const spiderfied = clusterLayer === null || clusterLayer === void 0 ? void 0 : clusterLayer._spiderfied; // set type to any to access private property
if (!spiderfied)
return false;
return spiderfied._leaflet_id === cluster._leaflet_id;
}
exports.isClusterSpiderfied = isClusterSpiderfied;
//# sourceMappingURL=is-cluster-spiderfied.js.map
;