@angular/google-maps 20.0.0-next.7 → 20.0.0-next.9
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, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, 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';
|
|
@@ -69,8 +69,6 @@ class MapEventManager {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
73
|
-
/// <reference types="google.maps" preserve="true" />
|
|
74
72
|
/** default options set to the Googleplex */
|
|
75
73
|
const DEFAULT_OPTIONS = {
|
|
76
74
|
center: { lat: 37.421995, lng: -122.084092 },
|
|
@@ -548,8 +546,6 @@ function coerceCssPixelValue(value) {
|
|
|
548
546
|
return cssUnitsPattern.test(value) ? value : `${value}px`;
|
|
549
547
|
}
|
|
550
548
|
|
|
551
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
552
|
-
/// <reference types="google.maps" preserve="true" />
|
|
553
549
|
class MapBaseLayer {
|
|
554
550
|
_map = inject(GoogleMap);
|
|
555
551
|
_ngZone = inject(NgZone);
|
|
@@ -586,8 +582,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
586
582
|
}]
|
|
587
583
|
}], ctorParameters: () => [] });
|
|
588
584
|
|
|
589
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
590
|
-
/// <reference types="google.maps" preserve="true" />
|
|
591
585
|
/**
|
|
592
586
|
* Angular component that renders a Google Maps Bicycling Layer via the Google Maps JavaScript API.
|
|
593
587
|
*
|
|
@@ -648,8 +642,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
648
642
|
type: Output
|
|
649
643
|
}] } });
|
|
650
644
|
|
|
651
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
652
|
-
/// <reference types="google.maps" preserve="true" />
|
|
653
645
|
/**
|
|
654
646
|
* Angular component that renders a Google Maps Circle via the Google Maps JavaScript API.
|
|
655
647
|
* @see developers.google.com/maps/documentation/javascript/reference/polygon#Circle
|
|
@@ -918,8 +910,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
918
910
|
type: Output
|
|
919
911
|
}] } });
|
|
920
912
|
|
|
921
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
922
|
-
/// <reference types="google.maps" preserve="true" />
|
|
923
913
|
/**
|
|
924
914
|
* Angular component that renders a Google Maps Directions Renderer via the Google Maps
|
|
925
915
|
* JavaScript API.
|
|
@@ -1056,8 +1046,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
1056
1046
|
type: Output
|
|
1057
1047
|
}] } });
|
|
1058
1048
|
|
|
1059
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
1060
|
-
/// <reference types="google.maps" preserve="true" />
|
|
1061
1049
|
/**
|
|
1062
1050
|
* Angular component that renders a Google Maps Ground Overlay via the Google Maps JavaScript API.
|
|
1063
1051
|
*
|
|
@@ -1240,8 +1228,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
1240
1228
|
type: Output
|
|
1241
1229
|
}] } });
|
|
1242
1230
|
|
|
1243
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
1244
|
-
/// <reference types="google.maps" preserve="true" />
|
|
1245
1231
|
/**
|
|
1246
1232
|
* Angular component that renders a Google Maps info window via the Google Maps JavaScript API.
|
|
1247
1233
|
*
|
|
@@ -1470,8 +1456,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
1470
1456
|
type: Output
|
|
1471
1457
|
}] } });
|
|
1472
1458
|
|
|
1473
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
1474
|
-
/// <reference types="google.maps" preserve="true" />
|
|
1475
1459
|
/**
|
|
1476
1460
|
* Angular component that renders a Google Maps KML Layer via the Google Maps JavaScript API.
|
|
1477
1461
|
*
|
|
@@ -1646,8 +1630,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
1646
1630
|
/** Token that marker directives can use to expose themselves to the clusterer. */
|
|
1647
1631
|
const MAP_MARKER = new InjectionToken('MAP_MARKER');
|
|
1648
1632
|
|
|
1649
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
1650
|
-
/// <reference types="google.maps" preserve="true" />
|
|
1651
1633
|
/**
|
|
1652
1634
|
* Default options for the Google Maps marker component. Displays a marker
|
|
1653
1635
|
* at the Googleplex.
|
|
@@ -2101,8 +2083,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
2101
2083
|
type: Output
|
|
2102
2084
|
}] } });
|
|
2103
2085
|
|
|
2104
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
2105
|
-
/// <reference types="google.maps" preserve="true" />
|
|
2106
2086
|
/** Default options for a clusterer. */
|
|
2107
2087
|
const DEFAULT_CLUSTERER_OPTIONS = {};
|
|
2108
2088
|
/**
|
|
@@ -2537,8 +2517,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
2537
2517
|
type: Output
|
|
2538
2518
|
}] } });
|
|
2539
2519
|
|
|
2540
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
2541
|
-
/// <reference types="google.maps" preserve="true" />
|
|
2542
2520
|
/**
|
|
2543
2521
|
* Angular component that renders a Google Maps Polygon via the Google Maps JavaScript API.
|
|
2544
2522
|
*
|
|
@@ -2754,8 +2732,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
2754
2732
|
type: Output
|
|
2755
2733
|
}] } });
|
|
2756
2734
|
|
|
2757
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
2758
|
-
/// <reference types="google.maps" preserve="true" />
|
|
2759
2735
|
/**
|
|
2760
2736
|
* Angular component that renders a Google Maps Polyline via the Google Maps JavaScript API.
|
|
2761
2737
|
*
|
|
@@ -2964,8 +2940,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
2964
2940
|
type: Output
|
|
2965
2941
|
}] } });
|
|
2966
2942
|
|
|
2967
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
2968
|
-
/// <reference types="google.maps" preserve="true" />
|
|
2969
2943
|
/**
|
|
2970
2944
|
* Angular component that renders a Google Maps Rectangle via the Google Maps JavaScript API.
|
|
2971
2945
|
*
|
|
@@ -3194,8 +3168,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
3194
3168
|
type: Output
|
|
3195
3169
|
}] } });
|
|
3196
3170
|
|
|
3197
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
3198
|
-
/// <reference types="google.maps" preserve="true" />
|
|
3199
3171
|
/**
|
|
3200
3172
|
* Angular component that renders a Google Maps Traffic Layer via the Google Maps JavaScript API.
|
|
3201
3173
|
*
|
|
@@ -3288,8 +3260,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
3288
3260
|
type: Output
|
|
3289
3261
|
}] } });
|
|
3290
3262
|
|
|
3291
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
3292
|
-
/// <reference types="google.maps" preserve="true" />
|
|
3293
3263
|
/**
|
|
3294
3264
|
* Angular component that renders a Google Maps Transit Layer via the Google Maps JavaScript API.
|
|
3295
3265
|
*
|
|
@@ -3350,8 +3320,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
3350
3320
|
type: Output
|
|
3351
3321
|
}] } });
|
|
3352
3322
|
|
|
3353
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
3354
|
-
/// <reference types="google.maps" preserve="true" />
|
|
3355
3323
|
/**
|
|
3356
3324
|
* Angular directive that renders a Google Maps heatmap via the Google Maps JavaScript API.
|
|
3357
3325
|
*
|
|
@@ -3496,8 +3464,6 @@ function isLatLngLiteral(value) {
|
|
|
3496
3464
|
return value && typeof value.lat === 'number' && typeof value.lng === 'number';
|
|
3497
3465
|
}
|
|
3498
3466
|
|
|
3499
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
3500
|
-
/// <reference types="google.maps" preserve="true" />
|
|
3501
3467
|
/**
|
|
3502
3468
|
* Default options for the Google Maps marker component. Displays a marker
|
|
3503
3469
|
* at the Googleplex.
|
|
@@ -3754,8 +3720,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
3754
3720
|
type: Output
|
|
3755
3721
|
}] } });
|
|
3756
3722
|
|
|
3757
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
3758
|
-
/// <reference types="google.maps" preserve="true" />
|
|
3759
3723
|
/**
|
|
3760
3724
|
* Angular component for implementing a Google Maps Marker Clusterer.
|
|
3761
3725
|
*
|
|
@@ -3991,8 +3955,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
3991
3955
|
}]
|
|
3992
3956
|
}] });
|
|
3993
3957
|
|
|
3994
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
3995
|
-
/// <reference types="google.maps" preserve="true" />
|
|
3996
3958
|
/**
|
|
3997
3959
|
* Angular service that wraps the Google Maps DirectionsService from the Google Maps JavaScript
|
|
3998
3960
|
* API.
|
|
@@ -4042,8 +4004,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5",
|
|
|
4042
4004
|
args: [{ providedIn: 'root' }]
|
|
4043
4005
|
}], ctorParameters: () => [] });
|
|
4044
4006
|
|
|
4045
|
-
// Workaround for: https://github.com/bazelbuild/rules_nodejs/issues/1265
|
|
4046
|
-
/// <reference types="google.maps" preserve="true" />
|
|
4047
4007
|
/**
|
|
4048
4008
|
* Angular service that wraps the Google Maps Geocoder from the Google Maps JavaScript API.
|
|
4049
4009
|
* See developers.google.com/maps/documentation/javascript/reference/geocoder#Geocoder
|