Skip to content

Commit

Permalink
feat(typings): IClustererOptions extend IClusterPlacemarkOptionsWithC…
Browse files Browse the repository at this point in the history
…lusterPrefix (#149)
  • Loading branch information
ddubrava committed Oct 29, 2021
1 parent f85dbeb commit fdd026c
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions projects/angular8-yandex-maps/src/lib/typings/yandex-maps/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3772,9 +3772,13 @@ declare namespace ymaps {
zoomMargin?: number[] | number | undefined;
}

interface IClustererOptions extends IClustererOptionsInject {
interface IClustererOptions
extends IClustererOptionsInject,
IClusterPlacemarkOptionsWithClusterPrefix {
hasBalloon?: boolean | undefined;
hasHint?: boolean | undefined;

[key: string]: any;
}

class ClusterPlacemark implements IGeoObject, collection.Item {
Expand Down Expand Up @@ -3829,12 +3833,12 @@ declare namespace ymaps {
iconColor?: string;
iconContentLayout?: string | IClassConstructor<ILayout>;
iconLayout?: string | IClassConstructor<ILayout>;
icons?: Array<{
icons?: {
href: string;
size: number[];
offset: number[];
shape?: IShape | IGeometryJson;
}>;
}[];
iconShape?: IGeometryJson;
interactivityModel?: InteractivityModelKey;
numbers?: number[];
Expand All @@ -3856,14 +3860,12 @@ declare namespace ymaps {
clusterIconColor?: string | undefined;
clusterIconContentLayout?: IClassConstructor<ILayout> | string | undefined;
clusterIconLayout?: IClassConstructor<ILayout> | string | undefined;
clusterIcons?:
| Array<{
href: string;
size: number[];
offset: number[];
shape?: IShape | IGeometryJson | undefined;
}>
| undefined;
clusterIcons?: {
href: string;
size: number[];
offset: number[];
shape?: IShape | IGeometryJson | undefined;
}[];
clusterIconShape?: IGeometryJson | undefined;
clusterInteractivityModel?: InteractivityModelKey | undefined;
clusterNumbers?: number[] | undefined;
Expand Down

0 comments on commit fdd026c

Please sign in to comment.