mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
disabled stickers clustering
This commit is contained in:
parent
f62fce715d
commit
acedb845af
1 changed files with 13 additions and 9 deletions
|
@ -89,15 +89,19 @@ export class Stickers {
|
||||||
this.stickers.map(sticker => sticker.stopEditing());
|
this.stickers.map(sticker => sticker.stopEditing());
|
||||||
};
|
};
|
||||||
|
|
||||||
clusterLayer: MarkerClusterGroup = new MarkerClusterGroup({
|
clusterLayer: LayerGroup = new LayerGroup();
|
||||||
spiderfyOnMaxZoom: false,
|
|
||||||
showCoverageOnHover: false,
|
// uncomment to enable clustering
|
||||||
zoomToBoundsOnClick: true,
|
|
||||||
animate: false,
|
// clusterLayer: MarkerClusterGroup = new MarkerClusterGroup({
|
||||||
maxClusterRadius: 80,
|
// spiderfyOnMaxZoom: false,
|
||||||
// disableClusteringAtZoom: 13,
|
// showCoverageOnHover: false,
|
||||||
iconCreateFunction: clusterIcon,
|
// zoomToBoundsOnClick: true,
|
||||||
});
|
// animate: false,
|
||||||
|
// maxClusterRadius: 8,
|
||||||
|
// // disableClusteringAtZoom: 13,
|
||||||
|
// iconCreateFunction: clusterIcon,
|
||||||
|
// });
|
||||||
|
|
||||||
editor: Props['editor'];
|
editor: Props['editor'];
|
||||||
map: Props['map'];
|
map: Props['map'];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue