@angular/google-maps 15.1.0-rc.0 → 15.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/esm2020/google-map/google-map.mjs +13 -13
- package/esm2020/google-maps-module.mjs +5 -5
- package/esm2020/map-base-layer.mjs +4 -4
- package/esm2020/map-bicycling-layer/map-bicycling-layer.mjs +4 -4
- package/esm2020/map-circle/map-circle.mjs +13 -13
- package/esm2020/map-directions-renderer/map-directions-renderer.mjs +14 -14
- package/esm2020/map-directions-renderer/map-directions-service.mjs +4 -4
- package/esm2020/map-event-manager.mjs +8 -8
- package/esm2020/map-geocoder/map-geocoder.mjs +4 -4
- package/esm2020/map-ground-overlay/map-ground-overlay.mjs +19 -19
- package/esm2020/map-heatmap-layer/map-heatmap-layer.mjs +8 -8
- package/esm2020/map-info-window/map-info-window.mjs +10 -10
- package/esm2020/map-kml-layer/map-kml-layer.mjs +10 -10
- package/esm2020/map-marker/map-marker.mjs +53 -53
- package/esm2020/map-marker-clusterer/map-marker-clusterer.mjs +26 -26
- package/esm2020/map-polygon/map-polygon.mjs +10 -10
- package/esm2020/map-polyline/map-polyline.mjs +10 -10
- package/esm2020/map-rectangle/map-rectangle.mjs +10 -10
- package/esm2020/map-traffic-layer/map-traffic-layer.mjs +10 -10
- package/esm2020/map-transit-layer/map-transit-layer.mjs +4 -4
- package/fesm2015/google-maps.mjs +219 -219
- package/fesm2015/google-maps.mjs.map +1 -1
- package/fesm2020/google-maps.mjs +219 -219
- package/fesm2020/google-maps.mjs.map +1 -1
- package/package.json +3 -3
package/fesm2020/google-maps.mjs
CHANGED
|
@@ -13,13 +13,6 @@ import { switchMap, take, map, takeUntil } from 'rxjs/operators';
|
|
|
13
13
|
*/
|
|
14
14
|
/** Manages event on a Google Maps object, ensuring that events are added only when necessary. */
|
|
15
15
|
class MapEventManager {
|
|
16
|
-
constructor(_ngZone) {
|
|
17
|
-
this._ngZone = _ngZone;
|
|
18
|
-
/** Pending listeners that were added before the target was set. */
|
|
19
|
-
this._pending = [];
|
|
20
|
-
this._listeners = [];
|
|
21
|
-
this._targetStream = new BehaviorSubject(undefined);
|
|
22
|
-
}
|
|
23
16
|
/** Clears all currently-registered event listeners. */
|
|
24
17
|
_clearListeners() {
|
|
25
18
|
for (const listener of this._listeners) {
|
|
@@ -27,6 +20,13 @@ class MapEventManager {
|
|
|
27
20
|
}
|
|
28
21
|
this._listeners = [];
|
|
29
22
|
}
|
|
23
|
+
constructor(_ngZone) {
|
|
24
|
+
this._ngZone = _ngZone;
|
|
25
|
+
/** Pending listeners that were added before the target was set. */
|
|
26
|
+
this._pending = [];
|
|
27
|
+
this._listeners = [];
|
|
28
|
+
this._targetStream = new BehaviorSubject(undefined);
|
|
29
|
+
}
|
|
30
30
|
/** Gets an observable that adds an event listener to the map when a consumer subscribes to it. */
|
|
31
31
|
getLazyEmitter(name) {
|
|
32
32
|
return this._targetStream.pipe(switchMap(target => {
|
|
@@ -87,6 +87,15 @@ const DEFAULT_WIDTH = '500px';
|
|
|
87
87
|
* @see https://developers.google.com/maps/documentation/javascript/reference/
|
|
88
88
|
*/
|
|
89
89
|
class GoogleMap {
|
|
90
|
+
set center(center) {
|
|
91
|
+
this._center = center;
|
|
92
|
+
}
|
|
93
|
+
set zoom(zoom) {
|
|
94
|
+
this._zoom = zoom;
|
|
95
|
+
}
|
|
96
|
+
set options(options) {
|
|
97
|
+
this._options = options || DEFAULT_OPTIONS;
|
|
98
|
+
}
|
|
90
99
|
constructor(_elementRef, _ngZone, platformId) {
|
|
91
100
|
this._elementRef = _elementRef;
|
|
92
101
|
this._ngZone = _ngZone;
|
|
@@ -211,15 +220,6 @@ class GoogleMap {
|
|
|
211
220
|
};
|
|
212
221
|
}
|
|
213
222
|
}
|
|
214
|
-
set center(center) {
|
|
215
|
-
this._center = center;
|
|
216
|
-
}
|
|
217
|
-
set zoom(zoom) {
|
|
218
|
-
this._zoom = zoom;
|
|
219
|
-
}
|
|
220
|
-
set options(options) {
|
|
221
|
-
this._options = options || DEFAULT_OPTIONS;
|
|
222
|
-
}
|
|
223
223
|
ngOnChanges(changes) {
|
|
224
224
|
if (changes['height'] || changes['width']) {
|
|
225
225
|
this._setSize();
|
|
@@ -429,9 +429,9 @@ class GoogleMap {
|
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
|
-
GoogleMap.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
433
|
-
GoogleMap.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0-
|
|
434
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
432
|
+
GoogleMap.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: GoogleMap, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component });
|
|
433
|
+
GoogleMap.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: GoogleMap, selector: "google-map", inputs: { height: "height", width: "width", 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></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: GoogleMap, decorators: [{
|
|
435
435
|
type: Component,
|
|
436
436
|
args: [{
|
|
437
437
|
selector: 'google-map',
|
|
@@ -533,9 +533,9 @@ class MapBaseLayer {
|
|
|
533
533
|
_setMap() { }
|
|
534
534
|
_unsetMap() { }
|
|
535
535
|
}
|
|
536
|
-
MapBaseLayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
537
|
-
MapBaseLayer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
536
|
+
MapBaseLayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapBaseLayer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
537
|
+
MapBaseLayer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: MapBaseLayer, selector: "map-base-layer", exportAs: ["mapBaseLayer"], ngImport: i0 });
|
|
538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapBaseLayer, decorators: [{
|
|
539
539
|
type: Directive,
|
|
540
540
|
args: [{
|
|
541
541
|
selector: 'map-base-layer',
|
|
@@ -569,9 +569,9 @@ class MapBicyclingLayer extends MapBaseLayer {
|
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
MapBicyclingLayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
573
|
-
MapBicyclingLayer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
574
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
572
|
+
MapBicyclingLayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapBicyclingLayer, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
573
|
+
MapBicyclingLayer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: MapBicyclingLayer, selector: "map-bicycling-layer", exportAs: ["mapBicyclingLayer"], usesInheritance: true, ngImport: i0 });
|
|
574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapBicyclingLayer, decorators: [{
|
|
575
575
|
type: Directive,
|
|
576
576
|
args: [{
|
|
577
577
|
selector: 'map-bicycling-layer',
|
|
@@ -585,6 +585,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
585
585
|
* @see developers.google.com/maps/documentation/javascript/reference/polygon#Circle
|
|
586
586
|
*/
|
|
587
587
|
class MapCircle {
|
|
588
|
+
set options(options) {
|
|
589
|
+
this._options.next(options || {});
|
|
590
|
+
}
|
|
591
|
+
set center(center) {
|
|
592
|
+
this._center.next(center);
|
|
593
|
+
}
|
|
594
|
+
set radius(radius) {
|
|
595
|
+
this._radius.next(radius);
|
|
596
|
+
}
|
|
588
597
|
constructor(_map, _ngZone) {
|
|
589
598
|
this._map = _map;
|
|
590
599
|
this._ngZone = _ngZone;
|
|
@@ -659,15 +668,6 @@ class MapCircle {
|
|
|
659
668
|
*/
|
|
660
669
|
this.circleRightclick = this._eventManager.getLazyEmitter('rightclick');
|
|
661
670
|
}
|
|
662
|
-
set options(options) {
|
|
663
|
-
this._options.next(options || {});
|
|
664
|
-
}
|
|
665
|
-
set center(center) {
|
|
666
|
-
this._center.next(center);
|
|
667
|
-
}
|
|
668
|
-
set radius(radius) {
|
|
669
|
-
this._radius.next(radius);
|
|
670
|
-
}
|
|
671
671
|
ngOnInit() {
|
|
672
672
|
if (this._map._isBrowser) {
|
|
673
673
|
this._combineOptions()
|
|
@@ -789,9 +789,9 @@ class MapCircle {
|
|
|
789
789
|
}
|
|
790
790
|
}
|
|
791
791
|
}
|
|
792
|
-
MapCircle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
793
|
-
MapCircle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
794
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
792
|
+
MapCircle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapCircle, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
793
|
+
MapCircle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: MapCircle, 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" }, exportAs: ["mapCircle"], ngImport: i0 });
|
|
794
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapCircle, decorators: [{
|
|
795
795
|
type: Directive,
|
|
796
796
|
args: [{
|
|
797
797
|
selector: 'map-circle',
|
|
@@ -839,16 +839,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
839
839
|
* See developers.google.com/maps/documentation/javascript/reference/directions#DirectionsRenderer
|
|
840
840
|
*/
|
|
841
841
|
class MapDirectionsRenderer {
|
|
842
|
-
constructor(_googleMap, _ngZone) {
|
|
843
|
-
this._googleMap = _googleMap;
|
|
844
|
-
this._ngZone = _ngZone;
|
|
845
|
-
this._eventManager = new MapEventManager(this._ngZone);
|
|
846
|
-
/**
|
|
847
|
-
* See developers.google.com/maps/documentation/javascript/reference/directions
|
|
848
|
-
* #DirectionsRenderer.directions_changed
|
|
849
|
-
*/
|
|
850
|
-
this.directionsChanged = this._eventManager.getLazyEmitter('directions_changed');
|
|
851
|
-
}
|
|
852
842
|
/**
|
|
853
843
|
* See developers.google.com/maps/documentation/javascript/reference/directions
|
|
854
844
|
* #DirectionsRendererOptions.directions
|
|
@@ -863,6 +853,16 @@ class MapDirectionsRenderer {
|
|
|
863
853
|
set options(options) {
|
|
864
854
|
this._options = options;
|
|
865
855
|
}
|
|
856
|
+
constructor(_googleMap, _ngZone) {
|
|
857
|
+
this._googleMap = _googleMap;
|
|
858
|
+
this._ngZone = _ngZone;
|
|
859
|
+
this._eventManager = new MapEventManager(this._ngZone);
|
|
860
|
+
/**
|
|
861
|
+
* See developers.google.com/maps/documentation/javascript/reference/directions
|
|
862
|
+
* #DirectionsRenderer.directions_changed
|
|
863
|
+
*/
|
|
864
|
+
this.directionsChanged = this._eventManager.getLazyEmitter('directions_changed');
|
|
865
|
+
}
|
|
866
866
|
ngOnInit() {
|
|
867
867
|
if (this._googleMap._isBrowser) {
|
|
868
868
|
// Create the object outside the zone so its events don't trigger change detection.
|
|
@@ -938,9 +938,9 @@ class MapDirectionsRenderer {
|
|
|
938
938
|
}
|
|
939
939
|
}
|
|
940
940
|
}
|
|
941
|
-
MapDirectionsRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
942
|
-
MapDirectionsRenderer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
943
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
941
|
+
MapDirectionsRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapDirectionsRenderer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
942
|
+
MapDirectionsRenderer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: MapDirectionsRenderer, selector: "map-directions-renderer", inputs: { directions: "directions", options: "options" }, outputs: { directionsChanged: "directionsChanged" }, exportAs: ["mapDirectionsRenderer"], usesOnChanges: true, ngImport: i0 });
|
|
943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapDirectionsRenderer, decorators: [{
|
|
944
944
|
type: Directive,
|
|
945
945
|
args: [{
|
|
946
946
|
selector: 'map-directions-renderer',
|
|
@@ -961,6 +961,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
961
961
|
* See developers.google.com/maps/documentation/javascript/reference/image-overlay#GroundOverlay
|
|
962
962
|
*/
|
|
963
963
|
class MapGroundOverlay {
|
|
964
|
+
/** URL of the image that will be shown in the overlay. */
|
|
965
|
+
set url(url) {
|
|
966
|
+
this._url.next(url);
|
|
967
|
+
}
|
|
968
|
+
/** Bounds for the overlay. */
|
|
969
|
+
get bounds() {
|
|
970
|
+
return this._bounds.value;
|
|
971
|
+
}
|
|
972
|
+
set bounds(bounds) {
|
|
973
|
+
this._bounds.next(bounds);
|
|
974
|
+
}
|
|
975
|
+
/** Opacity of the overlay. */
|
|
976
|
+
set opacity(opacity) {
|
|
977
|
+
this._opacity.next(opacity);
|
|
978
|
+
}
|
|
964
979
|
constructor(_map, _ngZone) {
|
|
965
980
|
this._map = _map;
|
|
966
981
|
this._ngZone = _ngZone;
|
|
@@ -983,21 +998,6 @@ class MapGroundOverlay {
|
|
|
983
998
|
*/
|
|
984
999
|
this.mapDblclick = this._eventManager.getLazyEmitter('dblclick');
|
|
985
1000
|
}
|
|
986
|
-
/** URL of the image that will be shown in the overlay. */
|
|
987
|
-
set url(url) {
|
|
988
|
-
this._url.next(url);
|
|
989
|
-
}
|
|
990
|
-
/** Bounds for the overlay. */
|
|
991
|
-
get bounds() {
|
|
992
|
-
return this._bounds.value;
|
|
993
|
-
}
|
|
994
|
-
set bounds(bounds) {
|
|
995
|
-
this._bounds.next(bounds);
|
|
996
|
-
}
|
|
997
|
-
/** Opacity of the overlay. */
|
|
998
|
-
set opacity(opacity) {
|
|
999
|
-
this._opacity.next(opacity);
|
|
1000
|
-
}
|
|
1001
1001
|
ngOnInit() {
|
|
1002
1002
|
if (this._map._isBrowser) {
|
|
1003
1003
|
// The ground overlay setup is slightly different from the other Google Maps objects in that
|
|
@@ -1093,9 +1093,9 @@ class MapGroundOverlay {
|
|
|
1093
1093
|
}
|
|
1094
1094
|
}
|
|
1095
1095
|
}
|
|
1096
|
-
MapGroundOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
1097
|
-
MapGroundOverlay.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
1098
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
1096
|
+
MapGroundOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapGroundOverlay, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1097
|
+
MapGroundOverlay.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: MapGroundOverlay, selector: "map-ground-overlay", inputs: { url: "url", bounds: "bounds", clickable: "clickable", opacity: "opacity" }, outputs: { mapClick: "mapClick", mapDblclick: "mapDblclick" }, exportAs: ["mapGroundOverlay"], ngImport: i0 });
|
|
1098
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapGroundOverlay, decorators: [{
|
|
1099
1099
|
type: Directive,
|
|
1100
1100
|
args: [{
|
|
1101
1101
|
selector: 'map-ground-overlay',
|
|
@@ -1122,6 +1122,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
1122
1122
|
* See developers.google.com/maps/documentation/javascript/reference/info-window
|
|
1123
1123
|
*/
|
|
1124
1124
|
class MapInfoWindow {
|
|
1125
|
+
set options(options) {
|
|
1126
|
+
this._options.next(options || {});
|
|
1127
|
+
}
|
|
1128
|
+
set position(position) {
|
|
1129
|
+
this._position.next(position);
|
|
1130
|
+
}
|
|
1125
1131
|
constructor(_googleMap, _elementRef, _ngZone) {
|
|
1126
1132
|
this._googleMap = _googleMap;
|
|
1127
1133
|
this._elementRef = _elementRef;
|
|
@@ -1159,12 +1165,6 @@ class MapInfoWindow {
|
|
|
1159
1165
|
*/
|
|
1160
1166
|
this.zindexChanged = this._eventManager.getLazyEmitter('zindex_changed');
|
|
1161
1167
|
}
|
|
1162
|
-
set options(options) {
|
|
1163
|
-
this._options.next(options || {});
|
|
1164
|
-
}
|
|
1165
|
-
set position(position) {
|
|
1166
|
-
this._position.next(position);
|
|
1167
|
-
}
|
|
1168
1168
|
ngOnInit() {
|
|
1169
1169
|
if (this._googleMap._isBrowser) {
|
|
1170
1170
|
const combinedOptionsChanges = this._combineOptions();
|
|
@@ -1282,9 +1282,9 @@ class MapInfoWindow {
|
|
|
1282
1282
|
}
|
|
1283
1283
|
}
|
|
1284
1284
|
}
|
|
1285
|
-
MapInfoWindow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
1286
|
-
MapInfoWindow.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
1287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
1285
|
+
MapInfoWindow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapInfoWindow, deps: [{ token: GoogleMap }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1286
|
+
MapInfoWindow.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: MapInfoWindow, selector: "map-info-window", inputs: { options: "options", position: "position" }, outputs: { closeclick: "closeclick", contentChanged: "contentChanged", domready: "domready", positionChanged: "positionChanged", zindexChanged: "zindexChanged" }, host: { styleAttribute: "display: none" }, exportAs: ["mapInfoWindow"], ngImport: i0 });
|
|
1287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapInfoWindow, decorators: [{
|
|
1288
1288
|
type: Directive,
|
|
1289
1289
|
args: [{
|
|
1290
1290
|
selector: 'map-info-window',
|
|
@@ -1314,6 +1314,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
1314
1314
|
* See developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer
|
|
1315
1315
|
*/
|
|
1316
1316
|
class MapKmlLayer {
|
|
1317
|
+
set options(options) {
|
|
1318
|
+
this._options.next(options || {});
|
|
1319
|
+
}
|
|
1320
|
+
set url(url) {
|
|
1321
|
+
this._url.next(url);
|
|
1322
|
+
}
|
|
1317
1323
|
constructor(_map, _ngZone) {
|
|
1318
1324
|
this._map = _map;
|
|
1319
1325
|
this._ngZone = _ngZone;
|
|
@@ -1336,12 +1342,6 @@ class MapKmlLayer {
|
|
|
1336
1342
|
*/
|
|
1337
1343
|
this.statusChanged = this._eventManager.getLazyEmitter('status_changed');
|
|
1338
1344
|
}
|
|
1339
|
-
set options(options) {
|
|
1340
|
-
this._options.next(options || {});
|
|
1341
|
-
}
|
|
1342
|
-
set url(url) {
|
|
1343
|
-
this._url.next(url);
|
|
1344
|
-
}
|
|
1345
1345
|
ngOnInit() {
|
|
1346
1346
|
if (this._map._isBrowser) {
|
|
1347
1347
|
this._combineOptions()
|
|
@@ -1441,9 +1441,9 @@ class MapKmlLayer {
|
|
|
1441
1441
|
}
|
|
1442
1442
|
}
|
|
1443
1443
|
}
|
|
1444
|
-
MapKmlLayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
1445
|
-
MapKmlLayer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
1446
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
1444
|
+
MapKmlLayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapKmlLayer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1445
|
+
MapKmlLayer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: MapKmlLayer, selector: "map-kml-layer", inputs: { options: "options", url: "url" }, outputs: { kmlClick: "kmlClick", defaultviewportChanged: "defaultviewportChanged", statusChanged: "statusChanged" }, exportAs: ["mapKmlLayer"], ngImport: i0 });
|
|
1446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapKmlLayer, decorators: [{
|
|
1447
1447
|
type: Directive,
|
|
1448
1448
|
args: [{
|
|
1449
1449
|
selector: 'map-kml-layer',
|
|
@@ -1475,6 +1475,55 @@ const DEFAULT_MARKER_OPTIONS = {
|
|
|
1475
1475
|
* See developers.google.com/maps/documentation/javascript/reference/marker
|
|
1476
1476
|
*/
|
|
1477
1477
|
class MapMarker {
|
|
1478
|
+
/**
|
|
1479
|
+
* Title of the marker.
|
|
1480
|
+
* See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.title
|
|
1481
|
+
*/
|
|
1482
|
+
set title(title) {
|
|
1483
|
+
this._title = title;
|
|
1484
|
+
}
|
|
1485
|
+
/**
|
|
1486
|
+
* Position of the marker. See:
|
|
1487
|
+
* developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.position
|
|
1488
|
+
*/
|
|
1489
|
+
set position(position) {
|
|
1490
|
+
this._position = position;
|
|
1491
|
+
}
|
|
1492
|
+
/**
|
|
1493
|
+
* Label for the marker.
|
|
1494
|
+
* See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.label
|
|
1495
|
+
*/
|
|
1496
|
+
set label(label) {
|
|
1497
|
+
this._label = label;
|
|
1498
|
+
}
|
|
1499
|
+
/**
|
|
1500
|
+
* Whether the marker is clickable. See:
|
|
1501
|
+
* developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.clickable
|
|
1502
|
+
*/
|
|
1503
|
+
set clickable(clickable) {
|
|
1504
|
+
this._clickable = clickable;
|
|
1505
|
+
}
|
|
1506
|
+
/**
|
|
1507
|
+
* Options used to configure the marker.
|
|
1508
|
+
* See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions
|
|
1509
|
+
*/
|
|
1510
|
+
set options(options) {
|
|
1511
|
+
this._options = options;
|
|
1512
|
+
}
|
|
1513
|
+
/**
|
|
1514
|
+
* Icon to be used for the marker.
|
|
1515
|
+
* See: https://developers.google.com/maps/documentation/javascript/reference/marker#Icon
|
|
1516
|
+
*/
|
|
1517
|
+
set icon(icon) {
|
|
1518
|
+
this._icon = icon;
|
|
1519
|
+
}
|
|
1520
|
+
/**
|
|
1521
|
+
* Whether the marker is visible.
|
|
1522
|
+
* See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.visible
|
|
1523
|
+
*/
|
|
1524
|
+
set visible(value) {
|
|
1525
|
+
this._visible = value;
|
|
1526
|
+
}
|
|
1478
1527
|
constructor(_googleMap, _ngZone) {
|
|
1479
1528
|
this._googleMap = _googleMap;
|
|
1480
1529
|
this._ngZone = _ngZone;
|
|
@@ -1585,55 +1634,6 @@ class MapMarker {
|
|
|
1585
1634
|
*/
|
|
1586
1635
|
this.zindexChanged = this._eventManager.getLazyEmitter('zindex_changed');
|
|
1587
1636
|
}
|
|
1588
|
-
/**
|
|
1589
|
-
* Title of the marker.
|
|
1590
|
-
* See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.title
|
|
1591
|
-
*/
|
|
1592
|
-
set title(title) {
|
|
1593
|
-
this._title = title;
|
|
1594
|
-
}
|
|
1595
|
-
/**
|
|
1596
|
-
* Position of the marker. See:
|
|
1597
|
-
* developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.position
|
|
1598
|
-
*/
|
|
1599
|
-
set position(position) {
|
|
1600
|
-
this._position = position;
|
|
1601
|
-
}
|
|
1602
|
-
/**
|
|
1603
|
-
* Label for the marker.
|
|
1604
|
-
* See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.label
|
|
1605
|
-
*/
|
|
1606
|
-
set label(label) {
|
|
1607
|
-
this._label = label;
|
|
1608
|
-
}
|
|
1609
|
-
/**
|
|
1610
|
-
* Whether the marker is clickable. See:
|
|
1611
|
-
* developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.clickable
|
|
1612
|
-
*/
|
|
1613
|
-
set clickable(clickable) {
|
|
1614
|
-
this._clickable = clickable;
|
|
1615
|
-
}
|
|
1616
|
-
/**
|
|
1617
|
-
* Options used to configure the marker.
|
|
1618
|
-
* See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions
|
|
1619
|
-
*/
|
|
1620
|
-
set options(options) {
|
|
1621
|
-
this._options = options;
|
|
1622
|
-
}
|
|
1623
|
-
/**
|
|
1624
|
-
* Icon to be used for the marker.
|
|
1625
|
-
* See: https://developers.google.com/maps/documentation/javascript/reference/marker#Icon
|
|
1626
|
-
*/
|
|
1627
|
-
set icon(icon) {
|
|
1628
|
-
this._icon = icon;
|
|
1629
|
-
}
|
|
1630
|
-
/**
|
|
1631
|
-
* Whether the marker is visible.
|
|
1632
|
-
* See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.visible
|
|
1633
|
-
*/
|
|
1634
|
-
set visible(value) {
|
|
1635
|
-
this._visible = value;
|
|
1636
|
-
}
|
|
1637
1637
|
ngOnInit() {
|
|
1638
1638
|
if (this._googleMap._isBrowser) {
|
|
1639
1639
|
// Create the object outside the zone so its events don't trigger change detection.
|
|
@@ -1807,9 +1807,9 @@ class MapMarker {
|
|
|
1807
1807
|
}
|
|
1808
1808
|
}
|
|
1809
1809
|
}
|
|
1810
|
-
MapMarker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
1811
|
-
MapMarker.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
1812
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
1810
|
+
MapMarker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapMarker, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1811
|
+
MapMarker.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: MapMarker, 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" }, exportAs: ["mapMarker"], usesOnChanges: true, ngImport: i0 });
|
|
1812
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapMarker, decorators: [{
|
|
1813
1813
|
type: Directive,
|
|
1814
1814
|
args: [{
|
|
1815
1815
|
selector: 'map-marker',
|
|
@@ -1882,28 +1882,6 @@ const DEFAULT_CLUSTERER_OPTIONS = {};
|
|
|
1882
1882
|
* See https://developers.google.com/maps/documentation/javascript/marker-clustering
|
|
1883
1883
|
*/
|
|
1884
1884
|
class MapMarkerClusterer {
|
|
1885
|
-
constructor(_googleMap, _ngZone) {
|
|
1886
|
-
this._googleMap = _googleMap;
|
|
1887
|
-
this._ngZone = _ngZone;
|
|
1888
|
-
this._currentMarkers = new Set();
|
|
1889
|
-
this._eventManager = new MapEventManager(this._ngZone);
|
|
1890
|
-
this._destroy = new Subject();
|
|
1891
|
-
this.ariaLabelFn = () => '';
|
|
1892
|
-
/**
|
|
1893
|
-
* See
|
|
1894
|
-
* googlemaps.github.io/v3-utility-library/modules/
|
|
1895
|
-
* _google_markerclustererplus.html#clusteringbegin
|
|
1896
|
-
*/
|
|
1897
|
-
this.clusteringbegin = this._eventManager.getLazyEmitter('clusteringbegin');
|
|
1898
|
-
/**
|
|
1899
|
-
* See
|
|
1900
|
-
* googlemaps.github.io/v3-utility-library/modules/_google_markerclustererplus.html#clusteringend
|
|
1901
|
-
*/
|
|
1902
|
-
this.clusteringend = this._eventManager.getLazyEmitter('clusteringend');
|
|
1903
|
-
/** Emits when a cluster has been clicked. */
|
|
1904
|
-
this.clusterClick = this._eventManager.getLazyEmitter('click');
|
|
1905
|
-
this._canInitialize = this._googleMap._isBrowser;
|
|
1906
|
-
}
|
|
1907
1885
|
set averageCenter(averageCenter) {
|
|
1908
1886
|
this._averageCenter = averageCenter;
|
|
1909
1887
|
}
|
|
@@ -1955,6 +1933,28 @@ class MapMarkerClusterer {
|
|
|
1955
1933
|
set options(options) {
|
|
1956
1934
|
this._options = options;
|
|
1957
1935
|
}
|
|
1936
|
+
constructor(_googleMap, _ngZone) {
|
|
1937
|
+
this._googleMap = _googleMap;
|
|
1938
|
+
this._ngZone = _ngZone;
|
|
1939
|
+
this._currentMarkers = new Set();
|
|
1940
|
+
this._eventManager = new MapEventManager(this._ngZone);
|
|
1941
|
+
this._destroy = new Subject();
|
|
1942
|
+
this.ariaLabelFn = () => '';
|
|
1943
|
+
/**
|
|
1944
|
+
* See
|
|
1945
|
+
* googlemaps.github.io/v3-utility-library/modules/
|
|
1946
|
+
* _google_markerclustererplus.html#clusteringbegin
|
|
1947
|
+
*/
|
|
1948
|
+
this.clusteringbegin = this._eventManager.getLazyEmitter('clusteringbegin');
|
|
1949
|
+
/**
|
|
1950
|
+
* See
|
|
1951
|
+
* googlemaps.github.io/v3-utility-library/modules/_google_markerclustererplus.html#clusteringend
|
|
1952
|
+
*/
|
|
1953
|
+
this.clusteringend = this._eventManager.getLazyEmitter('clusteringend');
|
|
1954
|
+
/** Emits when a cluster has been clicked. */
|
|
1955
|
+
this.clusterClick = this._eventManager.getLazyEmitter('click');
|
|
1956
|
+
this._canInitialize = this._googleMap._isBrowser;
|
|
1957
|
+
}
|
|
1958
1958
|
ngOnInit() {
|
|
1959
1959
|
if (this._canInitialize) {
|
|
1960
1960
|
if (typeof MarkerClusterer !== 'function' &&
|
|
@@ -2201,9 +2201,9 @@ class MapMarkerClusterer {
|
|
|
2201
2201
|
}
|
|
2202
2202
|
}
|
|
2203
2203
|
}
|
|
2204
|
-
MapMarkerClusterer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
2205
|
-
MapMarkerClusterer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0-
|
|
2206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
2204
|
+
MapMarkerClusterer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapMarkerClusterer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2205
|
+
MapMarkerClusterer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: MapMarkerClusterer, selector: "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" }, queries: [{ propertyName: "_markers", predicate: MapMarker, descendants: true }], exportAs: ["mapMarkerClusterer"], usesOnChanges: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapMarkerClusterer, decorators: [{
|
|
2207
2207
|
type: Component,
|
|
2208
2208
|
args: [{
|
|
2209
2209
|
selector: 'map-marker-clusterer',
|
|
@@ -2268,6 +2268,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
2268
2268
|
* See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon
|
|
2269
2269
|
*/
|
|
2270
2270
|
class MapPolygon {
|
|
2271
|
+
set options(options) {
|
|
2272
|
+
this._options.next(options || {});
|
|
2273
|
+
}
|
|
2274
|
+
set paths(paths) {
|
|
2275
|
+
this._paths.next(paths);
|
|
2276
|
+
}
|
|
2271
2277
|
constructor(_map, _ngZone) {
|
|
2272
2278
|
this._map = _map;
|
|
2273
2279
|
this._ngZone = _ngZone;
|
|
@@ -2320,12 +2326,6 @@ class MapPolygon {
|
|
|
2320
2326
|
*/
|
|
2321
2327
|
this.polygonRightclick = this._eventManager.getLazyEmitter('rightclick');
|
|
2322
2328
|
}
|
|
2323
|
-
set options(options) {
|
|
2324
|
-
this._options.next(options || {});
|
|
2325
|
-
}
|
|
2326
|
-
set paths(paths) {
|
|
2327
|
-
this._paths.next(paths);
|
|
2328
|
-
}
|
|
2329
2329
|
ngOnInit() {
|
|
2330
2330
|
if (this._map._isBrowser) {
|
|
2331
2331
|
this._combineOptions()
|
|
@@ -2425,9 +2425,9 @@ class MapPolygon {
|
|
|
2425
2425
|
}
|
|
2426
2426
|
}
|
|
2427
2427
|
}
|
|
2428
|
-
MapPolygon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
2429
|
-
MapPolygon.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
2430
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
2428
|
+
MapPolygon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapPolygon, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2429
|
+
MapPolygon.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: MapPolygon, 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" }, exportAs: ["mapPolygon"], ngImport: i0 });
|
|
2430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapPolygon, decorators: [{
|
|
2431
2431
|
type: Directive,
|
|
2432
2432
|
args: [{
|
|
2433
2433
|
selector: 'map-polygon',
|
|
@@ -2468,6 +2468,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
2468
2468
|
* See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline
|
|
2469
2469
|
*/
|
|
2470
2470
|
class MapPolyline {
|
|
2471
|
+
set options(options) {
|
|
2472
|
+
this._options.next(options || {});
|
|
2473
|
+
}
|
|
2474
|
+
set path(path) {
|
|
2475
|
+
this._path.next(path);
|
|
2476
|
+
}
|
|
2471
2477
|
constructor(_map, _ngZone) {
|
|
2472
2478
|
this._map = _map;
|
|
2473
2479
|
this._ngZone = _ngZone;
|
|
@@ -2520,12 +2526,6 @@ class MapPolyline {
|
|
|
2520
2526
|
*/
|
|
2521
2527
|
this.polylineRightclick = this._eventManager.getLazyEmitter('rightclick');
|
|
2522
2528
|
}
|
|
2523
|
-
set options(options) {
|
|
2524
|
-
this._options.next(options || {});
|
|
2525
|
-
}
|
|
2526
|
-
set path(path) {
|
|
2527
|
-
this._path.next(path);
|
|
2528
|
-
}
|
|
2529
2529
|
ngOnInit() {
|
|
2530
2530
|
if (this._map._isBrowser) {
|
|
2531
2531
|
this._combineOptions()
|
|
@@ -2616,9 +2616,9 @@ class MapPolyline {
|
|
|
2616
2616
|
}
|
|
2617
2617
|
}
|
|
2618
2618
|
}
|
|
2619
|
-
MapPolyline.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
2620
|
-
MapPolyline.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
2621
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
2619
|
+
MapPolyline.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapPolyline, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2620
|
+
MapPolyline.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: MapPolyline, 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" }, exportAs: ["mapPolyline"], ngImport: i0 });
|
|
2621
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapPolyline, decorators: [{
|
|
2622
2622
|
type: Directive,
|
|
2623
2623
|
args: [{
|
|
2624
2624
|
selector: 'map-polyline',
|
|
@@ -2659,6 +2659,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
2659
2659
|
* See developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle
|
|
2660
2660
|
*/
|
|
2661
2661
|
class MapRectangle {
|
|
2662
|
+
set options(options) {
|
|
2663
|
+
this._options.next(options || {});
|
|
2664
|
+
}
|
|
2665
|
+
set bounds(bounds) {
|
|
2666
|
+
this._bounds.next(bounds);
|
|
2667
|
+
}
|
|
2662
2668
|
constructor(_map, _ngZone) {
|
|
2663
2669
|
this._map = _map;
|
|
2664
2670
|
this._ngZone = _ngZone;
|
|
@@ -2726,12 +2732,6 @@ class MapRectangle {
|
|
|
2726
2732
|
*/
|
|
2727
2733
|
this.rectangleRightclick = this._eventManager.getLazyEmitter('rightclick');
|
|
2728
2734
|
}
|
|
2729
|
-
set options(options) {
|
|
2730
|
-
this._options.next(options || {});
|
|
2731
|
-
}
|
|
2732
|
-
set bounds(bounds) {
|
|
2733
|
-
this._bounds.next(bounds);
|
|
2734
|
-
}
|
|
2735
2735
|
ngOnInit() {
|
|
2736
2736
|
if (this._map._isBrowser) {
|
|
2737
2737
|
this._combineOptions()
|
|
@@ -2827,9 +2827,9 @@ class MapRectangle {
|
|
|
2827
2827
|
}
|
|
2828
2828
|
}
|
|
2829
2829
|
}
|
|
2830
|
-
MapRectangle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
2831
|
-
MapRectangle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
2832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
2830
|
+
MapRectangle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapRectangle, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2831
|
+
MapRectangle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: MapRectangle, 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" }, exportAs: ["mapRectangle"], ngImport: i0 });
|
|
2832
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapRectangle, decorators: [{
|
|
2833
2833
|
type: Directive,
|
|
2834
2834
|
args: [{
|
|
2835
2835
|
selector: 'map-rectangle',
|
|
@@ -2872,18 +2872,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
2872
2872
|
* See developers.google.com/maps/documentation/javascript/reference/map#TrafficLayer
|
|
2873
2873
|
*/
|
|
2874
2874
|
class MapTrafficLayer {
|
|
2875
|
-
constructor(_map, _ngZone) {
|
|
2876
|
-
this._map = _map;
|
|
2877
|
-
this._ngZone = _ngZone;
|
|
2878
|
-
this._autoRefresh = new BehaviorSubject(true);
|
|
2879
|
-
this._destroyed = new Subject();
|
|
2880
|
-
}
|
|
2881
2875
|
/**
|
|
2882
2876
|
* Whether the traffic layer refreshes with updated information automatically.
|
|
2883
2877
|
*/
|
|
2884
2878
|
set autoRefresh(autoRefresh) {
|
|
2885
2879
|
this._autoRefresh.next(autoRefresh);
|
|
2886
2880
|
}
|
|
2881
|
+
constructor(_map, _ngZone) {
|
|
2882
|
+
this._map = _map;
|
|
2883
|
+
this._ngZone = _ngZone;
|
|
2884
|
+
this._autoRefresh = new BehaviorSubject(true);
|
|
2885
|
+
this._destroyed = new Subject();
|
|
2886
|
+
}
|
|
2887
2887
|
ngOnInit() {
|
|
2888
2888
|
if (this._map._isBrowser) {
|
|
2889
2889
|
this._combineOptions()
|
|
@@ -2931,9 +2931,9 @@ class MapTrafficLayer {
|
|
|
2931
2931
|
}
|
|
2932
2932
|
}
|
|
2933
2933
|
}
|
|
2934
|
-
MapTrafficLayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
2935
|
-
MapTrafficLayer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
2936
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
2934
|
+
MapTrafficLayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapTrafficLayer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2935
|
+
MapTrafficLayer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: MapTrafficLayer, selector: "map-traffic-layer", inputs: { autoRefresh: "autoRefresh" }, exportAs: ["mapTrafficLayer"], ngImport: i0 });
|
|
2936
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapTrafficLayer, decorators: [{
|
|
2937
2937
|
type: Directive,
|
|
2938
2938
|
args: [{
|
|
2939
2939
|
selector: 'map-traffic-layer',
|
|
@@ -2969,9 +2969,9 @@ class MapTransitLayer extends MapBaseLayer {
|
|
|
2969
2969
|
}
|
|
2970
2970
|
}
|
|
2971
2971
|
}
|
|
2972
|
-
MapTransitLayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
2973
|
-
MapTransitLayer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
2974
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
2972
|
+
MapTransitLayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapTransitLayer, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2973
|
+
MapTransitLayer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: MapTransitLayer, selector: "map-transit-layer", exportAs: ["mapTransitLayer"], usesInheritance: true, ngImport: i0 });
|
|
2974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapTransitLayer, decorators: [{
|
|
2975
2975
|
type: Directive,
|
|
2976
2976
|
args: [{
|
|
2977
2977
|
selector: 'map-transit-layer',
|
|
@@ -2986,10 +2986,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
2986
2986
|
* See: https://developers.google.com/maps/documentation/javascript/reference/visualization
|
|
2987
2987
|
*/
|
|
2988
2988
|
class MapHeatmapLayer {
|
|
2989
|
-
constructor(_googleMap, _ngZone) {
|
|
2990
|
-
this._googleMap = _googleMap;
|
|
2991
|
-
this._ngZone = _ngZone;
|
|
2992
|
-
}
|
|
2993
2989
|
/**
|
|
2994
2990
|
* Data shown on the heatmap.
|
|
2995
2991
|
* See: https://developers.google.com/maps/documentation/javascript/reference/visualization
|
|
@@ -3004,6 +3000,10 @@ class MapHeatmapLayer {
|
|
|
3004
3000
|
set options(options) {
|
|
3005
3001
|
this._options = options;
|
|
3006
3002
|
}
|
|
3003
|
+
constructor(_googleMap, _ngZone) {
|
|
3004
|
+
this._googleMap = _googleMap;
|
|
3005
|
+
this._ngZone = _ngZone;
|
|
3006
|
+
}
|
|
3007
3007
|
ngOnInit() {
|
|
3008
3008
|
if (this._googleMap._isBrowser) {
|
|
3009
3009
|
if (!window.google?.maps?.visualization && (typeof ngDevMode === 'undefined' || ngDevMode)) {
|
|
@@ -3083,9 +3083,9 @@ class MapHeatmapLayer {
|
|
|
3083
3083
|
}
|
|
3084
3084
|
}
|
|
3085
3085
|
}
|
|
3086
|
-
MapHeatmapLayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
3087
|
-
MapHeatmapLayer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
3088
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
3086
|
+
MapHeatmapLayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapHeatmapLayer, deps: [{ token: GoogleMap }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3087
|
+
MapHeatmapLayer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: MapHeatmapLayer, selector: "map-heatmap-layer", inputs: { data: "data", options: "options" }, exportAs: ["mapHeatmapLayer"], usesOnChanges: true, ngImport: i0 });
|
|
3088
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapHeatmapLayer, decorators: [{
|
|
3089
3089
|
type: Directive,
|
|
3090
3090
|
args: [{
|
|
3091
3091
|
selector: 'map-heatmap-layer',
|
|
@@ -3128,8 +3128,8 @@ const COMPONENTS = [
|
|
|
3128
3128
|
];
|
|
3129
3129
|
class GoogleMapsModule {
|
|
3130
3130
|
}
|
|
3131
|
-
GoogleMapsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
3132
|
-
GoogleMapsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-
|
|
3131
|
+
GoogleMapsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: GoogleMapsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3132
|
+
GoogleMapsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-rc.0", ngImport: i0, type: GoogleMapsModule, declarations: [GoogleMap,
|
|
3133
3133
|
MapBaseLayer,
|
|
3134
3134
|
MapBicyclingLayer,
|
|
3135
3135
|
MapCircle,
|
|
@@ -3160,8 +3160,8 @@ GoogleMapsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versio
|
|
|
3160
3160
|
MapTrafficLayer,
|
|
3161
3161
|
MapTransitLayer,
|
|
3162
3162
|
MapHeatmapLayer] });
|
|
3163
|
-
GoogleMapsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-
|
|
3164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
3163
|
+
GoogleMapsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: GoogleMapsModule });
|
|
3164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: GoogleMapsModule, decorators: [{
|
|
3165
3165
|
type: NgModule,
|
|
3166
3166
|
args: [{
|
|
3167
3167
|
declarations: COMPONENTS,
|
|
@@ -3201,9 +3201,9 @@ class MapDirectionsService {
|
|
|
3201
3201
|
});
|
|
3202
3202
|
}
|
|
3203
3203
|
}
|
|
3204
|
-
MapDirectionsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
3205
|
-
MapDirectionsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
3206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
3204
|
+
MapDirectionsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapDirectionsService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3205
|
+
MapDirectionsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapDirectionsService, providedIn: 'root' });
|
|
3206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapDirectionsService, decorators: [{
|
|
3207
3207
|
type: Injectable,
|
|
3208
3208
|
args: [{ providedIn: 'root' }]
|
|
3209
3209
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
@@ -3236,9 +3236,9 @@ class MapGeocoder {
|
|
|
3236
3236
|
});
|
|
3237
3237
|
}
|
|
3238
3238
|
}
|
|
3239
|
-
MapGeocoder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
3240
|
-
MapGeocoder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
3241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
3239
|
+
MapGeocoder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapGeocoder, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3240
|
+
MapGeocoder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapGeocoder, providedIn: 'root' });
|
|
3241
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapGeocoder, decorators: [{
|
|
3242
3242
|
type: Injectable,
|
|
3243
3243
|
args: [{ providedIn: 'root' }]
|
|
3244
3244
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|