@angular/google-maps 21.0.0-next.0 → 21.0.0-next.10
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
|
@@ -21,8 +21,12 @@ class MapEventManager {
|
|
|
21
21
|
constructor(_ngZone) {
|
|
22
22
|
this._ngZone = _ngZone;
|
|
23
23
|
}
|
|
24
|
-
/**
|
|
25
|
-
|
|
24
|
+
/**
|
|
25
|
+
* Gets an observable that adds an event listener to the map when a consumer subscribes to it.
|
|
26
|
+
* @param name Name of the event for which the observable is being set up.
|
|
27
|
+
* @param type Type of the event (e.g. one going to a DOM node or a custom Maps one).
|
|
28
|
+
*/
|
|
29
|
+
getLazyEmitter(name, type) {
|
|
26
30
|
return this._targetStream.pipe(switchMap(target => {
|
|
27
31
|
const observable = new Observable(observer => {
|
|
28
32
|
// If the target hasn't been initialized yet, cache the observer so it can be added later.
|
|
@@ -30,17 +34,29 @@ class MapEventManager {
|
|
|
30
34
|
this._pending.push({ observable, observer });
|
|
31
35
|
return undefined;
|
|
32
36
|
}
|
|
33
|
-
|
|
37
|
+
let handle;
|
|
38
|
+
const listener = (event) => {
|
|
34
39
|
this._ngZone.run(() => observer.next(event));
|
|
35
|
-
}
|
|
40
|
+
};
|
|
41
|
+
if (type === 'native') {
|
|
42
|
+
if ((typeof ngDevMode === 'undefined' || ngDevMode) &&
|
|
43
|
+
(!target.addEventListener || !target.removeEventListener)) {
|
|
44
|
+
throw new Error('Maps event target that uses native events must have `addEventListener` and `removeEventListener` methods.');
|
|
45
|
+
}
|
|
46
|
+
target.addEventListener(name, listener);
|
|
47
|
+
handle = { remove: () => target.removeEventListener(name, listener) };
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
handle = target.addListener(name, listener);
|
|
51
|
+
}
|
|
36
52
|
// If there's an error when initializing the Maps API (e.g. a wrong API key), it will
|
|
37
53
|
// return a dummy object that returns `undefined` from `addListener` (see #26514).
|
|
38
|
-
if (!
|
|
54
|
+
if (!handle) {
|
|
39
55
|
observer.complete();
|
|
40
56
|
return undefined;
|
|
41
57
|
}
|
|
42
|
-
this._listeners.push(
|
|
43
|
-
return () =>
|
|
58
|
+
this._listeners.push(handle);
|
|
59
|
+
return () => handle.remove();
|
|
44
60
|
});
|
|
45
61
|
return observable;
|
|
46
62
|
}));
|
|
@@ -470,10 +486,10 @@ class GoogleMap {
|
|
|
470
486
|
'Please wait for the API to load before trying to interact with it.');
|
|
471
487
|
}
|
|
472
488
|
}
|
|
473
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
474
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.0-
|
|
489
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: GoogleMap, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
490
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.0-next.2", 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 });
|
|
475
491
|
}
|
|
476
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: GoogleMap, decorators: [{
|
|
477
493
|
type: Component,
|
|
478
494
|
args: [{
|
|
479
495
|
selector: 'google-map',
|
|
@@ -571,10 +587,10 @@ class MapBaseLayer {
|
|
|
571
587
|
_initializeObject() { }
|
|
572
588
|
_setMap() { }
|
|
573
589
|
_unsetMap() { }
|
|
574
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
575
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
590
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapBaseLayer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
591
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MapBaseLayer, isStandalone: true, selector: "map-base-layer", exportAs: ["mapBaseLayer"], ngImport: i0 });
|
|
576
592
|
}
|
|
577
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapBaseLayer, decorators: [{
|
|
578
594
|
type: Directive,
|
|
579
595
|
args: [{
|
|
580
596
|
selector: 'map-base-layer',
|
|
@@ -629,10 +645,10 @@ class MapBicyclingLayer {
|
|
|
629
645
|
'Please wait for the Transit Layer to load before trying to interact with it.');
|
|
630
646
|
}
|
|
631
647
|
}
|
|
632
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
633
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
648
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapBicyclingLayer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
649
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MapBicyclingLayer, isStandalone: true, selector: "map-bicycling-layer", outputs: { bicyclingLayerInitialized: "bicyclingLayerInitialized" }, exportAs: ["mapBicyclingLayer"], ngImport: i0 });
|
|
634
650
|
}
|
|
635
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapBicyclingLayer, decorators: [{
|
|
636
652
|
type: Directive,
|
|
637
653
|
args: [{
|
|
638
654
|
selector: 'map-bicycling-layer',
|
|
@@ -865,10 +881,10 @@ class MapCircle {
|
|
|
865
881
|
}
|
|
866
882
|
}
|
|
867
883
|
}
|
|
868
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
869
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
884
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapCircle, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
885
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", 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 });
|
|
870
886
|
}
|
|
871
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
887
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapCircle, decorators: [{
|
|
872
888
|
type: Directive,
|
|
873
889
|
args: [{
|
|
874
890
|
selector: 'map-circle',
|
|
@@ -1027,10 +1043,10 @@ class MapDirectionsRenderer {
|
|
|
1027
1043
|
}
|
|
1028
1044
|
}
|
|
1029
1045
|
}
|
|
1030
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
1031
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
1046
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapDirectionsRenderer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1047
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MapDirectionsRenderer, isStandalone: true, selector: "map-directions-renderer", inputs: { directions: "directions", options: "options" }, outputs: { directionsChanged: "directionsChanged", directionsRendererInitialized: "directionsRendererInitialized" }, exportAs: ["mapDirectionsRenderer"], usesOnChanges: true, ngImport: i0 });
|
|
1032
1048
|
}
|
|
1033
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
1049
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapDirectionsRenderer, decorators: [{
|
|
1034
1050
|
type: Directive,
|
|
1035
1051
|
args: [{
|
|
1036
1052
|
selector: 'map-directions-renderer',
|
|
@@ -1203,10 +1219,10 @@ class MapGroundOverlay {
|
|
|
1203
1219
|
}
|
|
1204
1220
|
}
|
|
1205
1221
|
}
|
|
1206
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
1207
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
1222
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapGroundOverlay, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1223
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", 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 });
|
|
1208
1224
|
}
|
|
1209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
1225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapGroundOverlay, decorators: [{
|
|
1210
1226
|
type: Directive,
|
|
1211
1227
|
args: [{
|
|
1212
1228
|
selector: 'map-ground-overlay',
|
|
@@ -1428,10 +1444,10 @@ class MapInfoWindow {
|
|
|
1428
1444
|
}
|
|
1429
1445
|
}
|
|
1430
1446
|
}
|
|
1431
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
1432
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
1447
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapInfoWindow, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1448
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", 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 });
|
|
1433
1449
|
}
|
|
1434
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
1450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapInfoWindow, decorators: [{
|
|
1435
1451
|
type: Directive,
|
|
1436
1452
|
args: [{
|
|
1437
1453
|
selector: 'map-info-window',
|
|
@@ -1604,10 +1620,10 @@ class MapKmlLayer {
|
|
|
1604
1620
|
}
|
|
1605
1621
|
}
|
|
1606
1622
|
}
|
|
1607
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
1608
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
1623
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapKmlLayer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1624
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", 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 });
|
|
1609
1625
|
}
|
|
1610
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
1626
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapKmlLayer, decorators: [{
|
|
1611
1627
|
type: Directive,
|
|
1612
1628
|
args: [{
|
|
1613
1629
|
selector: 'map-kml-layer',
|
|
@@ -2003,15 +2019,15 @@ class MapMarker {
|
|
|
2003
2019
|
}
|
|
2004
2020
|
}
|
|
2005
2021
|
}
|
|
2006
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
2007
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
2022
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapMarker, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2023
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", 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" }, providers: [
|
|
2008
2024
|
{
|
|
2009
2025
|
provide: MAP_MARKER,
|
|
2010
2026
|
useExisting: MapMarker,
|
|
2011
2027
|
},
|
|
2012
2028
|
], exportAs: ["mapMarker"], usesOnChanges: true, ngImport: i0 });
|
|
2013
2029
|
}
|
|
2014
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
2030
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapMarker, decorators: [{
|
|
2015
2031
|
type: Directive,
|
|
2016
2032
|
args: [{
|
|
2017
2033
|
selector: 'map-marker',
|
|
@@ -2454,10 +2470,10 @@ class DeprecatedMapMarkerClusterer {
|
|
|
2454
2470
|
}
|
|
2455
2471
|
}
|
|
2456
2472
|
}
|
|
2457
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
2458
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.0-
|
|
2473
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: DeprecatedMapMarkerClusterer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2474
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.0-next.2", type: DeprecatedMapMarkerClusterer, isStandalone: true, selector: "deprecated-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 });
|
|
2459
2475
|
}
|
|
2460
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
2476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: DeprecatedMapMarkerClusterer, decorators: [{
|
|
2461
2477
|
type: Component,
|
|
2462
2478
|
args: [{
|
|
2463
2479
|
selector: 'deprecated-map-marker-clusterer',
|
|
@@ -2693,10 +2709,10 @@ class MapPolygon {
|
|
|
2693
2709
|
}
|
|
2694
2710
|
}
|
|
2695
2711
|
}
|
|
2696
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
2697
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
2712
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapPolygon, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2713
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", 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 });
|
|
2698
2714
|
}
|
|
2699
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
2715
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapPolygon, decorators: [{
|
|
2700
2716
|
type: Directive,
|
|
2701
2717
|
args: [{
|
|
2702
2718
|
selector: 'map-polygon',
|
|
@@ -2901,10 +2917,10 @@ class MapPolyline {
|
|
|
2901
2917
|
}
|
|
2902
2918
|
}
|
|
2903
2919
|
}
|
|
2904
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
2905
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
2920
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapPolyline, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2921
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", 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 });
|
|
2906
2922
|
}
|
|
2907
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
2923
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapPolyline, decorators: [{
|
|
2908
2924
|
type: Directive,
|
|
2909
2925
|
args: [{
|
|
2910
2926
|
selector: 'map-polyline',
|
|
@@ -3127,10 +3143,10 @@ class MapRectangle {
|
|
|
3127
3143
|
}
|
|
3128
3144
|
}
|
|
3129
3145
|
}
|
|
3130
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
3131
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
3146
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapRectangle, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3147
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", 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 });
|
|
3132
3148
|
}
|
|
3133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
3149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapRectangle, decorators: [{
|
|
3134
3150
|
type: Directive,
|
|
3135
3151
|
args: [{
|
|
3136
3152
|
selector: 'map-rectangle',
|
|
@@ -3245,10 +3261,10 @@ class MapTrafficLayer {
|
|
|
3245
3261
|
'Please wait for the Traffic Layer to load before trying to interact with it.');
|
|
3246
3262
|
}
|
|
3247
3263
|
}
|
|
3248
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
3249
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
3264
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapTrafficLayer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3265
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MapTrafficLayer, isStandalone: true, selector: "map-traffic-layer", inputs: { autoRefresh: "autoRefresh" }, outputs: { trafficLayerInitialized: "trafficLayerInitialized" }, exportAs: ["mapTrafficLayer"], ngImport: i0 });
|
|
3250
3266
|
}
|
|
3251
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
3267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapTrafficLayer, decorators: [{
|
|
3252
3268
|
type: Directive,
|
|
3253
3269
|
args: [{
|
|
3254
3270
|
selector: 'map-traffic-layer',
|
|
@@ -3307,10 +3323,10 @@ class MapTransitLayer {
|
|
|
3307
3323
|
'Please wait for the Transit Layer to load before trying to interact with it.');
|
|
3308
3324
|
}
|
|
3309
3325
|
}
|
|
3310
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
3311
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
3326
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapTransitLayer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3327
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MapTransitLayer, isStandalone: true, selector: "map-transit-layer", outputs: { transitLayerInitialized: "transitLayerInitialized" }, exportAs: ["mapTransitLayer"], ngImport: i0 });
|
|
3312
3328
|
}
|
|
3313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
3329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapTransitLayer, decorators: [{
|
|
3314
3330
|
type: Directive,
|
|
3315
3331
|
args: [{
|
|
3316
3332
|
selector: 'map-transit-layer',
|
|
@@ -3443,10 +3459,10 @@ class MapHeatmapLayer {
|
|
|
3443
3459
|
}
|
|
3444
3460
|
}
|
|
3445
3461
|
}
|
|
3446
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
3447
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
3462
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapHeatmapLayer, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3463
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MapHeatmapLayer, isStandalone: true, selector: "map-heatmap-layer", inputs: { data: "data", options: "options" }, outputs: { heatmapInitialized: "heatmapInitialized" }, exportAs: ["mapHeatmapLayer"], usesOnChanges: true, ngImport: i0 });
|
|
3448
3464
|
}
|
|
3449
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
3465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapHeatmapLayer, decorators: [{
|
|
3450
3466
|
type: Directive,
|
|
3451
3467
|
args: [{
|
|
3452
3468
|
selector: 'map-heatmap-layer',
|
|
@@ -3539,23 +3555,23 @@ class MapAdvancedMarker {
|
|
|
3539
3555
|
/**
|
|
3540
3556
|
* This event is fired when the AdvancedMarkerElement is double-clicked.
|
|
3541
3557
|
*/
|
|
3542
|
-
mapDblclick = this._eventManager.getLazyEmitter('dblclick');
|
|
3558
|
+
mapDblclick = this._eventManager.getLazyEmitter('dblclick', 'native');
|
|
3543
3559
|
/**
|
|
3544
3560
|
* This event is fired when the mouse moves out of the AdvancedMarkerElement.
|
|
3545
3561
|
*/
|
|
3546
|
-
mapMouseout = this._eventManager.getLazyEmitter('mouseout');
|
|
3562
|
+
mapMouseout = this._eventManager.getLazyEmitter('mouseout', 'native');
|
|
3547
3563
|
/**
|
|
3548
3564
|
* This event is fired when the mouse moves over the AdvancedMarkerElement.
|
|
3549
3565
|
*/
|
|
3550
|
-
mapMouseover = this._eventManager.getLazyEmitter('mouseover');
|
|
3566
|
+
mapMouseover = this._eventManager.getLazyEmitter('mouseover', 'native');
|
|
3551
3567
|
/**
|
|
3552
3568
|
* This event is fired when the mouse button is released over the AdvancedMarkerElement.
|
|
3553
3569
|
*/
|
|
3554
|
-
mapMouseup = this._eventManager.getLazyEmitter('mouseup');
|
|
3570
|
+
mapMouseup = this._eventManager.getLazyEmitter('mouseup', 'native');
|
|
3555
3571
|
/**
|
|
3556
3572
|
* This event is fired when the AdvancedMarkerElement is right-clicked.
|
|
3557
3573
|
*/
|
|
3558
|
-
mapRightclick = this._eventManager.getLazyEmitter('
|
|
3574
|
+
mapRightclick = this._eventManager.getLazyEmitter('auxclick', 'native');
|
|
3559
3575
|
/**
|
|
3560
3576
|
* This event is repeatedly fired while the user drags the AdvancedMarkerElement.
|
|
3561
3577
|
* https://developers.google.com/maps/documentation/javascript/reference/advanced-markers#AdvancedMarkerElement.drag
|
|
@@ -3666,15 +3682,15 @@ class MapAdvancedMarker {
|
|
|
3666
3682
|
}
|
|
3667
3683
|
}
|
|
3668
3684
|
}
|
|
3669
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
3670
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
3685
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapAdvancedMarker, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3686
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", 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" }, providers: [
|
|
3671
3687
|
{
|
|
3672
3688
|
provide: MAP_MARKER,
|
|
3673
3689
|
useExisting: MapAdvancedMarker,
|
|
3674
3690
|
},
|
|
3675
3691
|
], exportAs: ["mapAdvancedMarker"], usesOnChanges: true, ngImport: i0 });
|
|
3676
3692
|
}
|
|
3677
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
3693
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapAdvancedMarker, decorators: [{
|
|
3678
3694
|
type: Directive,
|
|
3679
3695
|
args: [{
|
|
3680
3696
|
selector: 'map-advanced-marker',
|
|
@@ -3859,10 +3875,10 @@ class MapMarkerClusterer {
|
|
|
3859
3875
|
}
|
|
3860
3876
|
}
|
|
3861
3877
|
}
|
|
3862
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
3863
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.0-
|
|
3878
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapMarkerClusterer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3879
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MapMarkerClusterer, isStandalone: true, selector: "map-marker-clusterer", inputs: { renderer: "renderer", algorithm: "algorithm" }, outputs: { clusteringbegin: "clusteringbegin", clusteringend: "clusteringend", clusterClick: "clusterClick", markerClustererInitialized: "markerClustererInitialized" }, queries: [{ propertyName: "_markers", predicate: MAP_MARKER, descendants: true }], exportAs: ["mapMarkerClusterer"], usesOnChanges: true, ngImport: i0, template: '<ng-content/>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3864
3880
|
}
|
|
3865
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
3881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapMarkerClusterer, decorators: [{
|
|
3866
3882
|
type: Component,
|
|
3867
3883
|
args: [{
|
|
3868
3884
|
selector: 'map-marker-clusterer',
|
|
@@ -3909,8 +3925,8 @@ const COMPONENTS = [
|
|
|
3909
3925
|
MapMarkerClusterer,
|
|
3910
3926
|
];
|
|
3911
3927
|
class GoogleMapsModule {
|
|
3912
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
3913
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-
|
|
3928
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: GoogleMapsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3929
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-next.2", ngImport: i0, type: GoogleMapsModule, imports: [GoogleMap,
|
|
3914
3930
|
MapBaseLayer,
|
|
3915
3931
|
MapBicyclingLayer,
|
|
3916
3932
|
MapCircle,
|
|
@@ -3945,9 +3961,9 @@ class GoogleMapsModule {
|
|
|
3945
3961
|
MapTrafficLayer,
|
|
3946
3962
|
MapTransitLayer,
|
|
3947
3963
|
MapMarkerClusterer] });
|
|
3948
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-
|
|
3964
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: GoogleMapsModule });
|
|
3949
3965
|
}
|
|
3950
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
3966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: GoogleMapsModule, decorators: [{
|
|
3951
3967
|
type: NgModule,
|
|
3952
3968
|
args: [{
|
|
3953
3969
|
imports: COMPONENTS,
|
|
@@ -3996,10 +4012,10 @@ class MapDirectionsService {
|
|
|
3996
4012
|
}
|
|
3997
4013
|
return Promise.resolve(this._directionsService);
|
|
3998
4014
|
}
|
|
3999
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
4000
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-
|
|
4015
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapDirectionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4016
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapDirectionsService, providedIn: 'root' });
|
|
4001
4017
|
}
|
|
4002
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
4018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapDirectionsService, decorators: [{
|
|
4003
4019
|
type: Injectable,
|
|
4004
4020
|
args: [{ providedIn: 'root' }]
|
|
4005
4021
|
}], ctorParameters: () => [] });
|
|
@@ -4041,10 +4057,10 @@ class MapGeocoder {
|
|
|
4041
4057
|
}
|
|
4042
4058
|
return Promise.resolve(this._geocoder);
|
|
4043
4059
|
}
|
|
4044
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
4045
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-
|
|
4060
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapGeocoder, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4061
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapGeocoder, providedIn: 'root' });
|
|
4046
4062
|
}
|
|
4047
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
4063
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MapGeocoder, decorators: [{
|
|
4048
4064
|
type: Injectable,
|
|
4049
4065
|
args: [{ providedIn: 'root' }]
|
|
4050
4066
|
}], ctorParameters: () => [] });
|