diff --git a/packages/core/directives/map.ts b/packages/core/directives/map.ts index 8ad4d38b6..44db6c483 100644 --- a/packages/core/directives/map.ts +++ b/packages/core/directives/map.ts @@ -97,6 +97,11 @@ export class AgmMap implements OnChanges, OnInit, OnDestroy { */ @Input() maxZoom: number; + /** + * The control size for the default map controls. Only governs the controls made by the Maps API itself + */ + @Input() controlSize: number; + /** * Enables/disables if map is draggable. */ @@ -368,6 +373,7 @@ export class AgmMap implements OnChanges, OnInit, OnDestroy { zoom: this.zoom, minZoom: this.minZoom, maxZoom: this.maxZoom, + controlSize: this.controlSize, disableDefaultUI: this.disableDefaultUI, disableDoubleClickZoom: this.disableDoubleClickZoom, scrollwheel: this.scrollwheel, diff --git a/packages/core/services/google-maps-types.ts b/packages/core/services/google-maps-types.ts index 0dce203a1..3a31105a8 100644 --- a/packages/core/services/google-maps-types.ts +++ b/packages/core/services/google-maps-types.ts @@ -161,6 +161,7 @@ export interface MapOptions { zoom?: number; minZoom?: number; maxZoom?: number; + controlSize?: number; disableDoubleClickZoom?: boolean; disableDefaultUI?: boolean; scrollwheel?: boolean;