@angular/google-maps 20.0.0-next.6 → 20.0.0-next.7
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/fesm2022/google-maps.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, ElementRef, NgZone, EventEmitter, PLATFORM_ID,
|
|
2
|
+
import { inject, ElementRef, NgZone, EventEmitter, PLATFORM_ID, Output, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, Directive, InjectionToken, ContentChildren, NgModule, Injectable } from '@angular/core';
|
|
3
3
|
import { isPlatformBrowser } from '@angular/common';
|
|
4
4
|
import { BehaviorSubject, Observable, Subject, combineLatest, Subscription } from 'rxjs';
|
|
5
5
|
import { switchMap, take, map, takeUntil } from 'rxjs/operators';
|
|
@@ -70,6 +70,7 @@ class MapEventManager {
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
73
|
+
/// <reference types="google.maps" preserve="true" />
|
|
73
74
|
/** default options set to the Googleplex */
|
|
74
75
|
const DEFAULT_OPTIONS = {
|
|
75
76
|
center: { lat: 37.421995, lng: -122.084092 },
|
|
@@ -548,6 +549,7 @@ function coerceCssPixelValue(value) {
|
|
|
548
549
|
}
|
|
549
550
|
|
|
550
551
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
552
|
+
/// <reference types="google.maps" preserve="true" />
|
|
551
553
|
class MapBaseLayer {
|
|
552
554
|
_map = inject(GoogleMap);
|
|
553
555
|
_ngZone = inject(NgZone);
|
|
@@ -585,6 +587,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
585
587
|
}], ctorParameters: () => [] });
|
|
586
588
|
|
|
587
589
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
590
|
+
/// <reference types="google.maps" preserve="true" />
|
|
588
591
|
/**
|
|
589
592
|
* Angular component that renders a Google Maps Bicycling Layer via the Google Maps JavaScript API.
|
|
590
593
|
*
|
|
@@ -646,6 +649,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
646
649
|
}] } });
|
|
647
650
|
|
|
648
651
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
652
|
+
/// <reference types="google.maps" preserve="true" />
|
|
649
653
|
/**
|
|
650
654
|
* Angular component that renders a Google Maps Circle via the Google Maps JavaScript API.
|
|
651
655
|
* @see developers.google.com/maps/documentation/javascript/reference/polygon#Circle
|
|
@@ -915,6 +919,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
915
919
|
}] } });
|
|
916
920
|
|
|
917
921
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
922
|
+
/// <reference types="google.maps" preserve="true" />
|
|
918
923
|
/**
|
|
919
924
|
* Angular component that renders a Google Maps Directions Renderer via the Google Maps
|
|
920
925
|
* JavaScript API.
|
|
@@ -1052,6 +1057,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
1052
1057
|
}] } });
|
|
1053
1058
|
|
|
1054
1059
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
1060
|
+
/// <reference types="google.maps" preserve="true" />
|
|
1055
1061
|
/**
|
|
1056
1062
|
* Angular component that renders a Google Maps Ground Overlay via the Google Maps JavaScript API.
|
|
1057
1063
|
*
|
|
@@ -1235,6 +1241,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
1235
1241
|
}] } });
|
|
1236
1242
|
|
|
1237
1243
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
1244
|
+
/// <reference types="google.maps" preserve="true" />
|
|
1238
1245
|
/**
|
|
1239
1246
|
* Angular component that renders a Google Maps info window via the Google Maps JavaScript API.
|
|
1240
1247
|
*
|
|
@@ -1464,6 +1471,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
1464
1471
|
}] } });
|
|
1465
1472
|
|
|
1466
1473
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
1474
|
+
/// <reference types="google.maps" preserve="true" />
|
|
1467
1475
|
/**
|
|
1468
1476
|
* Angular component that renders a Google Maps KML Layer via the Google Maps JavaScript API.
|
|
1469
1477
|
*
|
|
@@ -1639,6 +1647,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
1639
1647
|
const MAP_MARKER = new InjectionToken('MAP_MARKER');
|
|
1640
1648
|
|
|
1641
1649
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
1650
|
+
/// <reference types="google.maps" preserve="true" />
|
|
1642
1651
|
/**
|
|
1643
1652
|
* Default options for the Google Maps marker component. Displays a marker
|
|
1644
1653
|
* at the Googleplex.
|
|
@@ -2093,6 +2102,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
2093
2102
|
}] } });
|
|
2094
2103
|
|
|
2095
2104
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
2105
|
+
/// <reference types="google.maps" preserve="true" />
|
|
2096
2106
|
/** Default options for a clusterer. */
|
|
2097
2107
|
const DEFAULT_CLUSTERER_OPTIONS = {};
|
|
2098
2108
|
/**
|
|
@@ -2528,6 +2538,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
2528
2538
|
}] } });
|
|
2529
2539
|
|
|
2530
2540
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
2541
|
+
/// <reference types="google.maps" preserve="true" />
|
|
2531
2542
|
/**
|
|
2532
2543
|
* Angular component that renders a Google Maps Polygon via the Google Maps JavaScript API.
|
|
2533
2544
|
*
|
|
@@ -2744,6 +2755,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
2744
2755
|
}] } });
|
|
2745
2756
|
|
|
2746
2757
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
2758
|
+
/// <reference types="google.maps" preserve="true" />
|
|
2747
2759
|
/**
|
|
2748
2760
|
* Angular component that renders a Google Maps Polyline via the Google Maps JavaScript API.
|
|
2749
2761
|
*
|
|
@@ -2953,6 +2965,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
2953
2965
|
}] } });
|
|
2954
2966
|
|
|
2955
2967
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
2968
|
+
/// <reference types="google.maps" preserve="true" />
|
|
2956
2969
|
/**
|
|
2957
2970
|
* Angular component that renders a Google Maps Rectangle via the Google Maps JavaScript API.
|
|
2958
2971
|
*
|
|
@@ -3182,6 +3195,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
3182
3195
|
}] } });
|
|
3183
3196
|
|
|
3184
3197
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
3198
|
+
/// <reference types="google.maps" preserve="true" />
|
|
3185
3199
|
/**
|
|
3186
3200
|
* Angular component that renders a Google Maps Traffic Layer via the Google Maps JavaScript API.
|
|
3187
3201
|
*
|
|
@@ -3275,6 +3289,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
3275
3289
|
}] } });
|
|
3276
3290
|
|
|
3277
3291
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
3292
|
+
/// <reference types="google.maps" preserve="true" />
|
|
3278
3293
|
/**
|
|
3279
3294
|
* Angular component that renders a Google Maps Transit Layer via the Google Maps JavaScript API.
|
|
3280
3295
|
*
|
|
@@ -3336,6 +3351,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
3336
3351
|
}] } });
|
|
3337
3352
|
|
|
3338
3353
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
3354
|
+
/// <reference types="google.maps" preserve="true" />
|
|
3339
3355
|
/**
|
|
3340
3356
|
* Angular directive that renders a Google Maps heatmap via the Google Maps JavaScript API.
|
|
3341
3357
|
*
|
|
@@ -3481,6 +3497,7 @@ function isLatLngLiteral(value) {
|
|
|
3481
3497
|
}
|
|
3482
3498
|
|
|
3483
3499
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
3500
|
+
/// <reference types="google.maps" preserve="true" />
|
|
3484
3501
|
/**
|
|
3485
3502
|
* Default options for the Google Maps marker component. Displays a marker
|
|
3486
3503
|
* at the Googleplex.
|
|
@@ -3738,6 +3755,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
3738
3755
|
}] } });
|
|
3739
3756
|
|
|
3740
3757
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
3758
|
+
/// <reference types="google.maps" preserve="true" />
|
|
3741
3759
|
/**
|
|
3742
3760
|
* Angular component for implementing a Google Maps Marker Clusterer.
|
|
3743
3761
|
*
|
|
@@ -3974,6 +3992,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
3974
3992
|
}] });
|
|
3975
3993
|
|
|
3976
3994
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
3995
|
+
/// <reference types="google.maps" preserve="true" />
|
|
3977
3996
|
/**
|
|
3978
3997
|
* Angular service that wraps the Google Maps DirectionsService from the Google Maps JavaScript
|
|
3979
3998
|
* API.
|
|
@@ -4024,6 +4043,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
4024
4043
|
}], ctorParameters: () => [] });
|
|
4025
4044
|
|
|
4026
4045
|
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
4046
|
+
/// <reference types="google.maps" preserve="true" />
|
|
4027
4047
|
/**
|
|
4028
4048
|
* Angular service that wraps the Google Maps Geocoder from the Google Maps JavaScript API.
|
|
4029
4049
|
* See developers.google.com/maps/documentation/javascript/reference/geocoder#Geocoder
|