@angular/google-maps 17.1.0-next.3 → 17.1.0
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.
- package/LICENSE +1 -1
- package/esm2022/google-map/google-map.mjs +27 -8
- package/esm2022/google-maps-module.mjs +4 -4
- package/esm2022/import-library.mjs +14 -0
- package/esm2022/map-base-layer.mjs +3 -3
- package/esm2022/map-bicycling-layer/map-bicycling-layer.mjs +42 -17
- package/esm2022/map-circle/map-circle.mjs +41 -25
- package/esm2022/map-directions-renderer/map-directions-renderer.mjs +35 -20
- package/esm2022/map-directions-renderer/map-directions-service.mjs +25 -13
- package/esm2022/map-geocoder/map-geocoder.mjs +25 -13
- package/esm2022/map-ground-overlay/map-ground-overlay.mjs +51 -31
- package/esm2022/map-heatmap-layer/map-heatmap-layer.mjs +38 -21
- package/esm2022/map-info-window/map-info-window.mjs +32 -19
- package/esm2022/map-kml-layer/map-kml-layer.mjs +37 -20
- package/esm2022/map-marker/map-marker.mjs +43 -19
- package/esm2022/map-marker-clusterer/map-marker-clusterer.mjs +72 -56
- package/esm2022/map-polygon/map-polygon.mjs +37 -22
- package/esm2022/map-polyline/map-polyline.mjs +37 -20
- package/esm2022/map-rectangle/map-rectangle.mjs +37 -22
- package/esm2022/map-traffic-layer/map-traffic-layer.mjs +33 -19
- package/esm2022/map-transit-layer/map-transit-layer.mjs +42 -17
- package/fesm2022/google-maps.mjs +616 -335
- package/fesm2022/google-maps.mjs.map +1 -1
- package/index.d.ts +73 -22
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -230,6 +230,7 @@ export declare class GoogleMap implements OnChanges, OnInit, OnDestroy {
|
|
|
230
230
|
constructor(_elementRef: ElementRef, _ngZone: NgZone, platformId: Object);
|
|
231
231
|
ngOnChanges(changes: SimpleChanges): void;
|
|
232
232
|
ngOnInit(): void;
|
|
233
|
+
private _initialize;
|
|
233
234
|
ngOnDestroy(): void;
|
|
234
235
|
/**
|
|
235
236
|
* See
|
|
@@ -316,6 +317,8 @@ export declare class GoogleMap implements OnChanges, OnInit, OnDestroy {
|
|
|
316
317
|
* https://developers.google.com/maps/documentation/javascript/reference/map#Map.overlayMapTypes
|
|
317
318
|
*/
|
|
318
319
|
get overlayMapTypes(): google.maps.MVCArray<google.maps.MapType | null>;
|
|
320
|
+
/** Returns a promise that resolves when the map has been initialized. */
|
|
321
|
+
_resolveMap(): Promise<google.maps.Map>;
|
|
319
322
|
private _setSize;
|
|
320
323
|
/** Combines the center and zoom and the other map options into a single object */
|
|
321
324
|
private _combineOptions;
|
|
@@ -460,19 +463,23 @@ export declare class MapBaseLayer implements OnInit, OnDestroy {
|
|
|
460
463
|
*
|
|
461
464
|
* See developers.google.com/maps/documentation/javascript/reference/map#BicyclingLayer
|
|
462
465
|
*/
|
|
463
|
-
export declare class MapBicyclingLayer
|
|
466
|
+
export declare class MapBicyclingLayer implements OnInit, OnDestroy {
|
|
467
|
+
private _map;
|
|
468
|
+
private _zone;
|
|
464
469
|
/**
|
|
465
470
|
* The underlying google.maps.BicyclingLayer object.
|
|
466
471
|
*
|
|
467
472
|
* See developers.google.com/maps/documentation/javascript/reference/map#BicyclingLayer
|
|
468
473
|
*/
|
|
469
474
|
bicyclingLayer?: google.maps.BicyclingLayer;
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
475
|
+
/** Event emitted when the bicycling layer is initialized. */
|
|
476
|
+
readonly bicyclingLayerInitialized: EventEmitter<google.maps.BicyclingLayer>;
|
|
477
|
+
ngOnInit(): void;
|
|
478
|
+
private _initialize;
|
|
479
|
+
ngOnDestroy(): void;
|
|
473
480
|
private _assertLayerInitialized;
|
|
474
481
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapBicyclingLayer, never>;
|
|
475
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MapBicyclingLayer, "map-bicycling-layer", ["mapBicyclingLayer"], {}, {}, never, never, true, never>;
|
|
482
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MapBicyclingLayer, "map-bicycling-layer", ["mapBicyclingLayer"], {}, { "bicyclingLayerInitialized": "bicyclingLayerInitialized"; }, never, never, true, never>;
|
|
476
483
|
}
|
|
477
484
|
|
|
478
485
|
/**
|
|
@@ -561,8 +568,11 @@ export declare class MapCircle implements OnInit, OnDestroy {
|
|
|
561
568
|
* developers.google.com/maps/documentation/javascript/reference/polygon#Circle.rightclick
|
|
562
569
|
*/
|
|
563
570
|
readonly circleRightclick: Observable<google.maps.MapMouseEvent>;
|
|
571
|
+
/** Event emitted when the circle is initialized. */
|
|
572
|
+
readonly circleInitialized: EventEmitter<google.maps.Circle>;
|
|
564
573
|
constructor(_map: GoogleMap, _ngZone: NgZone);
|
|
565
574
|
ngOnInit(): void;
|
|
575
|
+
private _initialize;
|
|
566
576
|
ngOnDestroy(): void;
|
|
567
577
|
/**
|
|
568
578
|
* @see
|
|
@@ -600,7 +610,7 @@ export declare class MapCircle implements OnInit, OnDestroy {
|
|
|
600
610
|
private _watchForRadiusChanges;
|
|
601
611
|
private _assertInitialized;
|
|
602
612
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapCircle, never>;
|
|
603
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MapCircle, "map-circle", ["mapCircle"], { "options": { "alias": "options"; "required": false; }; "center": { "alias": "center"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; }, { "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, never, true, never>;
|
|
613
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MapCircle, "map-circle", ["mapCircle"], { "options": { "alias": "options"; "required": false; }; "center": { "alias": "center"; "required": false; }; "radius": { "alias": "radius"; "required": false; }; }, { "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"; }, never, never, true, never>;
|
|
604
614
|
}
|
|
605
615
|
|
|
606
616
|
/**
|
|
@@ -630,10 +640,13 @@ export declare class MapDirectionsRenderer implements OnInit, OnChanges, OnDestr
|
|
|
630
640
|
* #DirectionsRenderer.directions_changed
|
|
631
641
|
*/
|
|
632
642
|
readonly directionsChanged: Observable<void>;
|
|
643
|
+
/** Event emitted when the directions renderer is initialized. */
|
|
644
|
+
readonly directionsRendererInitialized: EventEmitter<google.maps.DirectionsRenderer>;
|
|
633
645
|
/** The underlying google.maps.DirectionsRenderer object. */
|
|
634
646
|
directionsRenderer?: google.maps.DirectionsRenderer;
|
|
635
647
|
constructor(_googleMap: GoogleMap, _ngZone: NgZone);
|
|
636
648
|
ngOnInit(): void;
|
|
649
|
+
private _initialize;
|
|
637
650
|
ngOnChanges(changes: SimpleChanges): void;
|
|
638
651
|
ngOnDestroy(): void;
|
|
639
652
|
/**
|
|
@@ -654,7 +667,7 @@ export declare class MapDirectionsRenderer implements OnInit, OnChanges, OnDestr
|
|
|
654
667
|
private _combineOptions;
|
|
655
668
|
private _assertInitialized;
|
|
656
669
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapDirectionsRenderer, never>;
|
|
657
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MapDirectionsRenderer, "map-directions-renderer", ["mapDirectionsRenderer"], { "directions": { "alias": "directions"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "directionsChanged": "directionsChanged"; }, never, never, true, never>;
|
|
670
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MapDirectionsRenderer, "map-directions-renderer", ["mapDirectionsRenderer"], { "directions": { "alias": "directions"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "directionsChanged": "directionsChanged"; "directionsRendererInitialized": "directionsRendererInitialized"; }, never, never, true, never>;
|
|
658
671
|
}
|
|
659
672
|
|
|
660
673
|
export declare interface MapDirectionsResponse {
|
|
@@ -678,6 +691,7 @@ export declare class MapDirectionsService {
|
|
|
678
691
|
* #DirectionsService.route
|
|
679
692
|
*/
|
|
680
693
|
route(request: google.maps.DirectionsRequest): Observable<MapDirectionsResponse>;
|
|
694
|
+
private _getService;
|
|
681
695
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapDirectionsService, never>;
|
|
682
696
|
static ɵprov: i0.ɵɵInjectableDeclaration<MapDirectionsService>;
|
|
683
697
|
}
|
|
@@ -716,6 +730,7 @@ export declare class MapGeocoder {
|
|
|
716
730
|
* See developers.google.com/maps/documentation/javascript/reference/geocoder#Geocoder.geocode
|
|
717
731
|
*/
|
|
718
732
|
geocode(request: google.maps.GeocoderRequest): Observable<MapGeocoderResponse>;
|
|
733
|
+
private _getGeocoder;
|
|
719
734
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapGeocoder, never>;
|
|
720
735
|
static ɵprov: i0.ɵɵInjectableDeclaration<MapGeocoder>;
|
|
721
736
|
}
|
|
@@ -738,6 +753,7 @@ export declare class MapGroundOverlay implements OnInit, OnDestroy {
|
|
|
738
753
|
private readonly _url;
|
|
739
754
|
private readonly _bounds;
|
|
740
755
|
private readonly _destroyed;
|
|
756
|
+
private _hasWatchers;
|
|
741
757
|
/**
|
|
742
758
|
* The underlying google.maps.GroundOverlay object.
|
|
743
759
|
*
|
|
@@ -764,8 +780,11 @@ export declare class MapGroundOverlay implements OnInit, OnDestroy {
|
|
|
764
780
|
* #GroundOverlay.dblclick
|
|
765
781
|
*/
|
|
766
782
|
readonly mapDblclick: Observable<google.maps.MapMouseEvent>;
|
|
783
|
+
/** Event emitted when the ground overlay is initialized. */
|
|
784
|
+
readonly groundOverlayInitialized: EventEmitter<google.maps.GroundOverlay>;
|
|
767
785
|
constructor(_map: GoogleMap, _ngZone: NgZone);
|
|
768
786
|
ngOnInit(): void;
|
|
787
|
+
private _initialize;
|
|
769
788
|
ngOnDestroy(): void;
|
|
770
789
|
/**
|
|
771
790
|
* See
|
|
@@ -789,7 +808,7 @@ export declare class MapGroundOverlay implements OnInit, OnDestroy {
|
|
|
789
808
|
private _watchForUrlChanges;
|
|
790
809
|
private _assertInitialized;
|
|
791
810
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapGroundOverlay, never>;
|
|
792
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MapGroundOverlay, "map-ground-overlay", ["mapGroundOverlay"], { "url": { "alias": "url"; "required": false; }; "bounds": { "alias": "bounds"; "required": false; }; "clickable": { "alias": "clickable"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; }, { "mapClick": "mapClick"; "mapDblclick": "mapDblclick"; }, never, never, true, never>;
|
|
811
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MapGroundOverlay, "map-ground-overlay", ["mapGroundOverlay"], { "url": { "alias": "url"; "required": false; }; "bounds": { "alias": "bounds"; "required": false; }; "clickable": { "alias": "clickable"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; }, { "mapClick": "mapClick"; "mapDblclick": "mapDblclick"; "groundOverlayInitialized": "groundOverlayInitialized"; }, never, never, true, never>;
|
|
793
812
|
}
|
|
794
813
|
|
|
795
814
|
/**
|
|
@@ -818,8 +837,11 @@ export declare class MapHeatmapLayer implements OnInit, OnChanges, OnDestroy {
|
|
|
818
837
|
* See: https://developers.google.com/maps/documentation/javascript/reference/visualization
|
|
819
838
|
*/
|
|
820
839
|
heatmap?: google.maps.visualization.HeatmapLayer;
|
|
840
|
+
/** Event emitted when the heatmap is initialized. */
|
|
841
|
+
readonly heatmapInitialized: EventEmitter<google.maps.visualization.HeatmapLayer>;
|
|
821
842
|
constructor(_googleMap: GoogleMap, _ngZone: NgZone);
|
|
822
843
|
ngOnInit(): void;
|
|
844
|
+
private _initialize;
|
|
823
845
|
ngOnChanges(changes: SimpleChanges): void;
|
|
824
846
|
ngOnDestroy(): void;
|
|
825
847
|
/**
|
|
@@ -841,7 +863,7 @@ export declare class MapHeatmapLayer implements OnInit, OnChanges, OnDestroy {
|
|
|
841
863
|
/** Asserts that the heatmap object has been initialized. */
|
|
842
864
|
private _assertInitialized;
|
|
843
865
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapHeatmapLayer, never>;
|
|
844
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MapHeatmapLayer, "map-heatmap-layer", ["mapHeatmapLayer"], { "data": { "alias": "data"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
|
|
866
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MapHeatmapLayer, "map-heatmap-layer", ["mapHeatmapLayer"], { "data": { "alias": "data"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "heatmapInitialized": "heatmapInitialized"; }, never, never, true, never>;
|
|
845
867
|
}
|
|
846
868
|
|
|
847
869
|
/**
|
|
@@ -893,8 +915,11 @@ export declare class MapInfoWindow implements OnInit, OnDestroy {
|
|
|
893
915
|
* #InfoWindow.zindex_changed
|
|
894
916
|
*/
|
|
895
917
|
readonly zindexChanged: Observable<void>;
|
|
918
|
+
/** Event emitted when the info window is initialized. */
|
|
919
|
+
readonly infoWindowInitialized: EventEmitter<google.maps.InfoWindow>;
|
|
896
920
|
constructor(_googleMap: GoogleMap, _elementRef: ElementRef<HTMLElement>, _ngZone: NgZone);
|
|
897
921
|
ngOnInit(): void;
|
|
922
|
+
private _initialize;
|
|
898
923
|
ngOnDestroy(): void;
|
|
899
924
|
/**
|
|
900
925
|
* See developers.google.com/maps/documentation/javascript/reference/info-window#InfoWindow.close
|
|
@@ -926,7 +951,7 @@ export declare class MapInfoWindow implements OnInit, OnDestroy {
|
|
|
926
951
|
private _watchForPositionChanges;
|
|
927
952
|
private _assertInitialized;
|
|
928
953
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapInfoWindow, never>;
|
|
929
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MapInfoWindow, "map-info-window", ["mapInfoWindow"], { "options": { "alias": "options"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, { "closeclick": "closeclick"; "contentChanged": "contentChanged"; "domready": "domready"; "positionChanged": "positionChanged"; "zindexChanged": "zindexChanged"; }, never, never, true, never>;
|
|
954
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MapInfoWindow, "map-info-window", ["mapInfoWindow"], { "options": { "alias": "options"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, { "closeclick": "closeclick"; "contentChanged": "contentChanged"; "domready": "domready"; "positionChanged": "positionChanged"; "zindexChanged": "zindexChanged"; "infoWindowInitialized": "infoWindowInitialized"; }, never, never, true, never>;
|
|
930
955
|
}
|
|
931
956
|
|
|
932
957
|
/**
|
|
@@ -963,8 +988,11 @@ export declare class MapKmlLayer implements OnInit, OnDestroy {
|
|
|
963
988
|
* See developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer.status_changed
|
|
964
989
|
*/
|
|
965
990
|
readonly statusChanged: Observable<void>;
|
|
991
|
+
/** Event emitted when the KML layer is initialized. */
|
|
992
|
+
readonly kmlLayerInitialized: EventEmitter<google.maps.KmlLayer>;
|
|
966
993
|
constructor(_map: GoogleMap, _ngZone: NgZone);
|
|
967
994
|
ngOnInit(): void;
|
|
995
|
+
private _initialize;
|
|
968
996
|
ngOnDestroy(): void;
|
|
969
997
|
/**
|
|
970
998
|
* See
|
|
@@ -992,7 +1020,7 @@ export declare class MapKmlLayer implements OnInit, OnDestroy {
|
|
|
992
1020
|
private _watchForUrlChanges;
|
|
993
1021
|
private _assertInitialized;
|
|
994
1022
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapKmlLayer, never>;
|
|
995
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MapKmlLayer, "map-kml-layer", ["mapKmlLayer"], { "options": { "alias": "options"; "required": false; }; "url": { "alias": "url"; "required": false; }; }, { "kmlClick": "kmlClick"; "defaultviewportChanged": "defaultviewportChanged"; "statusChanged": "statusChanged"; }, never, never, true, never>;
|
|
1023
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MapKmlLayer, "map-kml-layer", ["mapKmlLayer"], { "options": { "alias": "options"; "required": false; }; "url": { "alias": "url"; "required": false; }; }, { "kmlClick": "kmlClick"; "defaultviewportChanged": "defaultviewportChanged"; "statusChanged": "statusChanged"; "kmlLayerInitialized": "kmlLayerInitialized"; }, never, never, true, never>;
|
|
996
1024
|
}
|
|
997
1025
|
|
|
998
1026
|
/**
|
|
@@ -1151,6 +1179,8 @@ export declare class MapMarker implements OnInit, OnChanges, OnDestroy, MapAncho
|
|
|
1151
1179
|
* developers.google.com/maps/documentation/javascript/reference/marker#Marker.zindex_changed
|
|
1152
1180
|
*/
|
|
1153
1181
|
readonly zindexChanged: Observable<void>;
|
|
1182
|
+
/** Event emitted when the marker is initialized. */
|
|
1183
|
+
readonly markerInitialized: EventEmitter<google.maps.Marker>;
|
|
1154
1184
|
/**
|
|
1155
1185
|
* The underlying google.maps.Marker object.
|
|
1156
1186
|
*
|
|
@@ -1159,6 +1189,7 @@ export declare class MapMarker implements OnInit, OnChanges, OnDestroy, MapAncho
|
|
|
1159
1189
|
marker?: google.maps.Marker;
|
|
1160
1190
|
constructor(_googleMap: GoogleMap, _ngZone: NgZone);
|
|
1161
1191
|
ngOnInit(): void;
|
|
1192
|
+
private _initialize;
|
|
1162
1193
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1163
1194
|
ngOnDestroy(): void;
|
|
1164
1195
|
/**
|
|
@@ -1223,11 +1254,13 @@ export declare class MapMarker implements OnInit, OnChanges, OnDestroy, MapAncho
|
|
|
1223
1254
|
getZIndex(): number | null;
|
|
1224
1255
|
/** Gets the anchor point that can be used to attach other Google Maps objects. */
|
|
1225
1256
|
getAnchor(): google.maps.MVCObject;
|
|
1257
|
+
/** Returns a promise that resolves when the marker has been initialized. */
|
|
1258
|
+
_resolveMarker(): Promise<google.maps.Marker>;
|
|
1226
1259
|
/** Creates a combined options object using the passed-in options and the individual inputs. */
|
|
1227
1260
|
private _combineOptions;
|
|
1228
1261
|
private _assertInitialized;
|
|
1229
1262
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapMarker, never>;
|
|
1230
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MapMarker, "map-marker", ["mapMarker"], { "title": { "alias": "title"; "required": false; }; "position": { "alias": "position"; "required": false; }; "label": { "alias": "label"; "required": false; }; "clickable": { "alias": "clickable"; "required": false; }; "options": { "alias": "options"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, { "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, never, true, never>;
|
|
1263
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MapMarker, "map-marker", ["mapMarker"], { "title": { "alias": "title"; "required": false; }; "position": { "alias": "position"; "required": false; }; "label": { "alias": "label"; "required": false; }; "clickable": { "alias": "clickable"; "required": false; }; "options": { "alias": "options"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, { "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"; }, never, never, true, never>;
|
|
1231
1264
|
}
|
|
1232
1265
|
|
|
1233
1266
|
/**
|
|
@@ -1301,6 +1334,8 @@ export declare class MapMarkerClusterer implements OnInit, AfterContentInit, OnC
|
|
|
1301
1334
|
* _google_markerclustererplus.markerclusterer.html
|
|
1302
1335
|
*/
|
|
1303
1336
|
markerClusterer?: MarkerClusterer;
|
|
1337
|
+
/** Event emitted when the clusterer is initialized. */
|
|
1338
|
+
readonly markerClustererInitialized: EventEmitter<MarkerClusterer>;
|
|
1304
1339
|
constructor(_googleMap: GoogleMap, _ngZone: NgZone);
|
|
1305
1340
|
ngOnInit(): void;
|
|
1306
1341
|
ngAfterContentInit(): void;
|
|
@@ -1331,7 +1366,7 @@ export declare class MapMarkerClusterer implements OnInit, AfterContentInit, OnC
|
|
|
1331
1366
|
private _getInternalMarkers;
|
|
1332
1367
|
private _assertInitialized;
|
|
1333
1368
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapMarkerClusterer, never>;
|
|
1334
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MapMarkerClusterer, "map-marker-clusterer", ["mapMarkerClusterer"], { "ariaLabelFn": { "alias": "ariaLabelFn"; "required": false; }; "averageCenter": { "alias": "averageCenter"; "required": false; }; "batchSize": { "alias": "batchSize"; "required": false; }; "batchSizeIE": { "alias": "batchSizeIE"; "required": false; }; "calculator": { "alias": "calculator"; "required": false; }; "clusterClass": { "alias": "clusterClass"; "required": false; }; "enableRetinaIcons": { "alias": "enableRetinaIcons"; "required": false; }; "gridSize": { "alias": "gridSize"; "required": false; }; "ignoreHidden": { "alias": "ignoreHidden"; "required": false; }; "imageExtension": { "alias": "imageExtension"; "required": false; }; "imagePath": { "alias": "imagePath"; "required": false; }; "imageSizes": { "alias": "imageSizes"; "required": false; }; "maxZoom": { "alias": "maxZoom"; "required": false; }; "minimumClusterSize": { "alias": "minimumClusterSize"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "title": { "alias": "title"; "required": false; }; "zIndex": { "alias": "zIndex"; "required": false; }; "zoomOnClick": { "alias": "zoomOnClick"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "clusteringbegin": "clusteringbegin"; "clusteringend": "clusteringend"; "clusterClick": "clusterClick"; }, ["_markers"], ["*"], true, never>;
|
|
1369
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MapMarkerClusterer, "map-marker-clusterer", ["mapMarkerClusterer"], { "ariaLabelFn": { "alias": "ariaLabelFn"; "required": false; }; "averageCenter": { "alias": "averageCenter"; "required": false; }; "batchSize": { "alias": "batchSize"; "required": false; }; "batchSizeIE": { "alias": "batchSizeIE"; "required": false; }; "calculator": { "alias": "calculator"; "required": false; }; "clusterClass": { "alias": "clusterClass"; "required": false; }; "enableRetinaIcons": { "alias": "enableRetinaIcons"; "required": false; }; "gridSize": { "alias": "gridSize"; "required": false; }; "ignoreHidden": { "alias": "ignoreHidden"; "required": false; }; "imageExtension": { "alias": "imageExtension"; "required": false; }; "imagePath": { "alias": "imagePath"; "required": false; }; "imageSizes": { "alias": "imageSizes"; "required": false; }; "maxZoom": { "alias": "maxZoom"; "required": false; }; "minimumClusterSize": { "alias": "minimumClusterSize"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "title": { "alias": "title"; "required": false; }; "zIndex": { "alias": "zIndex"; "required": false; }; "zoomOnClick": { "alias": "zoomOnClick"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "clusteringbegin": "clusteringbegin"; "clusteringend": "clusteringend"; "clusterClick": "clusterClick"; "markerClustererInitialized": "markerClustererInitialized"; }, ["_markers"], ["*"], true, never>;
|
|
1335
1370
|
}
|
|
1336
1371
|
|
|
1337
1372
|
/**
|
|
@@ -1398,8 +1433,11 @@ export declare class MapPolygon implements OnInit, OnDestroy {
|
|
|
1398
1433
|
* See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon.rightclick
|
|
1399
1434
|
*/
|
|
1400
1435
|
readonly polygonRightclick: Observable<google.maps.PolyMouseEvent>;
|
|
1436
|
+
/** Event emitted when the polygon is initialized. */
|
|
1437
|
+
readonly polygonInitialized: EventEmitter<google.maps.Polygon>;
|
|
1401
1438
|
constructor(_map: GoogleMap, _ngZone: NgZone);
|
|
1402
1439
|
ngOnInit(): void;
|
|
1440
|
+
private _initialize;
|
|
1403
1441
|
ngOnDestroy(): void;
|
|
1404
1442
|
/**
|
|
1405
1443
|
* See
|
|
@@ -1427,7 +1465,7 @@ export declare class MapPolygon implements OnInit, OnDestroy {
|
|
|
1427
1465
|
private _watchForPathChanges;
|
|
1428
1466
|
private _assertInitialized;
|
|
1429
1467
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapPolygon, never>;
|
|
1430
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MapPolygon, "map-polygon", ["mapPolygon"], { "options": { "alias": "options"; "required": false; }; "paths": { "alias": "paths"; "required": false; }; }, { "polygonClick": "polygonClick"; "polygonDblclick": "polygonDblclick"; "polygonDrag": "polygonDrag"; "polygonDragend": "polygonDragend"; "polygonDragstart": "polygonDragstart"; "polygonMousedown": "polygonMousedown"; "polygonMousemove": "polygonMousemove"; "polygonMouseout": "polygonMouseout"; "polygonMouseover": "polygonMouseover"; "polygonMouseup": "polygonMouseup"; "polygonRightclick": "polygonRightclick"; }, never, never, true, never>;
|
|
1468
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MapPolygon, "map-polygon", ["mapPolygon"], { "options": { "alias": "options"; "required": false; }; "paths": { "alias": "paths"; "required": false; }; }, { "polygonClick": "polygonClick"; "polygonDblclick": "polygonDblclick"; "polygonDrag": "polygonDrag"; "polygonDragend": "polygonDragend"; "polygonDragstart": "polygonDragstart"; "polygonMousedown": "polygonMousedown"; "polygonMousemove": "polygonMousemove"; "polygonMouseout": "polygonMouseout"; "polygonMouseover": "polygonMouseover"; "polygonMouseup": "polygonMouseup"; "polygonRightclick": "polygonRightclick"; "polygonInitialized": "polygonInitialized"; }, never, never, true, never>;
|
|
1431
1469
|
}
|
|
1432
1470
|
|
|
1433
1471
|
/**
|
|
@@ -1494,8 +1532,11 @@ export declare class MapPolyline implements OnInit, OnDestroy {
|
|
|
1494
1532
|
* See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline.rightclick
|
|
1495
1533
|
*/
|
|
1496
1534
|
readonly polylineRightclick: Observable<google.maps.PolyMouseEvent>;
|
|
1535
|
+
/** Event emitted when the polyline is initialized. */
|
|
1536
|
+
readonly polylineInitialized: EventEmitter<google.maps.Polyline>;
|
|
1497
1537
|
constructor(_map: GoogleMap, _ngZone: NgZone);
|
|
1498
1538
|
ngOnInit(): void;
|
|
1539
|
+
private _initialize;
|
|
1499
1540
|
ngOnDestroy(): void;
|
|
1500
1541
|
/**
|
|
1501
1542
|
* See
|
|
@@ -1519,7 +1560,7 @@ export declare class MapPolyline implements OnInit, OnDestroy {
|
|
|
1519
1560
|
private _watchForPathChanges;
|
|
1520
1561
|
private _assertInitialized;
|
|
1521
1562
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapPolyline, never>;
|
|
1522
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MapPolyline, "map-polyline", ["mapPolyline"], { "options": { "alias": "options"; "required": false; }; "path": { "alias": "path"; "required": false; }; }, { "polylineClick": "polylineClick"; "polylineDblclick": "polylineDblclick"; "polylineDrag": "polylineDrag"; "polylineDragend": "polylineDragend"; "polylineDragstart": "polylineDragstart"; "polylineMousedown": "polylineMousedown"; "polylineMousemove": "polylineMousemove"; "polylineMouseout": "polylineMouseout"; "polylineMouseover": "polylineMouseover"; "polylineMouseup": "polylineMouseup"; "polylineRightclick": "polylineRightclick"; }, never, never, true, never>;
|
|
1563
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MapPolyline, "map-polyline", ["mapPolyline"], { "options": { "alias": "options"; "required": false; }; "path": { "alias": "path"; "required": false; }; }, { "polylineClick": "polylineClick"; "polylineDblclick": "polylineDblclick"; "polylineDrag": "polylineDrag"; "polylineDragend": "polylineDragend"; "polylineDragstart": "polylineDragstart"; "polylineMousedown": "polylineMousedown"; "polylineMousemove": "polylineMousemove"; "polylineMouseout": "polylineMouseout"; "polylineMouseover": "polylineMouseover"; "polylineMouseup": "polylineMouseup"; "polylineRightclick": "polylineRightclick"; "polylineInitialized": "polylineInitialized"; }, never, never, true, never>;
|
|
1523
1564
|
}
|
|
1524
1565
|
|
|
1525
1566
|
/**
|
|
@@ -1601,8 +1642,11 @@ export declare class MapRectangle implements OnInit, OnDestroy {
|
|
|
1601
1642
|
* developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle.rightclick
|
|
1602
1643
|
*/
|
|
1603
1644
|
readonly rectangleRightclick: Observable<google.maps.MapMouseEvent>;
|
|
1645
|
+
/** Event emitted when the rectangle is initialized. */
|
|
1646
|
+
readonly rectangleInitialized: EventEmitter<google.maps.Rectangle>;
|
|
1604
1647
|
constructor(_map: GoogleMap, _ngZone: NgZone);
|
|
1605
1648
|
ngOnInit(): void;
|
|
1649
|
+
private _initialize;
|
|
1606
1650
|
ngOnDestroy(): void;
|
|
1607
1651
|
/**
|
|
1608
1652
|
* See
|
|
@@ -1629,7 +1673,7 @@ export declare class MapRectangle implements OnInit, OnDestroy {
|
|
|
1629
1673
|
private _watchForBoundsChanges;
|
|
1630
1674
|
private _assertInitialized;
|
|
1631
1675
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapRectangle, never>;
|
|
1632
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MapRectangle, "map-rectangle", ["mapRectangle"], { "options": { "alias": "options"; "required": false; }; "bounds": { "alias": "bounds"; "required": false; }; }, { "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, never, true, never>;
|
|
1676
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MapRectangle, "map-rectangle", ["mapRectangle"], { "options": { "alias": "options"; "required": false; }; "bounds": { "alias": "bounds"; "required": false; }; }, { "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"; }, never, never, true, never>;
|
|
1633
1677
|
}
|
|
1634
1678
|
|
|
1635
1679
|
/**
|
|
@@ -1652,14 +1696,17 @@ export declare class MapTrafficLayer implements OnInit, OnDestroy {
|
|
|
1652
1696
|
* Whether the traffic layer refreshes with updated information automatically.
|
|
1653
1697
|
*/
|
|
1654
1698
|
set autoRefresh(autoRefresh: boolean);
|
|
1699
|
+
/** Event emitted when the traffic layer is initialized. */
|
|
1700
|
+
readonly trafficLayerInitialized: EventEmitter<google.maps.TrafficLayer>;
|
|
1655
1701
|
constructor(_map: GoogleMap, _ngZone: NgZone);
|
|
1656
1702
|
ngOnInit(): void;
|
|
1703
|
+
private _initialize;
|
|
1657
1704
|
ngOnDestroy(): void;
|
|
1658
1705
|
private _combineOptions;
|
|
1659
1706
|
private _watchForAutoRefreshChanges;
|
|
1660
1707
|
private _assertInitialized;
|
|
1661
1708
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapTrafficLayer, never>;
|
|
1662
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MapTrafficLayer, "map-traffic-layer", ["mapTrafficLayer"], { "autoRefresh": { "alias": "autoRefresh"; "required": false; }; }, {}, never, never, true, never>;
|
|
1709
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MapTrafficLayer, "map-traffic-layer", ["mapTrafficLayer"], { "autoRefresh": { "alias": "autoRefresh"; "required": false; }; }, { "trafficLayerInitialized": "trafficLayerInitialized"; }, never, never, true, never>;
|
|
1663
1710
|
}
|
|
1664
1711
|
|
|
1665
1712
|
/**
|
|
@@ -1667,19 +1714,23 @@ export declare class MapTrafficLayer implements OnInit, OnDestroy {
|
|
|
1667
1714
|
*
|
|
1668
1715
|
* See developers.google.com/maps/documentation/javascript/reference/map#TransitLayer
|
|
1669
1716
|
*/
|
|
1670
|
-
export declare class MapTransitLayer
|
|
1717
|
+
export declare class MapTransitLayer implements OnInit, OnDestroy {
|
|
1718
|
+
private _map;
|
|
1719
|
+
private _zone;
|
|
1671
1720
|
/**
|
|
1672
1721
|
* The underlying google.maps.TransitLayer object.
|
|
1673
1722
|
*
|
|
1674
1723
|
* See developers.google.com/maps/documentation/javascript/reference/map#TransitLayer
|
|
1675
1724
|
*/
|
|
1676
1725
|
transitLayer?: google.maps.TransitLayer;
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1726
|
+
/** Event emitted when the transit layer is initialized. */
|
|
1727
|
+
readonly transitLayerInitialized: EventEmitter<google.maps.TransitLayer>;
|
|
1728
|
+
ngOnInit(): void;
|
|
1729
|
+
private _initialize;
|
|
1730
|
+
ngOnDestroy(): void;
|
|
1680
1731
|
private _assertLayerInitialized;
|
|
1681
1732
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapTransitLayer, never>;
|
|
1682
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MapTransitLayer, "map-transit-layer", ["mapTransitLayer"], {}, {}, never, never, true, never>;
|
|
1733
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MapTransitLayer, "map-transit-layer", ["mapTransitLayer"], {}, { "transitLayerInitialized": "transitLayerInitialized"; }, never, never, true, never>;
|
|
1683
1734
|
}
|
|
1684
1735
|
|
|
1685
1736
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/google-maps",
|
|
3
|
-
"version": "17.1.0
|
|
3
|
+
"version": "17.1.0",
|
|
4
4
|
"description": "Angular Google Maps",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"tslib": "^2.3.0"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@angular/core": "^17.0.0
|
|
25
|
-
"@angular/common": "^17.0.0
|
|
24
|
+
"@angular/core": "^17.0.0 || ^18.0.0",
|
|
25
|
+
"@angular/common": "^17.0.0 || ^18.0.0",
|
|
26
26
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
27
27
|
},
|
|
28
28
|
"sideEffects": false,
|