@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/fesm2015/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();
|
|
@@ -427,9 +427,9 @@ class GoogleMap {
|
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
|
-
GoogleMap.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
431
|
-
GoogleMap.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0-
|
|
432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
430
|
+
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 });
|
|
431
|
+
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 });
|
|
432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: GoogleMap, decorators: [{
|
|
433
433
|
type: Component,
|
|
434
434
|
args: [{
|
|
435
435
|
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()
|
|
@@ -785,9 +785,9 @@ class MapCircle {
|
|
|
785
785
|
}
|
|
786
786
|
}
|
|
787
787
|
}
|
|
788
|
-
MapCircle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
789
|
-
MapCircle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
790
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
788
|
+
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 });
|
|
789
|
+
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 });
|
|
790
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapCircle, decorators: [{
|
|
791
791
|
type: Directive,
|
|
792
792
|
args: [{
|
|
793
793
|
selector: 'map-circle',
|
|
@@ -835,16 +835,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
835
835
|
* See developers.google.com/maps/documentation/javascript/reference/directions#DirectionsRenderer
|
|
836
836
|
*/
|
|
837
837
|
class MapDirectionsRenderer {
|
|
838
|
-
constructor(_googleMap, _ngZone) {
|
|
839
|
-
this._googleMap = _googleMap;
|
|
840
|
-
this._ngZone = _ngZone;
|
|
841
|
-
this._eventManager = new MapEventManager(this._ngZone);
|
|
842
|
-
/**
|
|
843
|
-
* See developers.google.com/maps/documentation/javascript/reference/directions
|
|
844
|
-
* #DirectionsRenderer.directions_changed
|
|
845
|
-
*/
|
|
846
|
-
this.directionsChanged = this._eventManager.getLazyEmitter('directions_changed');
|
|
847
|
-
}
|
|
848
838
|
/**
|
|
849
839
|
* See developers.google.com/maps/documentation/javascript/reference/directions
|
|
850
840
|
* #DirectionsRendererOptions.directions
|
|
@@ -859,6 +849,16 @@ class MapDirectionsRenderer {
|
|
|
859
849
|
set options(options) {
|
|
860
850
|
this._options = options;
|
|
861
851
|
}
|
|
852
|
+
constructor(_googleMap, _ngZone) {
|
|
853
|
+
this._googleMap = _googleMap;
|
|
854
|
+
this._ngZone = _ngZone;
|
|
855
|
+
this._eventManager = new MapEventManager(this._ngZone);
|
|
856
|
+
/**
|
|
857
|
+
* See developers.google.com/maps/documentation/javascript/reference/directions
|
|
858
|
+
* #DirectionsRenderer.directions_changed
|
|
859
|
+
*/
|
|
860
|
+
this.directionsChanged = this._eventManager.getLazyEmitter('directions_changed');
|
|
861
|
+
}
|
|
862
862
|
ngOnInit() {
|
|
863
863
|
if (this._googleMap._isBrowser) {
|
|
864
864
|
// Create the object outside the zone so its events don't trigger change detection.
|
|
@@ -930,9 +930,9 @@ class MapDirectionsRenderer {
|
|
|
930
930
|
}
|
|
931
931
|
}
|
|
932
932
|
}
|
|
933
|
-
MapDirectionsRenderer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
934
|
-
MapDirectionsRenderer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
935
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
933
|
+
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 });
|
|
934
|
+
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 });
|
|
935
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapDirectionsRenderer, decorators: [{
|
|
936
936
|
type: Directive,
|
|
937
937
|
args: [{
|
|
938
938
|
selector: 'map-directions-renderer',
|
|
@@ -953,6 +953,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
953
953
|
* See developers.google.com/maps/documentation/javascript/reference/image-overlay#GroundOverlay
|
|
954
954
|
*/
|
|
955
955
|
class MapGroundOverlay {
|
|
956
|
+
/** URL of the image that will be shown in the overlay. */
|
|
957
|
+
set url(url) {
|
|
958
|
+
this._url.next(url);
|
|
959
|
+
}
|
|
960
|
+
/** Bounds for the overlay. */
|
|
961
|
+
get bounds() {
|
|
962
|
+
return this._bounds.value;
|
|
963
|
+
}
|
|
964
|
+
set bounds(bounds) {
|
|
965
|
+
this._bounds.next(bounds);
|
|
966
|
+
}
|
|
967
|
+
/** Opacity of the overlay. */
|
|
968
|
+
set opacity(opacity) {
|
|
969
|
+
this._opacity.next(opacity);
|
|
970
|
+
}
|
|
956
971
|
constructor(_map, _ngZone) {
|
|
957
972
|
this._map = _map;
|
|
958
973
|
this._ngZone = _ngZone;
|
|
@@ -975,21 +990,6 @@ class MapGroundOverlay {
|
|
|
975
990
|
*/
|
|
976
991
|
this.mapDblclick = this._eventManager.getLazyEmitter('dblclick');
|
|
977
992
|
}
|
|
978
|
-
/** URL of the image that will be shown in the overlay. */
|
|
979
|
-
set url(url) {
|
|
980
|
-
this._url.next(url);
|
|
981
|
-
}
|
|
982
|
-
/** Bounds for the overlay. */
|
|
983
|
-
get bounds() {
|
|
984
|
-
return this._bounds.value;
|
|
985
|
-
}
|
|
986
|
-
set bounds(bounds) {
|
|
987
|
-
this._bounds.next(bounds);
|
|
988
|
-
}
|
|
989
|
-
/** Opacity of the overlay. */
|
|
990
|
-
set opacity(opacity) {
|
|
991
|
-
this._opacity.next(opacity);
|
|
992
|
-
}
|
|
993
993
|
ngOnInit() {
|
|
994
994
|
if (this._map._isBrowser) {
|
|
995
995
|
// The ground overlay setup is slightly different from the other Google Maps objects in that
|
|
@@ -1085,9 +1085,9 @@ class MapGroundOverlay {
|
|
|
1085
1085
|
}
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
|
-
MapGroundOverlay.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
1089
|
-
MapGroundOverlay.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
1090
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
1088
|
+
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 });
|
|
1089
|
+
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 });
|
|
1090
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapGroundOverlay, decorators: [{
|
|
1091
1091
|
type: Directive,
|
|
1092
1092
|
args: [{
|
|
1093
1093
|
selector: 'map-ground-overlay',
|
|
@@ -1114,6 +1114,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
1114
1114
|
* See developers.google.com/maps/documentation/javascript/reference/info-window
|
|
1115
1115
|
*/
|
|
1116
1116
|
class MapInfoWindow {
|
|
1117
|
+
set options(options) {
|
|
1118
|
+
this._options.next(options || {});
|
|
1119
|
+
}
|
|
1120
|
+
set position(position) {
|
|
1121
|
+
this._position.next(position);
|
|
1122
|
+
}
|
|
1117
1123
|
constructor(_googleMap, _elementRef, _ngZone) {
|
|
1118
1124
|
this._googleMap = _googleMap;
|
|
1119
1125
|
this._elementRef = _elementRef;
|
|
@@ -1151,12 +1157,6 @@ class MapInfoWindow {
|
|
|
1151
1157
|
*/
|
|
1152
1158
|
this.zindexChanged = this._eventManager.getLazyEmitter('zindex_changed');
|
|
1153
1159
|
}
|
|
1154
|
-
set options(options) {
|
|
1155
|
-
this._options.next(options || {});
|
|
1156
|
-
}
|
|
1157
|
-
set position(position) {
|
|
1158
|
-
this._position.next(position);
|
|
1159
|
-
}
|
|
1160
1160
|
ngOnInit() {
|
|
1161
1161
|
if (this._googleMap._isBrowser) {
|
|
1162
1162
|
const combinedOptionsChanges = this._combineOptions();
|
|
@@ -1270,9 +1270,9 @@ class MapInfoWindow {
|
|
|
1270
1270
|
}
|
|
1271
1271
|
}
|
|
1272
1272
|
}
|
|
1273
|
-
MapInfoWindow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
1274
|
-
MapInfoWindow.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
1275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
1273
|
+
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 });
|
|
1274
|
+
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 });
|
|
1275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapInfoWindow, decorators: [{
|
|
1276
1276
|
type: Directive,
|
|
1277
1277
|
args: [{
|
|
1278
1278
|
selector: 'map-info-window',
|
|
@@ -1302,6 +1302,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
1302
1302
|
* See developers.google.com/maps/documentation/javascript/reference/kml#KmlLayer
|
|
1303
1303
|
*/
|
|
1304
1304
|
class MapKmlLayer {
|
|
1305
|
+
set options(options) {
|
|
1306
|
+
this._options.next(options || {});
|
|
1307
|
+
}
|
|
1308
|
+
set url(url) {
|
|
1309
|
+
this._url.next(url);
|
|
1310
|
+
}
|
|
1305
1311
|
constructor(_map, _ngZone) {
|
|
1306
1312
|
this._map = _map;
|
|
1307
1313
|
this._ngZone = _ngZone;
|
|
@@ -1324,12 +1330,6 @@ class MapKmlLayer {
|
|
|
1324
1330
|
*/
|
|
1325
1331
|
this.statusChanged = this._eventManager.getLazyEmitter('status_changed');
|
|
1326
1332
|
}
|
|
1327
|
-
set options(options) {
|
|
1328
|
-
this._options.next(options || {});
|
|
1329
|
-
}
|
|
1330
|
-
set url(url) {
|
|
1331
|
-
this._url.next(url);
|
|
1332
|
-
}
|
|
1333
1333
|
ngOnInit() {
|
|
1334
1334
|
if (this._map._isBrowser) {
|
|
1335
1335
|
this._combineOptions()
|
|
@@ -1426,9 +1426,9 @@ class MapKmlLayer {
|
|
|
1426
1426
|
}
|
|
1427
1427
|
}
|
|
1428
1428
|
}
|
|
1429
|
-
MapKmlLayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
1430
|
-
MapKmlLayer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
1431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
1429
|
+
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 });
|
|
1430
|
+
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 });
|
|
1431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapKmlLayer, decorators: [{
|
|
1432
1432
|
type: Directive,
|
|
1433
1433
|
args: [{
|
|
1434
1434
|
selector: 'map-kml-layer',
|
|
@@ -1460,6 +1460,55 @@ const DEFAULT_MARKER_OPTIONS = {
|
|
|
1460
1460
|
* See developers.google.com/maps/documentation/javascript/reference/marker
|
|
1461
1461
|
*/
|
|
1462
1462
|
class MapMarker {
|
|
1463
|
+
/**
|
|
1464
|
+
* Title of the marker.
|
|
1465
|
+
* See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.title
|
|
1466
|
+
*/
|
|
1467
|
+
set title(title) {
|
|
1468
|
+
this._title = title;
|
|
1469
|
+
}
|
|
1470
|
+
/**
|
|
1471
|
+
* Position of the marker. See:
|
|
1472
|
+
* developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.position
|
|
1473
|
+
*/
|
|
1474
|
+
set position(position) {
|
|
1475
|
+
this._position = position;
|
|
1476
|
+
}
|
|
1477
|
+
/**
|
|
1478
|
+
* Label for the marker.
|
|
1479
|
+
* See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.label
|
|
1480
|
+
*/
|
|
1481
|
+
set label(label) {
|
|
1482
|
+
this._label = label;
|
|
1483
|
+
}
|
|
1484
|
+
/**
|
|
1485
|
+
* Whether the marker is clickable. See:
|
|
1486
|
+
* developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.clickable
|
|
1487
|
+
*/
|
|
1488
|
+
set clickable(clickable) {
|
|
1489
|
+
this._clickable = clickable;
|
|
1490
|
+
}
|
|
1491
|
+
/**
|
|
1492
|
+
* Options used to configure the marker.
|
|
1493
|
+
* See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions
|
|
1494
|
+
*/
|
|
1495
|
+
set options(options) {
|
|
1496
|
+
this._options = options;
|
|
1497
|
+
}
|
|
1498
|
+
/**
|
|
1499
|
+
* Icon to be used for the marker.
|
|
1500
|
+
* See: https://developers.google.com/maps/documentation/javascript/reference/marker#Icon
|
|
1501
|
+
*/
|
|
1502
|
+
set icon(icon) {
|
|
1503
|
+
this._icon = icon;
|
|
1504
|
+
}
|
|
1505
|
+
/**
|
|
1506
|
+
* Whether the marker is visible.
|
|
1507
|
+
* See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.visible
|
|
1508
|
+
*/
|
|
1509
|
+
set visible(value) {
|
|
1510
|
+
this._visible = value;
|
|
1511
|
+
}
|
|
1463
1512
|
constructor(_googleMap, _ngZone) {
|
|
1464
1513
|
this._googleMap = _googleMap;
|
|
1465
1514
|
this._ngZone = _ngZone;
|
|
@@ -1570,55 +1619,6 @@ class MapMarker {
|
|
|
1570
1619
|
*/
|
|
1571
1620
|
this.zindexChanged = this._eventManager.getLazyEmitter('zindex_changed');
|
|
1572
1621
|
}
|
|
1573
|
-
/**
|
|
1574
|
-
* Title of the marker.
|
|
1575
|
-
* See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.title
|
|
1576
|
-
*/
|
|
1577
|
-
set title(title) {
|
|
1578
|
-
this._title = title;
|
|
1579
|
-
}
|
|
1580
|
-
/**
|
|
1581
|
-
* Position of the marker. See:
|
|
1582
|
-
* developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.position
|
|
1583
|
-
*/
|
|
1584
|
-
set position(position) {
|
|
1585
|
-
this._position = position;
|
|
1586
|
-
}
|
|
1587
|
-
/**
|
|
1588
|
-
* Label for the marker.
|
|
1589
|
-
* See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.label
|
|
1590
|
-
*/
|
|
1591
|
-
set label(label) {
|
|
1592
|
-
this._label = label;
|
|
1593
|
-
}
|
|
1594
|
-
/**
|
|
1595
|
-
* Whether the marker is clickable. See:
|
|
1596
|
-
* developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.clickable
|
|
1597
|
-
*/
|
|
1598
|
-
set clickable(clickable) {
|
|
1599
|
-
this._clickable = clickable;
|
|
1600
|
-
}
|
|
1601
|
-
/**
|
|
1602
|
-
* Options used to configure the marker.
|
|
1603
|
-
* See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions
|
|
1604
|
-
*/
|
|
1605
|
-
set options(options) {
|
|
1606
|
-
this._options = options;
|
|
1607
|
-
}
|
|
1608
|
-
/**
|
|
1609
|
-
* Icon to be used for the marker.
|
|
1610
|
-
* See: https://developers.google.com/maps/documentation/javascript/reference/marker#Icon
|
|
1611
|
-
*/
|
|
1612
|
-
set icon(icon) {
|
|
1613
|
-
this._icon = icon;
|
|
1614
|
-
}
|
|
1615
|
-
/**
|
|
1616
|
-
* Whether the marker is visible.
|
|
1617
|
-
* See: developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions.visible
|
|
1618
|
-
*/
|
|
1619
|
-
set visible(value) {
|
|
1620
|
-
this._visible = value;
|
|
1621
|
-
}
|
|
1622
1622
|
ngOnInit() {
|
|
1623
1623
|
if (this._googleMap._isBrowser) {
|
|
1624
1624
|
// Create the object outside the zone so its events don't trigger change detection.
|
|
@@ -1784,9 +1784,9 @@ class MapMarker {
|
|
|
1784
1784
|
}
|
|
1785
1785
|
}
|
|
1786
1786
|
}
|
|
1787
|
-
MapMarker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
1788
|
-
MapMarker.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
1789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
1787
|
+
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 });
|
|
1788
|
+
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 });
|
|
1789
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapMarker, decorators: [{
|
|
1790
1790
|
type: Directive,
|
|
1791
1791
|
args: [{
|
|
1792
1792
|
selector: 'map-marker',
|
|
@@ -1859,28 +1859,6 @@ const DEFAULT_CLUSTERER_OPTIONS = {};
|
|
|
1859
1859
|
* See https://developers.google.com/maps/documentation/javascript/marker-clustering
|
|
1860
1860
|
*/
|
|
1861
1861
|
class MapMarkerClusterer {
|
|
1862
|
-
constructor(_googleMap, _ngZone) {
|
|
1863
|
-
this._googleMap = _googleMap;
|
|
1864
|
-
this._ngZone = _ngZone;
|
|
1865
|
-
this._currentMarkers = new Set();
|
|
1866
|
-
this._eventManager = new MapEventManager(this._ngZone);
|
|
1867
|
-
this._destroy = new Subject();
|
|
1868
|
-
this.ariaLabelFn = () => '';
|
|
1869
|
-
/**
|
|
1870
|
-
* See
|
|
1871
|
-
* googlemaps.github.io/v3-utility-library/modules/
|
|
1872
|
-
* _google_markerclustererplus.html#clusteringbegin
|
|
1873
|
-
*/
|
|
1874
|
-
this.clusteringbegin = this._eventManager.getLazyEmitter('clusteringbegin');
|
|
1875
|
-
/**
|
|
1876
|
-
* See
|
|
1877
|
-
* googlemaps.github.io/v3-utility-library/modules/_google_markerclustererplus.html#clusteringend
|
|
1878
|
-
*/
|
|
1879
|
-
this.clusteringend = this._eventManager.getLazyEmitter('clusteringend');
|
|
1880
|
-
/** Emits when a cluster has been clicked. */
|
|
1881
|
-
this.clusterClick = this._eventManager.getLazyEmitter('click');
|
|
1882
|
-
this._canInitialize = this._googleMap._isBrowser;
|
|
1883
|
-
}
|
|
1884
1862
|
set averageCenter(averageCenter) {
|
|
1885
1863
|
this._averageCenter = averageCenter;
|
|
1886
1864
|
}
|
|
@@ -1932,6 +1910,28 @@ class MapMarkerClusterer {
|
|
|
1932
1910
|
set options(options) {
|
|
1933
1911
|
this._options = options;
|
|
1934
1912
|
}
|
|
1913
|
+
constructor(_googleMap, _ngZone) {
|
|
1914
|
+
this._googleMap = _googleMap;
|
|
1915
|
+
this._ngZone = _ngZone;
|
|
1916
|
+
this._currentMarkers = new Set();
|
|
1917
|
+
this._eventManager = new MapEventManager(this._ngZone);
|
|
1918
|
+
this._destroy = new Subject();
|
|
1919
|
+
this.ariaLabelFn = () => '';
|
|
1920
|
+
/**
|
|
1921
|
+
* See
|
|
1922
|
+
* googlemaps.github.io/v3-utility-library/modules/
|
|
1923
|
+
* _google_markerclustererplus.html#clusteringbegin
|
|
1924
|
+
*/
|
|
1925
|
+
this.clusteringbegin = this._eventManager.getLazyEmitter('clusteringbegin');
|
|
1926
|
+
/**
|
|
1927
|
+
* See
|
|
1928
|
+
* googlemaps.github.io/v3-utility-library/modules/_google_markerclustererplus.html#clusteringend
|
|
1929
|
+
*/
|
|
1930
|
+
this.clusteringend = this._eventManager.getLazyEmitter('clusteringend');
|
|
1931
|
+
/** Emits when a cluster has been clicked. */
|
|
1932
|
+
this.clusterClick = this._eventManager.getLazyEmitter('click');
|
|
1933
|
+
this._canInitialize = this._googleMap._isBrowser;
|
|
1934
|
+
}
|
|
1935
1935
|
ngOnInit() {
|
|
1936
1936
|
if (this._canInitialize) {
|
|
1937
1937
|
if (typeof MarkerClusterer !== 'function' &&
|
|
@@ -2159,9 +2159,9 @@ class MapMarkerClusterer {
|
|
|
2159
2159
|
}
|
|
2160
2160
|
}
|
|
2161
2161
|
}
|
|
2162
|
-
MapMarkerClusterer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
2163
|
-
MapMarkerClusterer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0-
|
|
2164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
2162
|
+
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 });
|
|
2163
|
+
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 });
|
|
2164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapMarkerClusterer, decorators: [{
|
|
2165
2165
|
type: Component,
|
|
2166
2166
|
args: [{
|
|
2167
2167
|
selector: 'map-marker-clusterer',
|
|
@@ -2226,6 +2226,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
2226
2226
|
* See developers.google.com/maps/documentation/javascript/reference/polygon#Polygon
|
|
2227
2227
|
*/
|
|
2228
2228
|
class MapPolygon {
|
|
2229
|
+
set options(options) {
|
|
2230
|
+
this._options.next(options || {});
|
|
2231
|
+
}
|
|
2232
|
+
set paths(paths) {
|
|
2233
|
+
this._paths.next(paths);
|
|
2234
|
+
}
|
|
2229
2235
|
constructor(_map, _ngZone) {
|
|
2230
2236
|
this._map = _map;
|
|
2231
2237
|
this._ngZone = _ngZone;
|
|
@@ -2278,12 +2284,6 @@ class MapPolygon {
|
|
|
2278
2284
|
*/
|
|
2279
2285
|
this.polygonRightclick = this._eventManager.getLazyEmitter('rightclick');
|
|
2280
2286
|
}
|
|
2281
|
-
set options(options) {
|
|
2282
|
-
this._options.next(options || {});
|
|
2283
|
-
}
|
|
2284
|
-
set paths(paths) {
|
|
2285
|
-
this._paths.next(paths);
|
|
2286
|
-
}
|
|
2287
2287
|
ngOnInit() {
|
|
2288
2288
|
if (this._map._isBrowser) {
|
|
2289
2289
|
this._combineOptions()
|
|
@@ -2380,9 +2380,9 @@ class MapPolygon {
|
|
|
2380
2380
|
}
|
|
2381
2381
|
}
|
|
2382
2382
|
}
|
|
2383
|
-
MapPolygon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
2384
|
-
MapPolygon.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
2385
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
2383
|
+
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 });
|
|
2384
|
+
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 });
|
|
2385
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapPolygon, decorators: [{
|
|
2386
2386
|
type: Directive,
|
|
2387
2387
|
args: [{
|
|
2388
2388
|
selector: 'map-polygon',
|
|
@@ -2423,6 +2423,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
2423
2423
|
* See developers.google.com/maps/documentation/javascript/reference/polygon#Polyline
|
|
2424
2424
|
*/
|
|
2425
2425
|
class MapPolyline {
|
|
2426
|
+
set options(options) {
|
|
2427
|
+
this._options.next(options || {});
|
|
2428
|
+
}
|
|
2429
|
+
set path(path) {
|
|
2430
|
+
this._path.next(path);
|
|
2431
|
+
}
|
|
2426
2432
|
constructor(_map, _ngZone) {
|
|
2427
2433
|
this._map = _map;
|
|
2428
2434
|
this._ngZone = _ngZone;
|
|
@@ -2475,12 +2481,6 @@ class MapPolyline {
|
|
|
2475
2481
|
*/
|
|
2476
2482
|
this.polylineRightclick = this._eventManager.getLazyEmitter('rightclick');
|
|
2477
2483
|
}
|
|
2478
|
-
set options(options) {
|
|
2479
|
-
this._options.next(options || {});
|
|
2480
|
-
}
|
|
2481
|
-
set path(path) {
|
|
2482
|
-
this._path.next(path);
|
|
2483
|
-
}
|
|
2484
2484
|
ngOnInit() {
|
|
2485
2485
|
if (this._map._isBrowser) {
|
|
2486
2486
|
this._combineOptions()
|
|
@@ -2568,9 +2568,9 @@ class MapPolyline {
|
|
|
2568
2568
|
}
|
|
2569
2569
|
}
|
|
2570
2570
|
}
|
|
2571
|
-
MapPolyline.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
2572
|
-
MapPolyline.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
2573
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
2571
|
+
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 });
|
|
2572
|
+
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 });
|
|
2573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapPolyline, decorators: [{
|
|
2574
2574
|
type: Directive,
|
|
2575
2575
|
args: [{
|
|
2576
2576
|
selector: 'map-polyline',
|
|
@@ -2611,6 +2611,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
2611
2611
|
* See developers.google.com/maps/documentation/javascript/reference/polygon#Rectangle
|
|
2612
2612
|
*/
|
|
2613
2613
|
class MapRectangle {
|
|
2614
|
+
set options(options) {
|
|
2615
|
+
this._options.next(options || {});
|
|
2616
|
+
}
|
|
2617
|
+
set bounds(bounds) {
|
|
2618
|
+
this._bounds.next(bounds);
|
|
2619
|
+
}
|
|
2614
2620
|
constructor(_map, _ngZone) {
|
|
2615
2621
|
this._map = _map;
|
|
2616
2622
|
this._ngZone = _ngZone;
|
|
@@ -2678,12 +2684,6 @@ class MapRectangle {
|
|
|
2678
2684
|
*/
|
|
2679
2685
|
this.rectangleRightclick = this._eventManager.getLazyEmitter('rightclick');
|
|
2680
2686
|
}
|
|
2681
|
-
set options(options) {
|
|
2682
|
-
this._options.next(options || {});
|
|
2683
|
-
}
|
|
2684
|
-
set bounds(bounds) {
|
|
2685
|
-
this._bounds.next(bounds);
|
|
2686
|
-
}
|
|
2687
2687
|
ngOnInit() {
|
|
2688
2688
|
if (this._map._isBrowser) {
|
|
2689
2689
|
this._combineOptions()
|
|
@@ -2776,9 +2776,9 @@ class MapRectangle {
|
|
|
2776
2776
|
}
|
|
2777
2777
|
}
|
|
2778
2778
|
}
|
|
2779
|
-
MapRectangle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
2780
|
-
MapRectangle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
2781
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
2779
|
+
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 });
|
|
2780
|
+
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 });
|
|
2781
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapRectangle, decorators: [{
|
|
2782
2782
|
type: Directive,
|
|
2783
2783
|
args: [{
|
|
2784
2784
|
selector: 'map-rectangle',
|
|
@@ -2821,18 +2821,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
2821
2821
|
* See developers.google.com/maps/documentation/javascript/reference/map#TrafficLayer
|
|
2822
2822
|
*/
|
|
2823
2823
|
class MapTrafficLayer {
|
|
2824
|
-
constructor(_map, _ngZone) {
|
|
2825
|
-
this._map = _map;
|
|
2826
|
-
this._ngZone = _ngZone;
|
|
2827
|
-
this._autoRefresh = new BehaviorSubject(true);
|
|
2828
|
-
this._destroyed = new Subject();
|
|
2829
|
-
}
|
|
2830
2824
|
/**
|
|
2831
2825
|
* Whether the traffic layer refreshes with updated information automatically.
|
|
2832
2826
|
*/
|
|
2833
2827
|
set autoRefresh(autoRefresh) {
|
|
2834
2828
|
this._autoRefresh.next(autoRefresh);
|
|
2835
2829
|
}
|
|
2830
|
+
constructor(_map, _ngZone) {
|
|
2831
|
+
this._map = _map;
|
|
2832
|
+
this._ngZone = _ngZone;
|
|
2833
|
+
this._autoRefresh = new BehaviorSubject(true);
|
|
2834
|
+
this._destroyed = new Subject();
|
|
2835
|
+
}
|
|
2836
2836
|
ngOnInit() {
|
|
2837
2837
|
if (this._map._isBrowser) {
|
|
2838
2838
|
this._combineOptions()
|
|
@@ -2880,9 +2880,9 @@ class MapTrafficLayer {
|
|
|
2880
2880
|
}
|
|
2881
2881
|
}
|
|
2882
2882
|
}
|
|
2883
|
-
MapTrafficLayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
2884
|
-
MapTrafficLayer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
2885
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
2883
|
+
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 });
|
|
2884
|
+
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 });
|
|
2885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapTrafficLayer, decorators: [{
|
|
2886
2886
|
type: Directive,
|
|
2887
2887
|
args: [{
|
|
2888
2888
|
selector: 'map-traffic-layer',
|
|
@@ -2918,9 +2918,9 @@ class MapTransitLayer extends MapBaseLayer {
|
|
|
2918
2918
|
}
|
|
2919
2919
|
}
|
|
2920
2920
|
}
|
|
2921
|
-
MapTransitLayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
2922
|
-
MapTransitLayer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
2923
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
2921
|
+
MapTransitLayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapTransitLayer, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2922
|
+
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 });
|
|
2923
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapTransitLayer, decorators: [{
|
|
2924
2924
|
type: Directive,
|
|
2925
2925
|
args: [{
|
|
2926
2926
|
selector: 'map-transit-layer',
|
|
@@ -2935,10 +2935,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
2935
2935
|
* See: https://developers.google.com/maps/documentation/javascript/reference/visualization
|
|
2936
2936
|
*/
|
|
2937
2937
|
class MapHeatmapLayer {
|
|
2938
|
-
constructor(_googleMap, _ngZone) {
|
|
2939
|
-
this._googleMap = _googleMap;
|
|
2940
|
-
this._ngZone = _ngZone;
|
|
2941
|
-
}
|
|
2942
2938
|
/**
|
|
2943
2939
|
* Data shown on the heatmap.
|
|
2944
2940
|
* See: https://developers.google.com/maps/documentation/javascript/reference/visualization
|
|
@@ -2953,6 +2949,10 @@ class MapHeatmapLayer {
|
|
|
2953
2949
|
set options(options) {
|
|
2954
2950
|
this._options = options;
|
|
2955
2951
|
}
|
|
2952
|
+
constructor(_googleMap, _ngZone) {
|
|
2953
|
+
this._googleMap = _googleMap;
|
|
2954
|
+
this._ngZone = _ngZone;
|
|
2955
|
+
}
|
|
2956
2956
|
ngOnInit() {
|
|
2957
2957
|
var _a, _b;
|
|
2958
2958
|
if (this._googleMap._isBrowser) {
|
|
@@ -3029,9 +3029,9 @@ class MapHeatmapLayer {
|
|
|
3029
3029
|
}
|
|
3030
3030
|
}
|
|
3031
3031
|
}
|
|
3032
|
-
MapHeatmapLayer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
3033
|
-
MapHeatmapLayer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-
|
|
3034
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
3032
|
+
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 });
|
|
3033
|
+
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 });
|
|
3034
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapHeatmapLayer, decorators: [{
|
|
3035
3035
|
type: Directive,
|
|
3036
3036
|
args: [{
|
|
3037
3037
|
selector: 'map-heatmap-layer',
|
|
@@ -3074,8 +3074,8 @@ const COMPONENTS = [
|
|
|
3074
3074
|
];
|
|
3075
3075
|
class GoogleMapsModule {
|
|
3076
3076
|
}
|
|
3077
|
-
GoogleMapsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
3078
|
-
GoogleMapsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-
|
|
3077
|
+
GoogleMapsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: GoogleMapsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3078
|
+
GoogleMapsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-rc.0", ngImport: i0, type: GoogleMapsModule, declarations: [GoogleMap,
|
|
3079
3079
|
MapBaseLayer,
|
|
3080
3080
|
MapBicyclingLayer,
|
|
3081
3081
|
MapCircle,
|
|
@@ -3106,8 +3106,8 @@ GoogleMapsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versio
|
|
|
3106
3106
|
MapTrafficLayer,
|
|
3107
3107
|
MapTransitLayer,
|
|
3108
3108
|
MapHeatmapLayer] });
|
|
3109
|
-
GoogleMapsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-
|
|
3110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
3109
|
+
GoogleMapsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: GoogleMapsModule });
|
|
3110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: GoogleMapsModule, decorators: [{
|
|
3111
3111
|
type: NgModule,
|
|
3112
3112
|
args: [{
|
|
3113
3113
|
declarations: COMPONENTS,
|
|
@@ -3147,9 +3147,9 @@ class MapDirectionsService {
|
|
|
3147
3147
|
});
|
|
3148
3148
|
}
|
|
3149
3149
|
}
|
|
3150
|
-
MapDirectionsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
3151
|
-
MapDirectionsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
3152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
3150
|
+
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 });
|
|
3151
|
+
MapDirectionsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapDirectionsService, providedIn: 'root' });
|
|
3152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapDirectionsService, decorators: [{
|
|
3153
3153
|
type: Injectable,
|
|
3154
3154
|
args: [{ providedIn: 'root' }]
|
|
3155
3155
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|
|
@@ -3182,9 +3182,9 @@ class MapGeocoder {
|
|
|
3182
3182
|
});
|
|
3183
3183
|
}
|
|
3184
3184
|
}
|
|
3185
|
-
MapGeocoder.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
3186
|
-
MapGeocoder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
3187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
3185
|
+
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 });
|
|
3186
|
+
MapGeocoder.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapGeocoder, providedIn: 'root' });
|
|
3187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: MapGeocoder, decorators: [{
|
|
3188
3188
|
type: Injectable,
|
|
3189
3189
|
args: [{ providedIn: 'root' }]
|
|
3190
3190
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
|