@angular/google-maps 13.0.0-next.7 → 13.0.0-rc.2

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.
Files changed (81) hide show
  1. package/esm2020/google-map/google-map.mjs +445 -0
  2. package/esm2020/google-maps-module.mjs +86 -0
  3. package/esm2020/google-maps_public_index.mjs +5 -0
  4. package/esm2020/index.mjs +9 -0
  5. package/{esm2015/map-anchor-point.js → esm2020/map-anchor-point.mjs} +2 -2
  6. package/esm2020/map-base-layer.mjs +51 -0
  7. package/esm2020/map-bicycling-layer/map-bicycling-layer.mjs +48 -0
  8. package/esm2020/map-circle/map-circle.mjs +268 -0
  9. package/esm2020/map-directions-renderer/map-directions-renderer.mjs +138 -0
  10. package/esm2020/map-directions-renderer/map-directions-service.mjs +51 -0
  11. package/esm2020/map-event-manager.mjs +67 -0
  12. package/esm2020/map-geocoder/map-geocoder.mjs +47 -0
  13. package/esm2020/map-ground-overlay/map-ground-overlay.mjs +177 -0
  14. package/esm2020/map-heatmap-layer/map-heatmap-layer.mjs +135 -0
  15. package/esm2020/map-info-window/map-info-window.mjs +203 -0
  16. package/esm2020/map-kml-layer/map-kml-layer.mjs +170 -0
  17. package/esm2020/map-marker/map-marker.mjs +427 -0
  18. package/esm2020/map-marker-clusterer/map-marker-clusterer.mjs +407 -0
  19. package/esm2020/map-marker-clusterer/marker-clusterer-types.mjs +9 -0
  20. package/esm2020/map-polygon/map-polygon.mjs +216 -0
  21. package/esm2020/map-polyline/map-polyline.mjs +207 -0
  22. package/esm2020/map-rectangle/map-rectangle.mjs +229 -0
  23. package/esm2020/map-traffic-layer/map-traffic-layer.mjs +93 -0
  24. package/esm2020/map-transit-layer/map-transit-layer.mjs +48 -0
  25. package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
  26. package/fesm2015/{google-maps.js → google-maps.mjs} +590 -518
  27. package/fesm2015/google-maps.mjs.map +1 -0
  28. package/fesm2020/google-maps.mjs +3257 -0
  29. package/fesm2020/google-maps.mjs.map +1 -0
  30. package/google-map/google-map.d.ts +10 -7
  31. package/google-maps-module.d.ts +20 -7
  32. package/google-maps_public_index.d.ts +4 -0
  33. package/index.d.ts +5 -1
  34. package/map-anchor-point.d.ts +1 -1
  35. package/map-base-layer.d.ts +3 -0
  36. package/map-bicycling-layer/map-bicycling-layer.d.ts +4 -8
  37. package/map-circle/map-circle.d.ts +6 -3
  38. package/map-directions-renderer/map-directions-renderer.d.ts +6 -3
  39. package/map-directions-renderer/map-directions-service.d.ts +4 -1
  40. package/map-event-manager.d.ts +1 -1
  41. package/map-geocoder/map-geocoder.d.ts +4 -1
  42. package/map-ground-overlay/map-ground-overlay.d.ts +5 -2
  43. package/map-heatmap-layer/map-heatmap-layer.d.ts +4 -1
  44. package/map-info-window/map-info-window.d.ts +5 -2
  45. package/map-kml-layer/map-kml-layer.d.ts +6 -3
  46. package/map-marker/map-marker.d.ts +4 -1
  47. package/map-marker-clusterer/map-marker-clusterer.d.ts +5 -2
  48. package/map-marker-clusterer/marker-clusterer-types.d.ts +1 -1
  49. package/map-polygon/map-polygon.d.ts +4 -1
  50. package/map-polyline/map-polyline.d.ts +4 -1
  51. package/map-rectangle/map-rectangle.d.ts +5 -2
  52. package/map-traffic-layer/map-traffic-layer.d.ts +4 -1
  53. package/map-transit-layer/map-transit-layer.d.ts +4 -8
  54. package/package.json +23 -9
  55. package/bundles/google-maps.umd.js +0 -3757
  56. package/bundles/google-maps.umd.js.map +0 -1
  57. package/esm2015/google-map/google-map.js +0 -418
  58. package/esm2015/google-maps-module.js +0 -51
  59. package/esm2015/google-maps.externs.js +0 -6
  60. package/esm2015/index.js +0 -5
  61. package/esm2015/map-base-layer.js +0 -49
  62. package/esm2015/map-bicycling-layer/map-bicycling-layer.js +0 -43
  63. package/esm2015/map-circle/map-circle.js +0 -247
  64. package/esm2015/map-directions-renderer/map-directions-renderer.js +0 -131
  65. package/esm2015/map-directions-renderer/map-directions-service.js +0 -52
  66. package/esm2015/map-event-manager.js +0 -67
  67. package/esm2015/map-geocoder/map-geocoder.js +0 -47
  68. package/esm2015/map-ground-overlay/map-ground-overlay.js +0 -171
  69. package/esm2015/map-heatmap-layer/map-heatmap-layer.js +0 -130
  70. package/esm2015/map-info-window/map-info-window.js +0 -193
  71. package/esm2015/map-kml-layer/map-kml-layer.js +0 -160
  72. package/esm2015/map-marker/map-marker.js +0 -391
  73. package/esm2015/map-marker-clusterer/map-marker-clusterer.js +0 -360
  74. package/esm2015/map-marker-clusterer/marker-clusterer-types.js +0 -9
  75. package/esm2015/map-polygon/map-polygon.js +0 -198
  76. package/esm2015/map-polyline/map-polyline.js +0 -189
  77. package/esm2015/map-rectangle/map-rectangle.js +0 -210
  78. package/esm2015/map-traffic-layer/map-traffic-layer.js +0 -88
  79. package/esm2015/map-transit-layer/map-transit-layer.js +0 -43
  80. package/fesm2015/google-maps.js.map +0 -1
  81. package/index.metadata.json +0 -1
package/index.d.ts CHANGED
@@ -1,4 +1,8 @@
1
1
  /**
2
- * Generated bundle index. Do not edit.
2
+ * @license
3
+ * Copyright Google LLC All Rights Reserved.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license that can be
6
+ * found in the LICENSE file at https://angular.io/license
3
7
  */
4
8
  export * from './public-api';
@@ -5,7 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
- /// <reference types="googlemaps" />
8
+ /// <reference types="google.maps" />
9
9
  export interface MapAnchorPoint {
10
10
  getAnchor(): google.maps.MVCObject;
11
11
  }
@@ -7,6 +7,7 @@
7
7
  */
8
8
  import { NgZone, OnDestroy, OnInit } from '@angular/core';
9
9
  import { GoogleMap } from './google-map/google-map';
10
+ import * as i0 from "@angular/core";
10
11
  export declare class MapBaseLayer implements OnInit, OnDestroy {
11
12
  protected readonly _map: GoogleMap;
12
13
  protected readonly _ngZone: NgZone;
@@ -17,4 +18,6 @@ export declare class MapBaseLayer implements OnInit, OnDestroy {
17
18
  protected _initializeObject(): void;
18
19
  protected _setMap(): void;
19
20
  protected _unsetMap(): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapBaseLayer, never>;
22
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MapBaseLayer, "map-base-layer", ["mapBaseLayer"], {}, {}, never>;
20
23
  }
@@ -1,12 +1,6 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- /// <reference types="googlemaps" />
1
+ /// <reference types="google.maps" />
9
2
  import { MapBaseLayer } from '../map-base-layer';
3
+ import * as i0 from "@angular/core";
10
4
  /**
11
5
  * Angular component that renders a Google Maps Bicycling Layer via the Google Maps JavaScript API.
12
6
  *
@@ -23,4 +17,6 @@ export declare class MapBicyclingLayer extends MapBaseLayer {
23
17
  protected _setMap(): void;
24
18
  protected _unsetMap(): void;
25
19
  private _assertLayerInitialized;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapBicyclingLayer, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MapBicyclingLayer, "map-bicycling-layer", ["mapBicyclingLayer"], {}, {}, never>;
26
22
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="google.maps" />
1
2
  /**
2
3
  * @license
3
4
  * Copyright Google LLC All Rights Reserved.
@@ -5,10 +6,10 @@
5
6
  * Use of this source code is governed by an MIT-style license that can be
6
7
  * found in the LICENSE file at https://angular.io/license
7
8
  */
8
- /// <reference types="googlemaps" />
9
9
  import { NgZone, OnDestroy, OnInit } from '@angular/core';
10
10
  import { Observable } from 'rxjs';
11
11
  import { GoogleMap } from '../google-map/google-map';
12
+ import * as i0 from "@angular/core";
12
13
  /**
13
14
  * Angular component that renders a Google Maps Circle via the Google Maps JavaScript API.
14
15
  * @see developers.google.com/maps/documentation/javascript/reference/polygon#Circle
@@ -102,12 +103,12 @@ export declare class MapCircle implements OnInit, OnDestroy {
102
103
  * @see
103
104
  * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.getBounds
104
105
  */
105
- getBounds(): google.maps.LatLngBounds;
106
+ getBounds(): google.maps.LatLngBounds | null;
106
107
  /**
107
108
  * @see
108
109
  * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.getCenter
109
110
  */
110
- getCenter(): google.maps.LatLng;
111
+ getCenter(): google.maps.LatLng | null;
111
112
  /**
112
113
  * @see
113
114
  * developers.google.com/maps/documentation/javascript/reference/polygon#Circle.getDraggable
@@ -133,4 +134,6 @@ export declare class MapCircle implements OnInit, OnDestroy {
133
134
  private _watchForCenterChanges;
134
135
  private _watchForRadiusChanges;
135
136
  private _assertInitialized;
137
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapCircle, never>;
138
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MapCircle, "map-circle", ["mapCircle"], { "options": "options"; "center": "center"; "radius": "radius"; }, { "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"; }, never>;
136
139
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="google.maps" />
1
2
  /**
2
3
  * @license
3
4
  * Copyright Google LLC All Rights Reserved.
@@ -5,10 +6,10 @@
5
6
  * Use of this source code is governed by an MIT-style license that can be
6
7
  * found in the LICENSE file at https://angular.io/license
7
8
  */
8
- /// <reference types="googlemaps" />
9
9
  import { NgZone, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
10
10
  import { Observable } from 'rxjs';
11
11
  import { GoogleMap } from '../google-map/google-map';
12
+ import * as i0 from "@angular/core";
12
13
  /**
13
14
  * Angular component that renders a Google Maps Directions Renderer via the Google Maps
14
15
  * JavaScript API.
@@ -46,12 +47,12 @@ export declare class MapDirectionsRenderer implements OnInit, OnChanges, OnDestr
46
47
  * See developers.google.com/maps/documentation/javascript/reference/directions
47
48
  * #DirectionsRenderer.getDirections
48
49
  */
49
- getDirections(): google.maps.DirectionsResult;
50
+ getDirections(): google.maps.DirectionsResult | null;
50
51
  /**
51
52
  * See developers.google.com/maps/documentation/javascript/reference/directions
52
53
  * #DirectionsRenderer.getPanel
53
54
  */
54
- getPanel(): Node;
55
+ getPanel(): Node | null;
55
56
  /**
56
57
  * See developers.google.com/maps/documentation/javascript/reference/directions
57
58
  * #DirectionsRenderer.getRouteIndex
@@ -59,4 +60,6 @@ export declare class MapDirectionsRenderer implements OnInit, OnChanges, OnDestr
59
60
  getRouteIndex(): number;
60
61
  private _combineOptions;
61
62
  private _assertInitialized;
63
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapDirectionsRenderer, never>;
64
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MapDirectionsRenderer, "map-directions-renderer", ["mapDirectionsRenderer"], { "directions": "directions"; "options": "options"; }, { "directionsChanged": "directionsChanged"; }, never>;
62
65
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="google.maps" />
1
2
  /**
2
3
  * @license
3
4
  * Copyright Google LLC All Rights Reserved.
@@ -5,9 +6,9 @@
5
6
  * Use of this source code is governed by an MIT-style license that can be
6
7
  * found in the LICENSE file at https://angular.io/license
7
8
  */
8
- /// <reference types="googlemaps" />
9
9
  import { NgZone } from '@angular/core';
10
10
  import { Observable } from 'rxjs';
11
+ import * as i0 from "@angular/core";
11
12
  export interface MapDirectionsResponse {
12
13
  status: google.maps.DirectionsStatus;
13
14
  result?: google.maps.DirectionsResult;
@@ -28,4 +29,6 @@ export declare class MapDirectionsService {
28
29
  * #DirectionsService.route
29
30
  */
30
31
  route(request: google.maps.DirectionsRequest): Observable<MapDirectionsResponse>;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapDirectionsService, never>;
33
+ static ɵprov: i0.ɵɵInjectableDeclaration<MapDirectionsService>;
31
34
  }
@@ -5,7 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
- /// <reference types="googlemaps" />
8
+ /// <reference types="google.maps" />
9
9
  import { NgZone } from '@angular/core';
10
10
  import { Observable } from 'rxjs';
11
11
  declare type MapEventManagerTarget = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="google.maps" />
1
2
  /**
2
3
  * @license
3
4
  * Copyright Google LLC All Rights Reserved.
@@ -5,9 +6,9 @@
5
6
  * Use of this source code is governed by an MIT-style license that can be
6
7
  * found in the LICENSE file at https://angular.io/license
7
8
  */
8
- /// <reference types="googlemaps" />
9
9
  import { NgZone } from '@angular/core';
10
10
  import { Observable } from 'rxjs';
11
+ import * as i0 from "@angular/core";
11
12
  export interface MapGeocoderResponse {
12
13
  status: google.maps.GeocoderStatus;
13
14
  results: google.maps.GeocoderResult[];
@@ -24,4 +25,6 @@ export declare class MapGeocoder {
24
25
  * See developers.google.com/maps/documentation/javascript/reference/geocoder#Geocoder.geocode
25
26
  */
26
27
  geocode(request: google.maps.GeocoderRequest): Observable<MapGeocoderResponse>;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapGeocoder, never>;
29
+ static ɵprov: i0.ɵɵInjectableDeclaration<MapGeocoder>;
27
30
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="google.maps" />
1
2
  /**
2
3
  * @license
3
4
  * Copyright Google LLC All Rights Reserved.
@@ -5,10 +6,10 @@
5
6
  * Use of this source code is governed by an MIT-style license that can be
6
7
  * found in the LICENSE file at https://angular.io/license
7
8
  */
8
- /// <reference types="googlemaps" />
9
9
  import { NgZone, OnDestroy, OnInit } from '@angular/core';
10
10
  import { Observable } from 'rxjs';
11
11
  import { GoogleMap } from '../google-map/google-map';
12
+ import * as i0 from "@angular/core";
12
13
  /**
13
14
  * Angular component that renders a Google Maps Ground Overlay via the Google Maps JavaScript API.
14
15
  *
@@ -56,7 +57,7 @@ export declare class MapGroundOverlay implements OnInit, OnDestroy {
56
57
  * developers.google.com/maps/documentation/javascript/reference/image-overlay
57
58
  * #GroundOverlay.getBounds
58
59
  */
59
- getBounds(): google.maps.LatLngBounds;
60
+ getBounds(): google.maps.LatLngBounds | null;
60
61
  /**
61
62
  * See
62
63
  * developers.google.com/maps/documentation/javascript/reference/image-overlay
@@ -72,4 +73,6 @@ export declare class MapGroundOverlay implements OnInit, OnDestroy {
72
73
  private _watchForOpacityChanges;
73
74
  private _watchForUrlChanges;
74
75
  private _assertInitialized;
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapGroundOverlay, never>;
77
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MapGroundOverlay, "map-ground-overlay", ["mapGroundOverlay"], { "url": "url"; "bounds": "bounds"; "clickable": "clickable"; "opacity": "opacity"; }, { "mapClick": "mapClick"; "mapDblclick": "mapDblclick"; }, never>;
75
78
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="google.maps" />
1
2
  /**
2
3
  * @license
3
4
  * Copyright Google LLC All Rights Reserved.
@@ -5,9 +6,9 @@
5
6
  * Use of this source code is governed by an MIT-style license that can be
6
7
  * found in the LICENSE file at https://angular.io/license
7
8
  */
8
- /// <reference types="googlemaps" />
9
9
  import { OnDestroy, OnInit, NgZone, OnChanges, SimpleChanges } from '@angular/core';
10
10
  import { GoogleMap } from '../google-map/google-map';
11
+ import * as i0 from "@angular/core";
11
12
  /** Possible data that can be shown on a heatmap layer. */
12
13
  export declare type HeatmapData = google.maps.MVCArray<google.maps.LatLng | google.maps.visualization.WeightedLocation | google.maps.LatLngLiteral> | (google.maps.LatLng | google.maps.visualization.WeightedLocation | google.maps.LatLngLiteral)[];
13
14
  /**
@@ -58,4 +59,6 @@ export declare class MapHeatmapLayer implements OnInit, OnChanges, OnDestroy {
58
59
  private _normalizeData;
59
60
  /** Asserts that the heatmap object has been initialized. */
60
61
  private _assertInitialized;
62
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapHeatmapLayer, never>;
63
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MapHeatmapLayer, "map-heatmap-layer", ["mapHeatmapLayer"], { "data": "data"; "options": "options"; }, {}, never>;
61
64
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="google.maps" />
1
2
  /**
2
3
  * @license
3
4
  * Copyright Google LLC All Rights Reserved.
@@ -5,11 +6,11 @@
5
6
  * Use of this source code is governed by an MIT-style license that can be
6
7
  * found in the LICENSE file at https://angular.io/license
7
8
  */
8
- /// <reference types="googlemaps" />
9
9
  import { ElementRef, NgZone, OnDestroy, OnInit } from '@angular/core';
10
10
  import { Observable } from 'rxjs';
11
11
  import { GoogleMap } from '../google-map/google-map';
12
12
  import { MapAnchorPoint } from '../map-anchor-point';
13
+ import * as i0 from "@angular/core";
13
14
  /**
14
15
  * Angular component that renders a Google Maps info window via the Google Maps JavaScript API.
15
16
  *
@@ -70,7 +71,7 @@ export declare class MapInfoWindow implements OnInit, OnDestroy {
70
71
  * See
71
72
  * developers.google.com/maps/documentation/javascript/reference/info-window#InfoWindow.getContent
72
73
  */
73
- getContent(): string | Node;
74
+ getContent(): string | Node | null;
74
75
  /**
75
76
  * See
76
77
  * developers.google.com/maps/documentation/javascript/reference/info-window
@@ -91,4 +92,6 @@ export declare class MapInfoWindow implements OnInit, OnDestroy {
91
92
  private _watchForOptionsChanges;
92
93
  private _watchForPositionChanges;
93
94
  private _assertInitialized;
95
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapInfoWindow, never>;
96
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MapInfoWindow, "map-info-window", ["mapInfoWindow"], { "options": "options"; "position": "position"; }, { "closeclick": "closeclick"; "contentChanged": "contentChanged"; "domready": "domready"; "positionChanged": "positionChanged"; "zindexChanged": "zindexChanged"; }, never>;
94
97
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="google.maps" />
1
2
  /**
2
3
  * @license
3
4
  * Copyright Google LLC All Rights Reserved.
@@ -5,10 +6,10 @@
5
6
  * Use of this source code is governed by an MIT-style license that can be
6
7
  * found in the LICENSE file at https://angular.io/license
7
8
  */
8
- /// <reference types="googlemaps" />
9
9
  import { NgZone, OnDestroy, OnInit } from '@angular/core';
10
10
  import { Observable } from 'rxjs';
11
11
  import { GoogleMap } from '../google-map/google-map';
12
+ import * as i0 from "@angular/core";
12
13
  /**
13
14
  * Angular component that renders a Google Maps KML Layer via the Google Maps JavaScript API.
14
15
  *
@@ -50,11 +51,11 @@ export declare class MapKmlLayer implements OnInit, OnDestroy {
50
51
  * See
51
52
  * developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer.getDefaultViewport
52
53
  */
53
- getDefaultViewport(): google.maps.LatLngBounds;
54
+ getDefaultViewport(): google.maps.LatLngBounds | null;
54
55
  /**
55
56
  * See developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer.getMetadata
56
57
  */
57
- getMetadata(): google.maps.KmlLayerMetadata;
58
+ getMetadata(): google.maps.KmlLayerMetadata | null;
58
59
  /**
59
60
  * See developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer.getStatus
60
61
  */
@@ -71,4 +72,6 @@ export declare class MapKmlLayer implements OnInit, OnDestroy {
71
72
  private _watchForOptionsChanges;
72
73
  private _watchForUrlChanges;
73
74
  private _assertInitialized;
75
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapKmlLayer, never>;
76
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MapKmlLayer, "map-kml-layer", ["mapKmlLayer"], { "options": "options"; "url": "url"; }, { "kmlClick": "kmlClick"; "defaultviewportChanged": "defaultviewportChanged"; "statusChanged": "statusChanged"; }, never>;
74
77
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="google.maps" />
1
2
  /**
2
3
  * @license
3
4
  * Copyright Google LLC All Rights Reserved.
@@ -5,11 +6,11 @@
5
6
  * Use of this source code is governed by an MIT-style license that can be
6
7
  * found in the LICENSE file at https://angular.io/license
7
8
  */
8
- /// <reference types="googlemaps" />
9
9
  import { OnDestroy, OnInit, NgZone, OnChanges, SimpleChanges } from '@angular/core';
10
10
  import { Observable } from 'rxjs';
11
11
  import { GoogleMap } from '../google-map/google-map';
12
12
  import { MapAnchorPoint } from '../map-anchor-point';
13
+ import * as i0 from "@angular/core";
13
14
  /**
14
15
  * Default options for the Google Maps marker component. Displays a marker
15
16
  * at the Googleplex.
@@ -251,4 +252,6 @@ export declare class MapMarker implements OnInit, OnChanges, OnDestroy, MapAncho
251
252
  /** Creates a combined options object using the passed-in options and the individual inputs. */
252
253
  private _combineOptions;
253
254
  private _assertInitialized;
255
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapMarker, never>;
256
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MapMarker, "map-marker", ["mapMarker"], { "title": "title"; "position": "position"; "label": "label"; "clickable": "clickable"; "options": "options"; "icon": "icon"; "visible": "visible"; }, { "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"; }, never>;
254
257
  }
@@ -1,3 +1,5 @@
1
+ /// <reference path="marker-clusterer-types.d.ts" />
2
+ /// <reference types="google.maps" />
1
3
  /**
2
4
  * @license
3
5
  * Copyright Google LLC All Rights Reserved.
@@ -5,12 +7,11 @@
5
7
  * Use of this source code is governed by an MIT-style license that can be
6
8
  * found in the LICENSE file at https://angular.io/license
7
9
  */
8
- /// <reference path="marker-clusterer-types.d.ts" />
9
- /// <reference types="googlemaps" />
10
10
  import { AfterContentInit, NgZone, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges } from '@angular/core';
11
11
  import { Observable } from 'rxjs';
12
12
  import { GoogleMap } from '../google-map/google-map';
13
13
  import { MapMarker } from '../map-marker/map-marker';
14
+ import * as i0 from "@angular/core";
14
15
  /**
15
16
  * Angular component for implementing a Google Maps Marker Clusterer.
16
17
  *
@@ -111,4 +112,6 @@ export declare class MapMarkerClusterer implements OnInit, AfterContentInit, OnC
111
112
  private _watchForMarkerChanges;
112
113
  private _getInternalMarkers;
113
114
  private _assertInitialized;
115
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapMarkerClusterer, never>;
116
+ static ɵcmp: i0.ɵɵComponentDeclaration<MapMarkerClusterer, "map-marker-clusterer", ["mapMarkerClusterer"], { "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"; }, { "clusteringbegin": "clusteringbegin"; "clusteringend": "clusteringend"; "clusterClick": "clusterClick"; }, ["_markers"], ["*"]>;
114
117
  }
@@ -5,7 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
- /// <reference types="googlemaps" />
8
+ /// <reference types="google.maps" />
9
9
  /**
10
10
  * Class for clustering markers on a Google Map.
11
11
  *
@@ -1,3 +1,4 @@
1
+ /// <reference types="google.maps" />
1
2
  /**
2
3
  * @license
3
4
  * Copyright Google LLC All Rights Reserved.
@@ -5,10 +6,10 @@
5
6
  * Use of this source code is governed by an MIT-style license that can be
6
7
  * found in the LICENSE file at https://angular.io/license
7
8
  */
8
- /// <reference types="googlemaps" />
9
9
  import { OnDestroy, OnInit, NgZone } from '@angular/core';
10
10
  import { Observable } from 'rxjs';
11
11
  import { GoogleMap } from '../google-map/google-map';
12
+ import * as i0 from "@angular/core";
12
13
  /**
13
14
  * Angular component that renders a Google Maps Polygon via the Google Maps JavaScript API.
14
15
  *
@@ -101,4 +102,6 @@ export declare class MapPolygon implements OnInit, OnDestroy {
101
102
  private _watchForOptionsChanges;
102
103
  private _watchForPathChanges;
103
104
  private _assertInitialized;
105
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapPolygon, never>;
106
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MapPolygon, "map-polygon", ["mapPolygon"], { "options": "options"; "paths": "paths"; }, { "polygonClick": "polygonClick"; "polygonDblclick": "polygonDblclick"; "polygonDrag": "polygonDrag"; "polygonDragend": "polygonDragend"; "polygonDragstart": "polygonDragstart"; "polygonMousedown": "polygonMousedown"; "polygonMousemove": "polygonMousemove"; "polygonMouseout": "polygonMouseout"; "polygonMouseover": "polygonMouseover"; "polygonMouseup": "polygonMouseup"; "polygonRightclick": "polygonRightclick"; }, never>;
104
107
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="google.maps" />
1
2
  /**
2
3
  * @license
3
4
  * Copyright Google LLC All Rights Reserved.
@@ -5,10 +6,10 @@
5
6
  * Use of this source code is governed by an MIT-style license that can be
6
7
  * found in the LICENSE file at https://angular.io/license
7
8
  */
8
- /// <reference types="googlemaps" />
9
9
  import { OnDestroy, OnInit, NgZone } from '@angular/core';
10
10
  import { Observable } from 'rxjs';
11
11
  import { GoogleMap } from '../google-map/google-map';
12
+ import * as i0 from "@angular/core";
12
13
  /**
13
14
  * Angular component that renders a Google Maps Polyline via the Google Maps JavaScript API.
14
15
  *
@@ -97,4 +98,6 @@ export declare class MapPolyline implements OnInit, OnDestroy {
97
98
  private _watchForOptionsChanges;
98
99
  private _watchForPathChanges;
99
100
  private _assertInitialized;
101
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapPolyline, never>;
102
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MapPolyline, "map-polyline", ["mapPolyline"], { "options": "options"; "path": "path"; }, { "polylineClick": "polylineClick"; "polylineDblclick": "polylineDblclick"; "polylineDrag": "polylineDrag"; "polylineDragend": "polylineDragend"; "polylineDragstart": "polylineDragstart"; "polylineMousedown": "polylineMousedown"; "polylineMousemove": "polylineMousemove"; "polylineMouseout": "polylineMouseout"; "polylineMouseover": "polylineMouseover"; "polylineMouseup": "polylineMouseup"; "polylineRightclick": "polylineRightclick"; }, never>;
100
103
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="google.maps" />
1
2
  /**
2
3
  * @license
3
4
  * Copyright Google LLC All Rights Reserved.
@@ -5,10 +6,10 @@
5
6
  * Use of this source code is governed by an MIT-style license that can be
6
7
  * found in the LICENSE file at https://angular.io/license
7
8
  */
8
- /// <reference types="googlemaps" />
9
9
  import { OnDestroy, OnInit, NgZone } from '@angular/core';
10
10
  import { Observable } from 'rxjs';
11
11
  import { GoogleMap } from '../google-map/google-map';
12
+ import * as i0 from "@angular/core";
12
13
  /**
13
14
  * Angular component that renders a Google Maps Rectangle via the Google Maps JavaScript API.
14
15
  *
@@ -95,7 +96,7 @@ export declare class MapRectangle implements OnInit, OnDestroy {
95
96
  * See
96
97
  * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.getBounds
97
98
  */
98
- getBounds(): google.maps.LatLngBounds;
99
+ getBounds(): google.maps.LatLngBounds | null;
99
100
  /**
100
101
  * See
101
102
  * developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.getDraggable
@@ -115,4 +116,6 @@ export declare class MapRectangle implements OnInit, OnDestroy {
115
116
  private _watchForOptionsChanges;
116
117
  private _watchForBoundsChanges;
117
118
  private _assertInitialized;
119
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapRectangle, never>;
120
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MapRectangle, "map-rectangle", ["mapRectangle"], { "options": "options"; "bounds": "bounds"; }, { "boundsChanged": "boundsChanged"; "rectangleClick": "rectangleClick"; "rectangleDblclick": "rectangleDblclick"; "rectangleDrag": "rectangleDrag"; "rectangleDragend": "rectangleDragend"; "rectangleDragstart": "rectangleDragstart"; "rectangleMousedown": "rectangleMousedown"; "rectangleMousemove": "rectangleMousemove"; "rectangleMouseout": "rectangleMouseout"; "rectangleMouseover": "rectangleMouseover"; "rectangleMouseup": "rectangleMouseup"; "rectangleRightclick": "rectangleRightclick"; }, never>;
118
121
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="google.maps" />
1
2
  /**
2
3
  * @license
3
4
  * Copyright Google LLC All Rights Reserved.
@@ -5,9 +6,9 @@
5
6
  * Use of this source code is governed by an MIT-style license that can be
6
7
  * found in the LICENSE file at https://angular.io/license
7
8
  */
8
- /// <reference types="googlemaps" />
9
9
  import { NgZone, OnDestroy, OnInit } from '@angular/core';
10
10
  import { GoogleMap } from '../google-map/google-map';
11
+ import * as i0 from "@angular/core";
11
12
  /**
12
13
  * Angular component that renders a Google Maps Traffic Layer via the Google Maps JavaScript API.
13
14
  *
@@ -34,4 +35,6 @@ export declare class MapTrafficLayer implements OnInit, OnDestroy {
34
35
  private _combineOptions;
35
36
  private _watchForAutoRefreshChanges;
36
37
  private _assertInitialized;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapTrafficLayer, never>;
39
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MapTrafficLayer, "map-traffic-layer", ["mapTrafficLayer"], { "autoRefresh": "autoRefresh"; }, {}, never>;
37
40
  }
@@ -1,12 +1,6 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- /// <reference types="googlemaps" />
1
+ /// <reference types="google.maps" />
9
2
  import { MapBaseLayer } from '../map-base-layer';
3
+ import * as i0 from "@angular/core";
10
4
  /**
11
5
  * Angular component that renders a Google Maps Transit Layer via the Google Maps JavaScript API.
12
6
  *
@@ -23,4 +17,6 @@ export declare class MapTransitLayer extends MapBaseLayer {
23
17
  protected _setMap(): void;
24
18
  protected _unsetMap(): void;
25
19
  private _assertLayerInitialized;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapTransitLayer, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MapTransitLayer, "map-transit-layer", ["mapTransitLayer"], {}, {}, never>;
26
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/google-maps",
3
- "version": "13.0.0-next.7",
3
+ "version": "13.0.0-rc.2",
4
4
  "description": "Angular Google Maps",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,8 +17,8 @@
17
17
  },
18
18
  "homepage": "https://github.com/angular/components/tree/master/src/google-maps#readme",
19
19
  "dependencies": {
20
- "@types/googlemaps": "^3.43.1",
21
- "tslib": "^2.2.0"
20
+ "@types/google.maps": "^3.45.6",
21
+ "tslib": "^2.3.0"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "@angular/core": "^13.0.0-0 || ^14.0.0-0",
@@ -27,10 +27,24 @@
27
27
  },
28
28
  "sideEffects": false,
29
29
  "ng-update": {},
30
- "main": "./bundles/google-maps.umd.js",
31
- "fesm2015": "./fesm2015/google-maps.js",
32
- "esm2015": "./esm2015/index.js",
33
- "typings": "./index.d.ts",
34
- "module": "./fesm2015/google-maps.js",
35
- "es2015": "./fesm2015/google-maps.js"
30
+ "fesm2020": "./fesm2020/google-maps.mjs",
31
+ "fesm2015": "./fesm2015/google-maps.mjs",
32
+ "esm2020": "./esm2020/google-maps_public_index.mjs",
33
+ "typings": "./google-maps_public_index.d.ts",
34
+ "module": "./fesm2015/google-maps.mjs",
35
+ "es2020": "./fesm2020/google-maps.mjs",
36
+ "type": "module",
37
+ "exports": {
38
+ "./package.json": {
39
+ "default": "./package.json"
40
+ },
41
+ ".": {
42
+ "types": "./google-maps_public_index.d.ts",
43
+ "esm2020": "./esm2020/google-maps_public_index.mjs",
44
+ "es2020": "./fesm2020/google-maps.mjs",
45
+ "es2015": "./fesm2015/google-maps.mjs",
46
+ "node": "./fesm2015/google-maps.mjs",
47
+ "default": "./fesm2020/google-maps.mjs"
48
+ }
49
+ }
36
50
  }