@angular/google-maps 19.0.0-next.4 → 19.0.0-next.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, NgZone, EventEmitter, PLATFORM_ID, Component, ChangeDetectionStrategy, ViewEncapsulation, Inject, Input, Output, Directive, ContentChildren, NgModule, Injectable } from '@angular/core';
2
+ import { inject, ElementRef, NgZone, EventEmitter, PLATFORM_ID, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, Directive, ContentChildren, NgModule, Injectable } from '@angular/core';
3
3
  import { isPlatformBrowser } from '@angular/common';
4
4
  import { BehaviorSubject, Observable, Subject, combineLatest } from 'rxjs';
5
5
  import { switchMap, take, map, takeUntil } from 'rxjs/operators';
@@ -95,9 +95,9 @@ class GoogleMap {
95
95
  set options(options) {
96
96
  this._options = options || DEFAULT_OPTIONS;
97
97
  }
98
- constructor(_elementRef, _ngZone, platformId) {
99
- this._elementRef = _elementRef;
100
- this._ngZone = _ngZone;
98
+ constructor() {
99
+ this._elementRef = inject(ElementRef);
100
+ this._ngZone = inject(NgZone);
101
101
  this._eventManager = new MapEventManager(inject(NgZone));
102
102
  /** Height of the map. Set this to `null` if you'd like to control the height through CSS. */
103
103
  this.height = DEFAULT_HEIGHT;
@@ -201,6 +201,7 @@ class GoogleMap {
201
201
  * https://developers.google.com/maps/documentation/javascript/reference/map#Map.zoom_changed
202
202
  */
203
203
  this.zoomChanged = this._eventManager.getLazyEmitter('zoom_changed');
204
+ const platformId = inject(PLATFORM_ID);
204
205
  this._isBrowser = isPlatformBrowser(platformId);
205
206
  if (this._isBrowser) {
206
207
  const googleMapsWindow = window;
@@ -447,7 +448,7 @@ class GoogleMap {
447
448
  'Please wait for the API to load before trying to interact with it.');
448
449
  }
449
450
  }
450
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: GoogleMap, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component }); }
451
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: GoogleMap, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
451
452
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0-next.3", type: GoogleMap, isStandalone: true, selector: "google-map", inputs: { height: "height", width: "width", mapId: "mapId", mapTypeId: "mapTypeId", center: "center", zoom: "zoom", options: "options" }, outputs: { mapInitialized: "mapInitialized", authFailure: "authFailure", boundsChanged: "boundsChanged", centerChanged: "centerChanged", mapClick: "mapClick", mapDblclick: "mapDblclick", mapDrag: "mapDrag", mapDragend: "mapDragend", mapDragstart: "mapDragstart", headingChanged: "headingChanged", idle: "idle", maptypeidChanged: "maptypeidChanged", mapMousemove: "mapMousemove", mapMouseout: "mapMouseout", mapMouseover: "mapMouseover", projectionChanged: "projectionChanged", mapRightclick: "mapRightclick", tilesloaded: "tilesloaded", tiltChanged: "tiltChanged", zoomChanged: "zoomChanged" }, exportAs: ["googleMap"], usesOnChanges: true, ngImport: i0, template: '<div class="map-container"></div><ng-content />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
452
453
  }
453
454
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: GoogleMap, decorators: [{
@@ -460,10 +461,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
460
461
  template: '<div class="map-container"></div><ng-content />',
461
462
  encapsulation: ViewEncapsulation.None,
462
463
  }]
463
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: Object, decorators: [{
464
- type: Inject,
465
- args: [PLATFORM_ID]
466
- }] }], propDecorators: { height: [{
464
+ }], ctorParameters: () => [], propDecorators: { height: [{
467
465
  type: Input
468
466
  }], width: [{
469
467
  type: Input
@@ -529,9 +527,9 @@ function coerceCssPixelValue(value) {
529
527
 
530
528
  // Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
531
529
  class MapBaseLayer {
532
- constructor(_map, _ngZone) {
533
- this._map = _map;
534
- this._ngZone = _ngZone;
530
+ constructor() {
531
+ this._map = inject(GoogleMap);
532
+ this._ngZone = inject(NgZone);
535
533
  }
536
534
  ngOnInit() {
537
535
  if (this._map._isBrowser) {
@@ -554,7 +552,7 @@ class MapBaseLayer {
554
552
  _initializeObject() { }
555
553
  _setMap() { }
556
554
  _unsetMap() { }
557
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapBaseLayer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
555
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapBaseLayer, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
558
556
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: MapBaseLayer, isStandalone: true, selector: "map-base-layer", exportAs: ["mapBaseLayer"], ngImport: i0 }); }
559
557
  }
560
558
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapBaseLayer, decorators: [{
@@ -564,7 +562,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
564
562
  exportAs: 'mapBaseLayer',
565
563
  standalone: true,
566
564
  }]
567
- }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }] });
565
+ }], ctorParameters: () => [] });
568
566
 
569
567
  // Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
570
568
  /**
@@ -639,9 +637,9 @@ class MapCircle {
639
637
  set radius(radius) {
640
638
  this._radius.next(radius);
641
639
  }
642
- constructor(_map, _ngZone) {
643
- this._map = _map;
644
- this._ngZone = _ngZone;
640
+ constructor() {
641
+ this._map = inject(GoogleMap);
642
+ this._ngZone = inject(NgZone);
645
643
  this._eventManager = new MapEventManager(inject(NgZone));
646
644
  this._options = new BehaviorSubject({});
647
645
  this._center = new BehaviorSubject(undefined);
@@ -843,7 +841,7 @@ class MapCircle {
843
841
  }
844
842
  }
845
843
  }
846
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapCircle, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
844
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapCircle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
847
845
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: MapCircle, isStandalone: true, selector: "map-circle", inputs: { options: "options", center: "center", radius: "radius" }, outputs: { centerChanged: "centerChanged", circleClick: "circleClick", circleDblclick: "circleDblclick", circleDrag: "circleDrag", circleDragend: "circleDragend", circleDragstart: "circleDragstart", circleMousedown: "circleMousedown", circleMousemove: "circleMousemove", circleMouseout: "circleMouseout", circleMouseover: "circleMouseover", circleMouseup: "circleMouseup", radiusChanged: "radiusChanged", circleRightclick: "circleRightclick", circleInitialized: "circleInitialized" }, exportAs: ["mapCircle"], ngImport: i0 }); }
848
846
  }
849
847
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapCircle, decorators: [{
@@ -853,7 +851,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
853
851
  exportAs: 'mapCircle',
854
852
  standalone: true,
855
853
  }]
856
- }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { options: [{
854
+ }], ctorParameters: () => [], propDecorators: { options: [{
857
855
  type: Input
858
856
  }], center: [{
859
857
  type: Input
@@ -911,9 +909,9 @@ class MapDirectionsRenderer {
911
909
  set options(options) {
912
910
  this._options = options;
913
911
  }
914
- constructor(_googleMap, _ngZone) {
915
- this._googleMap = _googleMap;
916
- this._ngZone = _ngZone;
912
+ constructor() {
913
+ this._googleMap = inject(GoogleMap);
914
+ this._ngZone = inject(NgZone);
917
915
  this._eventManager = new MapEventManager(inject(NgZone));
918
916
  /**
919
917
  * See developers.google.com/maps/documentation/javascript/reference/directions
@@ -1004,7 +1002,7 @@ class MapDirectionsRenderer {
1004
1002
  }
1005
1003
  }
1006
1004
  }
1007
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapDirectionsRenderer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
1005
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapDirectionsRenderer, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1008
1006
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: MapDirectionsRenderer, isStandalone: true, selector: "map-directions-renderer", inputs: { directions: "directions", options: "options" }, outputs: { directionsChanged: "directionsChanged", directionsRendererInitialized: "directionsRendererInitialized" }, exportAs: ["mapDirectionsRenderer"], usesOnChanges: true, ngImport: i0 }); }
1009
1007
  }
1010
1008
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapDirectionsRenderer, decorators: [{
@@ -1014,7 +1012,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
1014
1012
  exportAs: 'mapDirectionsRenderer',
1015
1013
  standalone: true,
1016
1014
  }]
1017
- }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { directions: [{
1015
+ }], ctorParameters: () => [], propDecorators: { directions: [{
1018
1016
  type: Input
1019
1017
  }], options: [{
1020
1018
  type: Input
@@ -1046,9 +1044,9 @@ class MapGroundOverlay {
1046
1044
  set opacity(opacity) {
1047
1045
  this._opacity.next(opacity);
1048
1046
  }
1049
- constructor(_map, _ngZone) {
1050
- this._map = _map;
1051
- this._ngZone = _ngZone;
1047
+ constructor() {
1048
+ this._map = inject(GoogleMap);
1049
+ this._ngZone = inject(NgZone);
1052
1050
  this._eventManager = new MapEventManager(inject(NgZone));
1053
1051
  this._opacity = new BehaviorSubject(1);
1054
1052
  this._url = new BehaviorSubject('');
@@ -1176,7 +1174,7 @@ class MapGroundOverlay {
1176
1174
  }
1177
1175
  }
1178
1176
  }
1179
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapGroundOverlay, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
1177
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapGroundOverlay, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1180
1178
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: MapGroundOverlay, isStandalone: true, selector: "map-ground-overlay", inputs: { url: "url", bounds: "bounds", clickable: "clickable", opacity: "opacity" }, outputs: { mapClick: "mapClick", mapDblclick: "mapDblclick", groundOverlayInitialized: "groundOverlayInitialized" }, exportAs: ["mapGroundOverlay"], ngImport: i0 }); }
1181
1179
  }
1182
1180
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapGroundOverlay, decorators: [{
@@ -1186,7 +1184,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
1186
1184
  exportAs: 'mapGroundOverlay',
1187
1185
  standalone: true,
1188
1186
  }]
1189
- }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { url: [{
1187
+ }], ctorParameters: () => [], propDecorators: { url: [{
1190
1188
  type: Input
1191
1189
  }], bounds: [{
1192
1190
  type: Input
@@ -1215,10 +1213,10 @@ class MapInfoWindow {
1215
1213
  set position(position) {
1216
1214
  this._position.next(position);
1217
1215
  }
1218
- constructor(_googleMap, _elementRef, _ngZone) {
1219
- this._googleMap = _googleMap;
1220
- this._elementRef = _elementRef;
1221
- this._ngZone = _ngZone;
1216
+ constructor() {
1217
+ this._googleMap = inject(GoogleMap);
1218
+ this._elementRef = inject(ElementRef);
1219
+ this._ngZone = inject(NgZone);
1222
1220
  this._eventManager = new MapEventManager(inject(NgZone));
1223
1221
  this._options = new BehaviorSubject({});
1224
1222
  this._position = new BehaviorSubject(undefined);
@@ -1396,7 +1394,7 @@ class MapInfoWindow {
1396
1394
  }
1397
1395
  }
1398
1396
  }
1399
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapInfoWindow, deps: [{ token: GoogleMap }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
1397
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapInfoWindow, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1400
1398
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: MapInfoWindow, isStandalone: true, selector: "map-info-window", inputs: { options: "options", position: "position" }, outputs: { closeclick: "closeclick", contentChanged: "contentChanged", domready: "domready", positionChanged: "positionChanged", zindexChanged: "zindexChanged", infoWindowInitialized: "infoWindowInitialized" }, host: { styleAttribute: "display: none" }, exportAs: ["mapInfoWindow"], ngImport: i0 }); }
1401
1399
  }
1402
1400
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapInfoWindow, decorators: [{
@@ -1407,7 +1405,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
1407
1405
  standalone: true,
1408
1406
  host: { 'style': 'display: none' },
1409
1407
  }]
1410
- }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { options: [{
1408
+ }], ctorParameters: () => [], propDecorators: { options: [{
1411
1409
  type: Input
1412
1410
  }], position: [{
1413
1411
  type: Input
@@ -1438,9 +1436,9 @@ class MapKmlLayer {
1438
1436
  set url(url) {
1439
1437
  this._url.next(url);
1440
1438
  }
1441
- constructor(_map, _ngZone) {
1442
- this._map = _map;
1443
- this._ngZone = _ngZone;
1439
+ constructor() {
1440
+ this._map = inject(GoogleMap);
1441
+ this._ngZone = inject(NgZone);
1444
1442
  this._eventManager = new MapEventManager(inject(NgZone));
1445
1443
  this._options = new BehaviorSubject({});
1446
1444
  this._url = new BehaviorSubject('');
@@ -1569,7 +1567,7 @@ class MapKmlLayer {
1569
1567
  }
1570
1568
  }
1571
1569
  }
1572
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapKmlLayer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
1570
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapKmlLayer, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1573
1571
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: MapKmlLayer, isStandalone: true, selector: "map-kml-layer", inputs: { options: "options", url: "url" }, outputs: { kmlClick: "kmlClick", defaultviewportChanged: "defaultviewportChanged", statusChanged: "statusChanged", kmlLayerInitialized: "kmlLayerInitialized" }, exportAs: ["mapKmlLayer"], ngImport: i0 }); }
1574
1572
  }
1575
1573
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapKmlLayer, decorators: [{
@@ -1579,7 +1577,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
1579
1577
  exportAs: 'mapKmlLayer',
1580
1578
  standalone: true,
1581
1579
  }]
1582
- }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { options: [{
1580
+ }], ctorParameters: () => [], propDecorators: { options: [{
1583
1581
  type: Input
1584
1582
  }], url: [{
1585
1583
  type: Input
@@ -1656,9 +1654,9 @@ class MapMarker {
1656
1654
  set visible(value) {
1657
1655
  this._visible = value;
1658
1656
  }
1659
- constructor(_googleMap, _ngZone) {
1660
- this._googleMap = _googleMap;
1661
- this._ngZone = _ngZone;
1657
+ constructor() {
1658
+ this._googleMap = inject(GoogleMap);
1659
+ this._ngZone = inject(NgZone);
1662
1660
  this._eventManager = new MapEventManager(inject(NgZone));
1663
1661
  /**
1664
1662
  * See
@@ -1955,7 +1953,7 @@ class MapMarker {
1955
1953
  }
1956
1954
  }
1957
1955
  }
1958
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapMarker, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
1956
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapMarker, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1959
1957
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: MapMarker, isStandalone: true, selector: "map-marker", inputs: { title: "title", position: "position", label: "label", clickable: "clickable", options: "options", icon: "icon", visible: "visible" }, outputs: { animationChanged: "animationChanged", mapClick: "mapClick", clickableChanged: "clickableChanged", cursorChanged: "cursorChanged", mapDblclick: "mapDblclick", mapDrag: "mapDrag", mapDragend: "mapDragend", draggableChanged: "draggableChanged", mapDragstart: "mapDragstart", flatChanged: "flatChanged", iconChanged: "iconChanged", mapMousedown: "mapMousedown", mapMouseout: "mapMouseout", mapMouseover: "mapMouseover", mapMouseup: "mapMouseup", positionChanged: "positionChanged", mapRightclick: "mapRightclick", shapeChanged: "shapeChanged", titleChanged: "titleChanged", visibleChanged: "visibleChanged", zindexChanged: "zindexChanged", markerInitialized: "markerInitialized" }, exportAs: ["mapMarker"], usesOnChanges: true, ngImport: i0 }); }
1960
1958
  }
1961
1959
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapMarker, decorators: [{
@@ -1965,7 +1963,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
1965
1963
  exportAs: 'mapMarker',
1966
1964
  standalone: true,
1967
1965
  }]
1968
- }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { title: [{
1966
+ }], ctorParameters: () => [], propDecorators: { title: [{
1969
1967
  type: Input
1970
1968
  }], position: [{
1971
1969
  type: Input
@@ -2085,12 +2083,14 @@ class MapMarkerClusterer {
2085
2083
  set options(options) {
2086
2084
  this._options = options;
2087
2085
  }
2088
- constructor(_googleMap, _ngZone) {
2089
- this._googleMap = _googleMap;
2090
- this._ngZone = _ngZone;
2086
+ constructor() {
2087
+ this._googleMap = inject(GoogleMap);
2088
+ this._ngZone = inject(NgZone);
2091
2089
  this._currentMarkers = new Set();
2092
2090
  this._eventManager = new MapEventManager(inject(NgZone));
2093
2091
  this._destroy = new Subject();
2092
+ /** Whether the clusterer is allowed to be initialized. */
2093
+ this._canInitialize = this._googleMap._isBrowser;
2094
2094
  this.ariaLabelFn = () => '';
2095
2095
  /**
2096
2096
  * See
@@ -2107,7 +2107,6 @@ class MapMarkerClusterer {
2107
2107
  this.clusterClick = this._eventManager.getLazyEmitter('click');
2108
2108
  /** Event emitted when the clusterer is initialized. */
2109
2109
  this.markerClustererInitialized = new EventEmitter();
2110
- this._canInitialize = _googleMap._isBrowser;
2111
2110
  }
2112
2111
  ngOnInit() {
2113
2112
  if (this._canInitialize) {
@@ -2366,8 +2365,8 @@ class MapMarkerClusterer {
2366
2365
  }
2367
2366
  }
2368
2367
  }
2369
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapMarkerClusterer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
2370
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0-next.3", type: MapMarkerClusterer, isStandalone: true, selector: "map-marker-clusterer", inputs: { ariaLabelFn: "ariaLabelFn", averageCenter: "averageCenter", batchSize: "batchSize", batchSizeIE: "batchSizeIE", calculator: "calculator", clusterClass: "clusterClass", enableRetinaIcons: "enableRetinaIcons", gridSize: "gridSize", ignoreHidden: "ignoreHidden", imageExtension: "imageExtension", imagePath: "imagePath", imageSizes: "imageSizes", maxZoom: "maxZoom", minimumClusterSize: "minimumClusterSize", styles: "styles", title: "title", zIndex: "zIndex", zoomOnClick: "zoomOnClick", options: "options" }, outputs: { clusteringbegin: "clusteringbegin", clusteringend: "clusteringend", clusterClick: "clusterClick", markerClustererInitialized: "markerClustererInitialized" }, queries: [{ propertyName: "_markers", predicate: MapMarker, descendants: true }], exportAs: ["mapMarkerClusterer"], usesOnChanges: true, ngImport: i0, template: '<ng-content />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
2368
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapMarkerClusterer, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2369
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0-next.3", type: MapMarkerClusterer, isStandalone: true, selector: "map-marker-clusterer", inputs: { ariaLabelFn: "ariaLabelFn", averageCenter: "averageCenter", batchSize: "batchSize", batchSizeIE: "batchSizeIE", calculator: "calculator", clusterClass: "clusterClass", enableRetinaIcons: "enableRetinaIcons", gridSize: "gridSize", ignoreHidden: "ignoreHidden", imageExtension: "imageExtension", imagePath: "imagePath", imageSizes: "imageSizes", maxZoom: "maxZoom", minimumClusterSize: "minimumClusterSize", styles: "styles", title: "title", zIndex: "zIndex", zoomOnClick: "zoomOnClick", options: "options" }, outputs: { clusteringbegin: "clusteringbegin", clusteringend: "clusteringend", clusterClick: "clusterClick", markerClustererInitialized: "markerClustererInitialized" }, queries: [{ propertyName: "_markers", predicate: MapMarker, descendants: true }], exportAs: ["mapMarkerClusterer"], usesOnChanges: true, ngImport: i0, template: '<ng-content/>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
2371
2370
  }
2372
2371
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapMarkerClusterer, decorators: [{
2373
2372
  type: Component,
@@ -2376,10 +2375,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
2376
2375
  exportAs: 'mapMarkerClusterer',
2377
2376
  changeDetection: ChangeDetectionStrategy.OnPush,
2378
2377
  standalone: true,
2379
- template: '<ng-content />',
2378
+ template: '<ng-content/>',
2380
2379
  encapsulation: ViewEncapsulation.None,
2381
2380
  }]
2382
- }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { ariaLabelFn: [{
2381
+ }], ctorParameters: () => [], propDecorators: { ariaLabelFn: [{
2383
2382
  type: Input
2384
2383
  }], averageCenter: [{
2385
2384
  type: Input
@@ -2443,9 +2442,9 @@ class MapPolygon {
2443
2442
  set paths(paths) {
2444
2443
  this._paths.next(paths);
2445
2444
  }
2446
- constructor(_map, _ngZone) {
2447
- this._map = _map;
2448
- this._ngZone = _ngZone;
2445
+ constructor() {
2446
+ this._map = inject(GoogleMap);
2447
+ this._ngZone = inject(NgZone);
2449
2448
  this._eventManager = new MapEventManager(inject(NgZone));
2450
2449
  this._options = new BehaviorSubject({});
2451
2450
  this._paths = new BehaviorSubject(undefined);
@@ -2602,7 +2601,7 @@ class MapPolygon {
2602
2601
  }
2603
2602
  }
2604
2603
  }
2605
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapPolygon, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
2604
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapPolygon, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2606
2605
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: MapPolygon, isStandalone: true, selector: "map-polygon", inputs: { options: "options", paths: "paths" }, outputs: { polygonClick: "polygonClick", polygonDblclick: "polygonDblclick", polygonDrag: "polygonDrag", polygonDragend: "polygonDragend", polygonDragstart: "polygonDragstart", polygonMousedown: "polygonMousedown", polygonMousemove: "polygonMousemove", polygonMouseout: "polygonMouseout", polygonMouseover: "polygonMouseover", polygonMouseup: "polygonMouseup", polygonRightclick: "polygonRightclick", polygonInitialized: "polygonInitialized" }, exportAs: ["mapPolygon"], ngImport: i0 }); }
2607
2606
  }
2608
2607
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapPolygon, decorators: [{
@@ -2612,7 +2611,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
2612
2611
  exportAs: 'mapPolygon',
2613
2612
  standalone: true,
2614
2613
  }]
2615
- }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { options: [{
2614
+ }], ctorParameters: () => [], propDecorators: { options: [{
2616
2615
  type: Input
2617
2616
  }], paths: [{
2618
2617
  type: Input
@@ -2655,9 +2654,9 @@ class MapPolyline {
2655
2654
  set path(path) {
2656
2655
  this._path.next(path);
2657
2656
  }
2658
- constructor(_map, _ngZone) {
2659
- this._map = _map;
2660
- this._ngZone = _ngZone;
2657
+ constructor() {
2658
+ this._map = inject(GoogleMap);
2659
+ this._ngZone = inject(NgZone);
2661
2660
  this._eventManager = new MapEventManager(inject(NgZone));
2662
2661
  this._options = new BehaviorSubject({});
2663
2662
  this._path = new BehaviorSubject(undefined);
@@ -2807,7 +2806,7 @@ class MapPolyline {
2807
2806
  }
2808
2807
  }
2809
2808
  }
2810
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapPolyline, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
2809
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapPolyline, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2811
2810
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: MapPolyline, isStandalone: true, selector: "map-polyline", inputs: { options: "options", path: "path" }, outputs: { polylineClick: "polylineClick", polylineDblclick: "polylineDblclick", polylineDrag: "polylineDrag", polylineDragend: "polylineDragend", polylineDragstart: "polylineDragstart", polylineMousedown: "polylineMousedown", polylineMousemove: "polylineMousemove", polylineMouseout: "polylineMouseout", polylineMouseover: "polylineMouseover", polylineMouseup: "polylineMouseup", polylineRightclick: "polylineRightclick", polylineInitialized: "polylineInitialized" }, exportAs: ["mapPolyline"], ngImport: i0 }); }
2812
2811
  }
2813
2812
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapPolyline, decorators: [{
@@ -2817,7 +2816,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
2817
2816
  exportAs: 'mapPolyline',
2818
2817
  standalone: true,
2819
2818
  }]
2820
- }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { options: [{
2819
+ }], ctorParameters: () => [], propDecorators: { options: [{
2821
2820
  type: Input
2822
2821
  }], path: [{
2823
2822
  type: Input
@@ -2860,9 +2859,9 @@ class MapRectangle {
2860
2859
  set bounds(bounds) {
2861
2860
  this._bounds.next(bounds);
2862
2861
  }
2863
- constructor(_map, _ngZone) {
2864
- this._map = _map;
2865
- this._ngZone = _ngZone;
2862
+ constructor() {
2863
+ this._map = inject(GoogleMap);
2864
+ this._ngZone = inject(NgZone);
2866
2865
  this._eventManager = new MapEventManager(inject(NgZone));
2867
2866
  this._options = new BehaviorSubject({});
2868
2867
  this._bounds = new BehaviorSubject(undefined);
@@ -3030,7 +3029,7 @@ class MapRectangle {
3030
3029
  }
3031
3030
  }
3032
3031
  }
3033
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapRectangle, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
3032
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapRectangle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
3034
3033
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: MapRectangle, isStandalone: true, selector: "map-rectangle", inputs: { options: "options", bounds: "bounds" }, outputs: { boundsChanged: "boundsChanged", rectangleClick: "rectangleClick", rectangleDblclick: "rectangleDblclick", rectangleDrag: "rectangleDrag", rectangleDragend: "rectangleDragend", rectangleDragstart: "rectangleDragstart", rectangleMousedown: "rectangleMousedown", rectangleMousemove: "rectangleMousemove", rectangleMouseout: "rectangleMouseout", rectangleMouseover: "rectangleMouseover", rectangleMouseup: "rectangleMouseup", rectangleRightclick: "rectangleRightclick", rectangleInitialized: "rectangleInitialized" }, exportAs: ["mapRectangle"], ngImport: i0 }); }
3035
3034
  }
3036
3035
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapRectangle, decorators: [{
@@ -3040,7 +3039,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
3040
3039
  exportAs: 'mapRectangle',
3041
3040
  standalone: true,
3042
3041
  }]
3043
- }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { options: [{
3042
+ }], ctorParameters: () => [], propDecorators: { options: [{
3044
3043
  type: Input
3045
3044
  }], bounds: [{
3046
3045
  type: Input
@@ -3085,9 +3084,9 @@ class MapTrafficLayer {
3085
3084
  set autoRefresh(autoRefresh) {
3086
3085
  this._autoRefresh.next(autoRefresh);
3087
3086
  }
3088
- constructor(_map, _ngZone) {
3089
- this._map = _map;
3090
- this._ngZone = _ngZone;
3087
+ constructor() {
3088
+ this._map = inject(GoogleMap);
3089
+ this._ngZone = inject(NgZone);
3091
3090
  this._autoRefresh = new BehaviorSubject(true);
3092
3091
  this._destroyed = new Subject();
3093
3092
  /** Event emitted when the traffic layer is initialized. */
@@ -3145,7 +3144,7 @@ class MapTrafficLayer {
3145
3144
  'Please wait for the Traffic Layer to load before trying to interact with it.');
3146
3145
  }
3147
3146
  }
3148
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapTrafficLayer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
3147
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapTrafficLayer, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
3149
3148
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: MapTrafficLayer, isStandalone: true, selector: "map-traffic-layer", inputs: { autoRefresh: "autoRefresh" }, outputs: { trafficLayerInitialized: "trafficLayerInitialized" }, exportAs: ["mapTrafficLayer"], ngImport: i0 }); }
3150
3149
  }
3151
3150
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapTrafficLayer, decorators: [{
@@ -3155,7 +3154,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
3155
3154
  exportAs: 'mapTrafficLayer',
3156
3155
  standalone: true,
3157
3156
  }]
3158
- }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { autoRefresh: [{
3157
+ }], ctorParameters: () => [], propDecorators: { autoRefresh: [{
3159
3158
  type: Input
3160
3159
  }], trafficLayerInitialized: [{
3161
3160
  type: Output
@@ -3240,9 +3239,9 @@ class MapHeatmapLayer {
3240
3239
  set options(options) {
3241
3240
  this._options = options;
3242
3241
  }
3243
- constructor(_googleMap, _ngZone) {
3244
- this._googleMap = _googleMap;
3245
- this._ngZone = _ngZone;
3242
+ constructor() {
3243
+ this._googleMap = inject(GoogleMap);
3244
+ this._ngZone = inject(NgZone);
3246
3245
  /** Event emitted when the heatmap is initialized. */
3247
3246
  this.heatmapInitialized = new EventEmitter();
3248
3247
  }
@@ -3336,7 +3335,7 @@ class MapHeatmapLayer {
3336
3335
  }
3337
3336
  }
3338
3337
  }
3339
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapHeatmapLayer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
3338
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapHeatmapLayer, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
3340
3339
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: MapHeatmapLayer, isStandalone: true, selector: "map-heatmap-layer", inputs: { data: "data", options: "options" }, outputs: { heatmapInitialized: "heatmapInitialized" }, exportAs: ["mapHeatmapLayer"], usesOnChanges: true, ngImport: i0 }); }
3341
3340
  }
3342
3341
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapHeatmapLayer, decorators: [{
@@ -3346,7 +3345,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
3346
3345
  exportAs: 'mapHeatmapLayer',
3347
3346
  standalone: true,
3348
3347
  }]
3349
- }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { data: [{
3348
+ }], ctorParameters: () => [], propDecorators: { data: [{
3350
3349
  type: Input
3351
3350
  }], options: [{
3352
3351
  type: Input
@@ -3417,15 +3416,35 @@ class MapAdvancedMarker {
3417
3416
  set zIndex(zIndex) {
3418
3417
  this._zIndex = zIndex;
3419
3418
  }
3420
- constructor(_googleMap, _ngZone) {
3421
- this._googleMap = _googleMap;
3422
- this._ngZone = _ngZone;
3419
+ constructor() {
3420
+ this._googleMap = inject(GoogleMap);
3421
+ this._ngZone = inject(NgZone);
3423
3422
  this._eventManager = new MapEventManager(inject(NgZone));
3424
3423
  /**
3425
3424
  * This event is fired when the AdvancedMarkerElement element is clicked.
3426
3425
  * https://developers.google.com/maps/documentation/javascript/reference/advanced-markers#AdvancedMarkerElement.click
3427
3426
  */
3428
3427
  this.mapClick = this._eventManager.getLazyEmitter('click');
3428
+ /**
3429
+ * This event is fired when the AdvancedMarkerElement is double-clicked.
3430
+ */
3431
+ this.mapDblclick = this._eventManager.getLazyEmitter('dblclick');
3432
+ /**
3433
+ * This event is fired when the mouse moves out of the AdvancedMarkerElement.
3434
+ */
3435
+ this.mapMouseout = this._eventManager.getLazyEmitter('mouseout');
3436
+ /**
3437
+ * This event is fired when the mouse moves over the AdvancedMarkerElement.
3438
+ */
3439
+ this.mapMouseover = this._eventManager.getLazyEmitter('mouseover');
3440
+ /**
3441
+ * This event is fired when the mouse button is released over the AdvancedMarkerElement.
3442
+ */
3443
+ this.mapMouseup = this._eventManager.getLazyEmitter('mouseup');
3444
+ /**
3445
+ * This event is fired when the AdvancedMarkerElement is right-clicked.
3446
+ */
3447
+ this.mapRightclick = this._eventManager.getLazyEmitter('rightclick');
3429
3448
  /**
3430
3449
  * This event is repeatedly fired while the user drags the AdvancedMarkerElement.
3431
3450
  * https://developers.google.com/maps/documentation/javascript/reference/advanced-markers#AdvancedMarkerElement.drag
@@ -3527,8 +3546,8 @@ class MapAdvancedMarker {
3527
3546
  }
3528
3547
  }
3529
3548
  }
3530
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapAdvancedMarker, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
3531
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: MapAdvancedMarker, isStandalone: true, selector: "map-advanced-marker", inputs: { title: "title", position: "position", content: "content", gmpDraggable: "gmpDraggable", options: "options", zIndex: "zIndex" }, outputs: { mapClick: "mapClick", mapDrag: "mapDrag", mapDragend: "mapDragend", mapDragstart: "mapDragstart", markerInitialized: "markerInitialized" }, exportAs: ["mapAdvancedMarker"], usesOnChanges: true, ngImport: i0 }); }
3549
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapAdvancedMarker, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
3550
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: MapAdvancedMarker, isStandalone: true, selector: "map-advanced-marker", inputs: { title: "title", position: "position", content: "content", gmpDraggable: "gmpDraggable", options: "options", zIndex: "zIndex" }, outputs: { mapClick: "mapClick", mapDblclick: "mapDblclick", mapMouseout: "mapMouseout", mapMouseover: "mapMouseover", mapMouseup: "mapMouseup", mapRightclick: "mapRightclick", mapDrag: "mapDrag", mapDragend: "mapDragend", mapDragstart: "mapDragstart", markerInitialized: "markerInitialized" }, exportAs: ["mapAdvancedMarker"], usesOnChanges: true, ngImport: i0 }); }
3532
3551
  }
3533
3552
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapAdvancedMarker, decorators: [{
3534
3553
  type: Directive,
@@ -3537,7 +3556,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
3537
3556
  exportAs: 'mapAdvancedMarker',
3538
3557
  standalone: true,
3539
3558
  }]
3540
- }], ctorParameters: () => [{ type: GoogleMap }, { type: i0.NgZone }], propDecorators: { title: [{
3559
+ }], ctorParameters: () => [], propDecorators: { title: [{
3541
3560
  type: Input
3542
3561
  }], position: [{
3543
3562
  type: Input
@@ -3551,6 +3570,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
3551
3570
  type: Input
3552
3571
  }], mapClick: [{
3553
3572
  type: Output
3573
+ }], mapDblclick: [{
3574
+ type: Output
3575
+ }], mapMouseout: [{
3576
+ type: Output
3577
+ }], mapMouseover: [{
3578
+ type: Output
3579
+ }], mapMouseup: [{
3580
+ type: Output
3581
+ }], mapRightclick: [{
3582
+ type: Output
3554
3583
  }], mapDrag: [{
3555
3584
  type: Output
3556
3585
  }], mapDragend: [{
@@ -3633,8 +3662,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
3633
3662
  * See developers.google.com/maps/documentation/javascript/reference/directions#DirectionsService
3634
3663
  */
3635
3664
  class MapDirectionsService {
3636
- constructor(_ngZone) {
3637
- this._ngZone = _ngZone;
3665
+ constructor() {
3666
+ this._ngZone = inject(NgZone);
3638
3667
  }
3639
3668
  /**
3640
3669
  * See
@@ -3667,13 +3696,13 @@ class MapDirectionsService {
3667
3696
  }
3668
3697
  return Promise.resolve(this._directionsService);
3669
3698
  }
3670
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapDirectionsService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
3699
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapDirectionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3671
3700
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapDirectionsService, providedIn: 'root' }); }
3672
3701
  }
3673
3702
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapDirectionsService, decorators: [{
3674
3703
  type: Injectable,
3675
3704
  args: [{ providedIn: 'root' }]
3676
- }], ctorParameters: () => [{ type: i0.NgZone }] });
3705
+ }], ctorParameters: () => [] });
3677
3706
 
3678
3707
  // Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
3679
3708
  /**
@@ -3681,8 +3710,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
3681
3710
  * See developers.google.com/maps/documentation/javascript/reference/geocoder#Geocoder
3682
3711
  */
3683
3712
  class MapGeocoder {
3684
- constructor(_ngZone) {
3685
- this._ngZone = _ngZone;
3713
+ constructor() {
3714
+ this._ngZone = inject(NgZone);
3686
3715
  }
3687
3716
  /**
3688
3717
  * See developers.google.com/maps/documentation/javascript/reference/geocoder#Geocoder.geocode
@@ -3713,13 +3742,13 @@ class MapGeocoder {
3713
3742
  }
3714
3743
  return Promise.resolve(this._geocoder);
3715
3744
  }
3716
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapGeocoder, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
3745
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapGeocoder, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3717
3746
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapGeocoder, providedIn: 'root' }); }
3718
3747
  }
3719
3748
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: MapGeocoder, decorators: [{
3720
3749
  type: Injectable,
3721
3750
  args: [{ providedIn: 'root' }]
3722
- }], ctorParameters: () => [{ type: i0.NgZone }] });
3751
+ }], ctorParameters: () => [] });
3723
3752
 
3724
3753
  /**
3725
3754
  * Generated bundle index. Do not edit.