@angular/google-maps
Advanced tools
Comparing version 10.0.2 to 10.1.0
@@ -23,3 +23,3 @@ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@angular/google-maps",["exports","@angular/core","@angular/common","rxjs","rxjs/operators"],e):e(((t=t||self).ng=t.ng||{},t.ng.googleMaps={}),t.ng.core,t.ng.common,t.rxjs,t.rxjs.operators)}(this,(function(t,e,i,n,o){"use strict"; | ||
*/ | ||
var s=function(){function t(t){this._ngZone=t,this._pending=[],this._listeners=[]}return t.prototype._clearListeners=function(){var t,e;try{for(var i=function n(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(this._listeners),o=i.next();!o.done;o=i.next())o.value.remove()}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}this._listeners=[]},t.prototype.getLazyEmitter=function(t){var e=this,i=new n.Observable((function(n){if(e._target){var o=e._target.addListener(t,(function(t){e._ngZone.run((function(){return n.next(t)}))}));return e._listeners.push(o),function(){return o.remove()}}e._pending.push({observable:i,observer:n})}));return i},t.prototype.setTarget=function(t){t!==this._target&&(this._target&&(this._clearListeners(),this._pending=[]),this._target=t,this._pending.forEach((function(t){return t.observable.subscribe(t.observer)})),this._pending=[])},t.prototype.destroy=function(){this._clearListeners(),this._pending=[],this._target=void 0},t}(),p={center:{lat:37.421995,lng:-122.084092},zoom:17},h="500px",g="500px",u=function(){function t(t,e,o){if(this._elementRef=t,this._ngZone=e,this._eventManager=new s(this._ngZone),this._options=new n.BehaviorSubject(p),this._center=new n.BehaviorSubject(void 0),this._zoom=new n.BehaviorSubject(void 0),this._destroy=new n.Subject,this.height=h,this.width=g,this.boundsChanged=this._eventManager.getLazyEmitter("bounds_changed"),this.centerChanged=this._eventManager.getLazyEmitter("center_changed"),this.mapClick=this._eventManager.getLazyEmitter("click"),this.mapDblclick=this._eventManager.getLazyEmitter("dblclick"),this.mapDrag=this._eventManager.getLazyEmitter("drag"),this.mapDragend=this._eventManager.getLazyEmitter("dragend"),this.mapDragstart=this._eventManager.getLazyEmitter("dragstart"),this.headingChanged=this._eventManager.getLazyEmitter("heading_changed"),this.idle=this._eventManager.getLazyEmitter("idle"),this.maptypeidChanged=this._eventManager.getLazyEmitter("maptypeid_changed"),this.mapMousemove=this._eventManager.getLazyEmitter("mousemove"),this.mapMouseout=this._eventManager.getLazyEmitter("mouseout"),this.mapMouseover=this._eventManager.getLazyEmitter("mouseover"),this.projectionChanged=this._eventManager.getLazyEmitter("projection_changed"),this.mapRightclick=this._eventManager.getLazyEmitter("rightclick"),this.tilesloaded=this._eventManager.getLazyEmitter("tilesloaded"),this.tiltChanged=this._eventManager.getLazyEmitter("tilt_changed"),this.zoomChanged=this._eventManager.getLazyEmitter("zoom_changed"),this._isBrowser=o?i.isPlatformBrowser(o):"object"==typeof window&&!!window,this._isBrowser&&!window.google)throw Error("Namespace google not found, cannot construct embedded google map. Please install the Google Maps JavaScript API: https://developers.google.com/maps/documentation/javascript/tutorial#Loading_the_Maps_API")}return Object.defineProperty(t.prototype,"center",{set:function(t){this._center.next(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"zoom",{set:function(t){this._zoom.next(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"options",{set:function(t){this._options.next(t||p)},enumerable:!1,configurable:!0}),t.prototype.ngOnChanges=function(){this._setSize(),this.googleMap&&this.mapTypeId&&this.googleMap.setMapTypeId(this.mapTypeId)},t.prototype.ngOnInit=function(){var t=this;this._isBrowser&&(this._mapEl=this._elementRef.nativeElement.querySelector(".map-container"),this._setSize(),this._googleMapChanges=this._initializeMap(this._combineOptions()),this._googleMapChanges.subscribe((function(e){t.googleMap=e,t._eventManager.setTarget(t.googleMap)})),this._watchForOptionsChanges(),this._watchForCenterChanges(),this._watchForZoomChanges())},t.prototype.ngOnDestroy=function(){this._eventManager.destroy(),this._destroy.next(),this._destroy.complete()},t.prototype.fitBounds=function(t,e){this._assertInitialized(),this.googleMap.fitBounds(t,e)},t.prototype.panBy=function(t,e){this._assertInitialized(),this.googleMap.panBy(t,e)},t.prototype.panTo=function(t){this._assertInitialized(),this.googleMap.panTo(t)},t.prototype.panToBounds=function(t,e){this._assertInitialized(),this.googleMap.panToBounds(t,e)},t.prototype.getBounds=function(){return this._assertInitialized(),this.googleMap.getBounds()||null},t.prototype.getCenter=function(){return this._assertInitialized(),this.googleMap.getCenter()},t.prototype.getClickableIcons=function(){return this._assertInitialized(),this.googleMap.getClickableIcons()},t.prototype.getHeading=function(){return this._assertInitialized(),this.googleMap.getHeading()},t.prototype.getMapTypeId=function(){return this._assertInitialized(),this.googleMap.getMapTypeId()},t.prototype.getProjection=function(){return this._assertInitialized(),this.googleMap.getProjection()},t.prototype.getStreetView=function(){return this._assertInitialized(),this.googleMap.getStreetView()},t.prototype.getTilt=function(){return this._assertInitialized(),this.googleMap.getTilt()},t.prototype.getZoom=function(){return this._assertInitialized(),this.googleMap.getZoom()},Object.defineProperty(t.prototype,"controls",{get:function(){return this._assertInitialized(),this.googleMap.controls},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){return this._assertInitialized(),this.googleMap.data},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mapTypes",{get:function(){return this._assertInitialized(),this.googleMap.mapTypes},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"overlayMapTypes",{get:function(){return this._assertInitialized(),this.googleMap.overlayMapTypes},enumerable:!1,configurable:!0}),t.prototype._setSize=function(){if(this._mapEl){var t=this._mapEl.style;t.height=l(this.height)||h,t.width=l(this.width)||g}},t.prototype._combineOptions=function(){var t=this;return n.combineLatest([this._options,this._center,this._zoom]).pipe(o.map((function(e){var i=a(e,3),n=i[0],o=i[1],s=i[2];return r(r({},n),{center:o||n.center||p.center,zoom:void 0!==s?s:n.zoom,mapTypeId:t.mapTypeId})})))},t.prototype._initializeMap=function(t){var e=this;return t.pipe(o.take(1),o.map((function(t){return e._ngZone.runOutsideAngular((function(){return new google.maps.Map(e._mapEl,t)}))})),o.shareReplay(1))},t.prototype._watchForOptionsChanges=function(){n.combineLatest([this._googleMapChanges,this._options]).pipe(o.takeUntil(this._destroy)).subscribe((function(t){var e=a(t,2);e[0].setOptions(e[1])}))},t.prototype._watchForCenterChanges=function(){n.combineLatest([this._googleMapChanges,this._center]).pipe(o.takeUntil(this._destroy)).subscribe((function(t){var e=a(t,2),i=e[1];i&&e[0].setCenter(i)}))},t.prototype._watchForZoomChanges=function(){n.combineLatest([this._googleMapChanges,this._zoom]).pipe(o.takeUntil(this._destroy)).subscribe((function(t){var e=a(t,2),i=e[1];void 0!==i&&e[0].setZoom(i)}))},t.prototype._assertInitialized=function(){if(!this.googleMap)throw Error("Cannot access Google Map information before the API has been initialized. Please wait for the API to load before trying to interact with it.")},t.decorators=[{type:e.Component,args:[{selector:"google-map",exportAs:"googleMap",changeDetection:e.ChangeDetectionStrategy.OnPush,template:'<div class="map-container"></div><ng-content></ng-content>',encapsulation:e.ViewEncapsulation.None}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:e.NgZone},{type:Object,decorators:[{type:e.Optional},{type:e.Inject,args:[e.PLATFORM_ID]}]}]},t.propDecorators={height:[{type:e.Input}],width:[{type:e.Input}],mapTypeId:[{type:e.Input}],center:[{type:e.Input}],zoom:[{type:e.Input}],options:[{type:e.Input}],boundsChanged:[{type:e.Output}],centerChanged:[{type:e.Output}],mapClick:[{type:e.Output}],mapDblclick:[{type:e.Output}],mapDrag:[{type:e.Output}],mapDragend:[{type:e.Output}],mapDragstart:[{type:e.Output}],headingChanged:[{type:e.Output}],idle:[{type:e.Output}],maptypeidChanged:[{type:e.Output}],mapMousemove:[{type:e.Output}],mapMouseout:[{type:e.Output}],mapMouseover:[{type:e.Output}],projectionChanged:[{type:e.Output}],mapRightclick:[{type:e.Output}],tilesloaded:[{type:e.Output}],tiltChanged:[{type:e.Output}],zoomChanged:[{type:e.Output}]},t}(),c=/([A-Za-z%]+)$/; | ||
var s=function(){function t(t){this._ngZone=t,this._pending=[],this._listeners=[]}return t.prototype._clearListeners=function(){var t,e;try{for(var i=function n(t){var e="function"==typeof Symbol&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(this._listeners),o=i.next();!o.done;o=i.next())o.value.remove()}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}this._listeners=[]},t.prototype.getLazyEmitter=function(t){var e=this,i=new n.Observable((function(n){if(e._target){var o=e._target.addListener(t,(function(t){e._ngZone.run((function(){return n.next(t)}))}));return e._listeners.push(o),function(){return o.remove()}}e._pending.push({observable:i,observer:n})}));return i},t.prototype.setTarget=function(t){t!==this._target&&(this._target&&(this._clearListeners(),this._pending=[]),this._target=t,this._pending.forEach((function(t){return t.observable.subscribe(t.observer)})),this._pending=[])},t.prototype.destroy=function(){this._clearListeners(),this._pending=[],this._target=void 0},t}(),p={center:{lat:37.421995,lng:-122.084092},zoom:17},h=function(){function t(t,e,o){if(this._elementRef=t,this._ngZone=e,this._eventManager=new s(this._ngZone),this._options=new n.BehaviorSubject(p),this._center=new n.BehaviorSubject(void 0),this._zoom=new n.BehaviorSubject(void 0),this._destroy=new n.Subject,this.height="500px",this.width="500px",this.boundsChanged=this._eventManager.getLazyEmitter("bounds_changed"),this.centerChanged=this._eventManager.getLazyEmitter("center_changed"),this.mapClick=this._eventManager.getLazyEmitter("click"),this.mapDblclick=this._eventManager.getLazyEmitter("dblclick"),this.mapDrag=this._eventManager.getLazyEmitter("drag"),this.mapDragend=this._eventManager.getLazyEmitter("dragend"),this.mapDragstart=this._eventManager.getLazyEmitter("dragstart"),this.headingChanged=this._eventManager.getLazyEmitter("heading_changed"),this.idle=this._eventManager.getLazyEmitter("idle"),this.maptypeidChanged=this._eventManager.getLazyEmitter("maptypeid_changed"),this.mapMousemove=this._eventManager.getLazyEmitter("mousemove"),this.mapMouseout=this._eventManager.getLazyEmitter("mouseout"),this.mapMouseover=this._eventManager.getLazyEmitter("mouseover"),this.projectionChanged=this._eventManager.getLazyEmitter("projection_changed"),this.mapRightclick=this._eventManager.getLazyEmitter("rightclick"),this.tilesloaded=this._eventManager.getLazyEmitter("tilesloaded"),this.tiltChanged=this._eventManager.getLazyEmitter("tilt_changed"),this.zoomChanged=this._eventManager.getLazyEmitter("zoom_changed"),this._isBrowser=o?i.isPlatformBrowser(o):"object"==typeof window&&!!window,this._isBrowser&&!window.google)throw Error("Namespace google not found, cannot construct embedded google map. Please install the Google Maps JavaScript API: https://developers.google.com/maps/documentation/javascript/tutorial#Loading_the_Maps_API")}return Object.defineProperty(t.prototype,"center",{set:function(t){this._center.next(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"zoom",{set:function(t){this._zoom.next(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"options",{set:function(t){this._options.next(t||p)},enumerable:!1,configurable:!0}),t.prototype.ngOnChanges=function(){this._setSize(),this.googleMap&&this.mapTypeId&&this.googleMap.setMapTypeId(this.mapTypeId)},t.prototype.ngOnInit=function(){var t=this;this._isBrowser&&(this._mapEl=this._elementRef.nativeElement.querySelector(".map-container"),this._setSize(),this._googleMapChanges=this._initializeMap(this._combineOptions()),this._googleMapChanges.subscribe((function(e){t.googleMap=e,t._eventManager.setTarget(t.googleMap)})),this._watchForOptionsChanges(),this._watchForCenterChanges(),this._watchForZoomChanges())},t.prototype.ngOnDestroy=function(){this._eventManager.destroy(),this._destroy.next(),this._destroy.complete()},t.prototype.fitBounds=function(t,e){this._assertInitialized(),this.googleMap.fitBounds(t,e)},t.prototype.panBy=function(t,e){this._assertInitialized(),this.googleMap.panBy(t,e)},t.prototype.panTo=function(t){this._assertInitialized(),this.googleMap.panTo(t)},t.prototype.panToBounds=function(t,e){this._assertInitialized(),this.googleMap.panToBounds(t,e)},t.prototype.getBounds=function(){return this._assertInitialized(),this.googleMap.getBounds()||null},t.prototype.getCenter=function(){return this._assertInitialized(),this.googleMap.getCenter()},t.prototype.getClickableIcons=function(){return this._assertInitialized(),this.googleMap.getClickableIcons()},t.prototype.getHeading=function(){return this._assertInitialized(),this.googleMap.getHeading()},t.prototype.getMapTypeId=function(){return this._assertInitialized(),this.googleMap.getMapTypeId()},t.prototype.getProjection=function(){return this._assertInitialized(),this.googleMap.getProjection()},t.prototype.getStreetView=function(){return this._assertInitialized(),this.googleMap.getStreetView()},t.prototype.getTilt=function(){return this._assertInitialized(),this.googleMap.getTilt()},t.prototype.getZoom=function(){return this._assertInitialized(),this.googleMap.getZoom()},Object.defineProperty(t.prototype,"controls",{get:function(){return this._assertInitialized(),this.googleMap.controls},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){return this._assertInitialized(),this.googleMap.data},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mapTypes",{get:function(){return this._assertInitialized(),this.googleMap.mapTypes},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"overlayMapTypes",{get:function(){return this._assertInitialized(),this.googleMap.overlayMapTypes},enumerable:!1,configurable:!0}),t.prototype._setSize=function(){if(this._mapEl){var t=this._mapEl.style;t.height=null===this.height?"":u(this.height)||"500px",t.width=null===this.width?"":u(this.width)||"500px"}},t.prototype._combineOptions=function(){var t=this;return n.combineLatest([this._options,this._center,this._zoom]).pipe(o.map((function(e){var i=a(e,3),n=i[0],o=i[1],s=i[2];return r(r({},n),{center:o||n.center||p.center,zoom:void 0!==s?s:n.zoom,mapTypeId:t.mapTypeId})})))},t.prototype._initializeMap=function(t){var e=this;return t.pipe(o.take(1),o.map((function(t){return e._ngZone.runOutsideAngular((function(){return new google.maps.Map(e._mapEl,t)}))})),o.shareReplay(1))},t.prototype._watchForOptionsChanges=function(){n.combineLatest([this._googleMapChanges,this._options]).pipe(o.takeUntil(this._destroy)).subscribe((function(t){var e=a(t,2);e[0].setOptions(e[1])}))},t.prototype._watchForCenterChanges=function(){n.combineLatest([this._googleMapChanges,this._center]).pipe(o.takeUntil(this._destroy)).subscribe((function(t){var e=a(t,2),i=e[1];i&&e[0].setCenter(i)}))},t.prototype._watchForZoomChanges=function(){n.combineLatest([this._googleMapChanges,this._zoom]).pipe(o.takeUntil(this._destroy)).subscribe((function(t){var e=a(t,2),i=e[1];void 0!==i&&e[0].setZoom(i)}))},t.prototype._assertInitialized=function(){if(!this.googleMap)throw Error("Cannot access Google Map information before the API has been initialized. Please wait for the API to load before trying to interact with it.")},t.decorators=[{type:e.Component,args:[{selector:"google-map",exportAs:"googleMap",changeDetection:e.ChangeDetectionStrategy.OnPush,template:'<div class="map-container"></div><ng-content></ng-content>',encapsulation:e.ViewEncapsulation.None}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:e.NgZone},{type:Object,decorators:[{type:e.Optional},{type:e.Inject,args:[e.PLATFORM_ID]}]}]},t.propDecorators={height:[{type:e.Input}],width:[{type:e.Input}],mapTypeId:[{type:e.Input}],center:[{type:e.Input}],zoom:[{type:e.Input}],options:[{type:e.Input}],boundsChanged:[{type:e.Output}],centerChanged:[{type:e.Output}],mapClick:[{type:e.Output}],mapDblclick:[{type:e.Output}],mapDrag:[{type:e.Output}],mapDragend:[{type:e.Output}],mapDragstart:[{type:e.Output}],headingChanged:[{type:e.Output}],idle:[{type:e.Output}],maptypeidChanged:[{type:e.Output}],mapMousemove:[{type:e.Output}],mapMouseout:[{type:e.Output}],mapMouseover:[{type:e.Output}],projectionChanged:[{type:e.Output}],mapRightclick:[{type:e.Output}],tilesloaded:[{type:e.Output}],tiltChanged:[{type:e.Output}],zoomChanged:[{type:e.Output}]},t}(),g=/([A-Za-z%]+)$/; | ||
/** | ||
@@ -31,3 +31,3 @@ * @license | ||
* found in the LICENSE file at https://angular.io/license | ||
*/function l(t){return null==t?"":c.test(t)?t:t+"px"} | ||
*/function u(t){return null==t?"":g.test(t)?t:t+"px"} | ||
/** | ||
@@ -39,3 +39,3 @@ * @license | ||
* found in the LICENSE file at https://angular.io/license | ||
*/var y=function(){function t(t,e){this._map=t,this._ngZone=e,this._eventManager=new s(this._ngZone),this._options=new n.BehaviorSubject({}),this._center=new n.BehaviorSubject(void 0),this._radius=new n.BehaviorSubject(void 0),this._destroyed=new n.Subject,this.centerChanged=this._eventManager.getLazyEmitter("center_changed"),this.circleClick=this._eventManager.getLazyEmitter("click"),this.circleDblclick=this._eventManager.getLazyEmitter("dblclick"),this.circleDrag=this._eventManager.getLazyEmitter("drag"),this.circleDragend=this._eventManager.getLazyEmitter("dragend"),this.circleDragstart=this._eventManager.getLazyEmitter("dragstart"),this.circleMousedown=this._eventManager.getLazyEmitter("mousedown"),this.circleMousemove=this._eventManager.getLazyEmitter("mousemove"),this.circleMouseout=this._eventManager.getLazyEmitter("mouseout"),this.circleMouseover=this._eventManager.getLazyEmitter("mouseover"),this.circleMouseup=this._eventManager.getLazyEmitter("mouseup"),this.radiusChanged=this._eventManager.getLazyEmitter("radius_changed"),this.circleRightclick=this._eventManager.getLazyEmitter("rightclick")}return Object.defineProperty(t.prototype,"options",{set:function(t){this._options.next(t||{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"center",{set:function(t){this._center.next(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"radius",{set:function(t){this._radius.next(t)},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._map._isBrowser&&(this._combineOptions().pipe(o.take(1)).subscribe((function(e){t._ngZone.runOutsideAngular((function(){t.circle=new google.maps.Circle(e)})),t._assertInitialized(),t.circle.setMap(t._map.googleMap),t._eventManager.setTarget(t.circle)})),this._watchForOptionsChanges(),this._watchForCenterChanges(),this._watchForRadiusChanges())},t.prototype.ngOnDestroy=function(){this._eventManager.destroy(),this._destroyed.next(),this._destroyed.complete(),this.circle&&this.circle.setMap(null)},t.prototype.getBounds=function(){return this._assertInitialized(),this.circle.getBounds()},t.prototype.getCenter=function(){return this._assertInitialized(),this.circle.getCenter()},t.prototype.getDraggable=function(){return this._assertInitialized(),this.circle.getDraggable()},t.prototype.getEditable=function(){return this._assertInitialized(),this.circle.getEditable()},t.prototype.getRadius=function(){return this._assertInitialized(),this.circle.getRadius()},t.prototype.getVisible=function(){return this._assertInitialized(),this.circle.getVisible()},t.prototype._combineOptions=function(){return n.combineLatest([this._options,this._center,this._radius]).pipe(o.map((function(t){var e=a(t,3),i=e[0],n=e[1],o=e[2];return r(r({},i),{center:n||i.center,radius:void 0!==o?o:i.radius})})))},t.prototype._watchForOptionsChanges=function(){var t=this;this._options.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){t._assertInitialized(),t.circle.setOptions(e)}))},t.prototype._watchForCenterChanges=function(){var t=this;this._center.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){e&&(t._assertInitialized(),t.circle.setCenter(e))}))},t.prototype._watchForRadiusChanges=function(){var t=this;this._radius.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){void 0!==e&&(t._assertInitialized(),t.circle.setRadius(e))}))},t.prototype._assertInitialized=function(){if(!this._map.googleMap)throw Error("Cannot access Google Map information before the API has been initialized. Please wait for the API to load before trying to interact with it.");if(!this.circle)throw Error("Cannot interact with a Google Map Circle before it has been initialized. Please wait for the Circle to load before trying to interact with it.")},t.decorators=[{type:e.Directive,args:[{selector:"map-circle",exportAs:"mapCircle"}]}],t.ctorParameters=function(){return[{type:u},{type:e.NgZone}]},t.propDecorators={options:[{type:e.Input}],center:[{type:e.Input}],radius:[{type:e.Input}],centerChanged:[{type:e.Output}],circleClick:[{type:e.Output}],circleDblclick:[{type:e.Output}],circleDrag:[{type:e.Output}],circleDragend:[{type:e.Output}],circleDragstart:[{type:e.Output}],circleMousedown:[{type:e.Output}],circleMousemove:[{type:e.Output}],circleMouseout:[{type:e.Output}],circleMouseover:[{type:e.Output}],circleMouseup:[{type:e.Output}],radiusChanged:[{type:e.Output}],circleRightclick:[{type:e.Output}]},t}(),d=function(){function t(t,e){this._map=t,this._ngZone=e,this._eventManager=new s(this._ngZone),this._opacity=new n.BehaviorSubject(1),this._url=new n.BehaviorSubject(""),this._destroyed=new n.Subject,this.clickable=!1,this.mapClick=this._eventManager.getLazyEmitter("click"),this.mapDblclick=this._eventManager.getLazyEmitter("dblclick")}return Object.defineProperty(t.prototype,"url",{set:function(t){this._url.next(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"opacity",{set:function(t){this._opacity.next(t)},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;if(!this.bounds)throw Error("Image bounds are required");this._map._isBrowser&&(this._combineOptions().pipe(o.take(1)).subscribe((function(e){t._ngZone.runOutsideAngular((function(){t.groundOverlay=new google.maps.GroundOverlay(t._url.getValue(),t.bounds,e)})),t._assertInitialized(),t.groundOverlay.setMap(t._map.googleMap),t._eventManager.setTarget(t.groundOverlay)})),this._watchForOpacityChanges(),this._watchForUrlChanges())},t.prototype.ngOnDestroy=function(){this._eventManager.destroy(),this._destroyed.next(),this._destroyed.complete(),this.groundOverlay&&this.groundOverlay.setMap(null)},t.prototype.getBounds=function(){return this._assertInitialized(),this.groundOverlay.getBounds()},t.prototype.getOpacity=function(){return this._assertInitialized(),this.groundOverlay.getOpacity()},t.prototype.getUrl=function(){return this._assertInitialized(),this.groundOverlay.getUrl()},t.prototype._combineOptions=function(){var t=this;return this._opacity.pipe(o.map((function(e){return{clickable:t.clickable,opacity:e}})))},t.prototype._watchForOpacityChanges=function(){var t=this;this._opacity.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){e&&(t._assertInitialized(),t.groundOverlay.setOpacity(e))}))},t.prototype._watchForUrlChanges=function(){var t=this;this._url.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){t._assertInitialized();var i=t.groundOverlay;i.set("url",e),i.setMap(null),i.setMap(t._map.googleMap)}))},t.prototype._assertInitialized=function(){if(!this._map.googleMap)throw Error("Cannot access Google Map information before the API has been initialized. Please wait for the API to load before trying to interact with it.");if(!this.groundOverlay)throw Error("Cannot interact with a Google Map GroundOverlay before it has been initialized. Please wait for the GroundOverlay to load before trying to interact with it.")},t.decorators=[{type:e.Directive,args:[{selector:"map-ground-overlay",exportAs:"mapGroundOverlay"}]}],t.ctorParameters=function(){return[{type:u},{type:e.NgZone}]},t.propDecorators={url:[{type:e.Input}],bounds:[{type:e.Input}],clickable:[{type:e.Input}],opacity:[{type:e.Input}],mapClick:[{type:e.Output}],mapDblclick:[{type:e.Output}]},t}(),_=function(){function t(t,e,i){this._googleMap=t,this._elementRef=e,this._ngZone=i,this._eventManager=new s(this._ngZone),this._options=new n.BehaviorSubject({}),this._position=new n.BehaviorSubject(void 0),this._destroy=new n.Subject,this.closeclick=this._eventManager.getLazyEmitter("closeclick"),this.contentChanged=this._eventManager.getLazyEmitter("content_changed"),this.domready=this._eventManager.getLazyEmitter("domready"),this.positionChanged=this._eventManager.getLazyEmitter("position_changed"),this.zindexChanged=this._eventManager.getLazyEmitter("zindex_changed")}return Object.defineProperty(t.prototype,"options",{set:function(t){this._options.next(t||{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"position",{set:function(t){this._position.next(t)},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._googleMap._isBrowser&&(this._combineOptions().pipe(o.take(1)).subscribe((function(e){t._ngZone.runOutsideAngular((function(){t.infoWindow=new google.maps.InfoWindow(e)})),t._eventManager.setTarget(t.infoWindow)})),this._watchForOptionsChanges(),this._watchForPositionChanges())},t.prototype.ngOnDestroy=function(){this._eventManager.destroy(),this._destroy.next(),this._destroy.complete(),this.infoWindow&&this.close()},t.prototype.close=function(){this._assertInitialized(),this.infoWindow.close()},t.prototype.getContent=function(){return this._assertInitialized(),this.infoWindow.getContent()},t.prototype.getPosition=function(){return this._assertInitialized(),this.infoWindow.getPosition()},t.prototype.getZIndex=function(){return this._assertInitialized(),this.infoWindow.getZIndex()},t.prototype.open=function(t){this._assertInitialized(),this._elementRef.nativeElement.style.display="",this.infoWindow.open(this._googleMap.googleMap,t?t.getAnchor():void 0)},t.prototype._combineOptions=function(){var t=this;return n.combineLatest([this._options,this._position]).pipe(o.map((function(e){var i=a(e,2),n=i[0],o=i[1];return r(r({},n),{position:o||n.position,content:t._elementRef.nativeElement})})))},t.prototype._watchForOptionsChanges=function(){var t=this;this._options.pipe(o.takeUntil(this._destroy)).subscribe((function(e){t._assertInitialized(),t.infoWindow.setOptions(e)}))},t.prototype._watchForPositionChanges=function(){var t=this;this._position.pipe(o.takeUntil(this._destroy)).subscribe((function(e){e&&(t._assertInitialized(),t.infoWindow.setPosition(e))}))},t.prototype._assertInitialized=function(){if(!this._googleMap.googleMap)throw Error("Cannot access Google Map information before the API has been initialized. Please wait for the API to load before trying to interact with it.");if(!this.infoWindow)throw Error("Cannot interact with a Google Map Info Window before it has been initialized. Please wait for the Info Window to load before trying to interact with it.")},t.decorators=[{type:e.Directive,args:[{selector:"map-info-window",exportAs:"mapInfoWindow",host:{style:"display: none"}}]}],t.ctorParameters=function(){return[{type:u},{type:e.ElementRef},{type:e.NgZone}]},t.propDecorators={options:[{type:e.Input}],position:[{type:e.Input}],closeclick:[{type:e.Output}],contentChanged:[{type:e.Output}],domready:[{type:e.Output}],positionChanged:[{type:e.Output}],zindexChanged:[{type:e.Output}]},t}(),m={position:{lat:37.421995,lng:-122.084092}},f=function(){function t(t,e){this._googleMap=t,this._ngZone=e,this._eventManager=new s(this._ngZone),this._options=new n.BehaviorSubject(m),this._title=new n.BehaviorSubject(void 0),this._position=new n.BehaviorSubject(void 0),this._label=new n.BehaviorSubject(void 0),this._clickable=new n.BehaviorSubject(void 0),this._destroy=new n.Subject,this.animationChanged=this._eventManager.getLazyEmitter("animation_changed"),this.mapClick=this._eventManager.getLazyEmitter("click"),this.clickableChanged=this._eventManager.getLazyEmitter("clickable_changed"),this.cursorChanged=this._eventManager.getLazyEmitter("cursor_changed"),this.mapDblclick=this._eventManager.getLazyEmitter("dblclick"),this.mapDrag=this._eventManager.getLazyEmitter("drag"),this.mapDragend=this._eventManager.getLazyEmitter("dragend"),this.draggableChanged=this._eventManager.getLazyEmitter("draggable_changed"),this.mapDragstart=this._eventManager.getLazyEmitter("dragstart"),this.flatChanged=this._eventManager.getLazyEmitter("flat_changed"),this.iconChanged=this._eventManager.getLazyEmitter("icon_changed"),this.mapMousedown=this._eventManager.getLazyEmitter("mousedown"),this.mapMouseout=this._eventManager.getLazyEmitter("mouseout"),this.mapMouseover=this._eventManager.getLazyEmitter("mouseover"),this.mapMouseup=this._eventManager.getLazyEmitter("mouseup"),this.positionChanged=this._eventManager.getLazyEmitter("position_changed"),this.mapRightclick=this._eventManager.getLazyEmitter("rightclick"),this.shapeChanged=this._eventManager.getLazyEmitter("shape_changed"),this.titleChanged=this._eventManager.getLazyEmitter("title_changed"),this.visibleChanged=this._eventManager.getLazyEmitter("visible_changed"),this.zindexChanged=this._eventManager.getLazyEmitter("zindex_changed")}return Object.defineProperty(t.prototype,"options",{set:function(t){this._options.next(t||m)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{set:function(t){this._title.next(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"position",{set:function(t){this._position.next(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"label",{set:function(t){this._label.next(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clickable",{set:function(t){this._clickable.next(t)},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._googleMap._isBrowser&&(this._combineOptions().pipe(o.take(1)).subscribe((function(e){t._ngZone.runOutsideAngular((function(){return t.marker=new google.maps.Marker(e)})),t._assertInitialized(),t.marker.setMap(t._googleMap.googleMap),t._eventManager.setTarget(t.marker)})),this._watchForOptionsChanges(),this._watchForTitleChanges(),this._watchForPositionChanges(),this._watchForLabelChanges(),this._watchForClickableChanges())},t.prototype.ngOnDestroy=function(){this._destroy.next(),this._destroy.complete(),this._eventManager.destroy(),this.marker&&this.marker.setMap(null)},t.prototype.getAnimation=function(){return this._assertInitialized(),this.marker.getAnimation()||null},t.prototype.getClickable=function(){return this._assertInitialized(),this.marker.getClickable()},t.prototype.getCursor=function(){return this._assertInitialized(),this.marker.getCursor()||null},t.prototype.getDraggable=function(){return this._assertInitialized(),!!this.marker.getDraggable()},t.prototype.getIcon=function(){return this._assertInitialized(),this.marker.getIcon()||null},t.prototype.getLabel=function(){return this._assertInitialized(),this.marker.getLabel()||null},t.prototype.getOpacity=function(){return this._assertInitialized(),this.marker.getOpacity()||null},t.prototype.getPosition=function(){return this._assertInitialized(),this.marker.getPosition()||null},t.prototype.getShape=function(){return this._assertInitialized(),this.marker.getShape()||null},t.prototype.getTitle=function(){return this._assertInitialized(),this.marker.getTitle()||null},t.prototype.getVisible=function(){return this._assertInitialized(),this.marker.getVisible()},t.prototype.getZIndex=function(){return this._assertInitialized(),this.marker.getZIndex()||null},t.prototype.getAnchor=function(){return this._assertInitialized(),this.marker},t.prototype._combineOptions=function(){var t=this;return n.combineLatest([this._options,this._title,this._position,this._label,this._clickable]).pipe(o.map((function(e){var i=a(e,5),n=i[0],o=i[1],s=i[2],p=i[3],h=i[4];return r(r({},n),{title:o||n.title,position:s||n.position,label:p||n.label,clickable:void 0!==h?h:n.clickable,map:t._googleMap.googleMap})})))},t.prototype._watchForOptionsChanges=function(){var t=this;this._options.pipe(o.takeUntil(this._destroy)).subscribe((function(e){t.marker&&(t._assertInitialized(),t.marker.setOptions(e))}))},t.prototype._watchForTitleChanges=function(){var t=this;this._title.pipe(o.takeUntil(this._destroy)).subscribe((function(e){t.marker&&void 0!==e&&(t._assertInitialized(),t.marker.setTitle(e))}))},t.prototype._watchForPositionChanges=function(){var t=this;this._position.pipe(o.takeUntil(this._destroy)).subscribe((function(e){t.marker&&e&&(t._assertInitialized(),t.marker.setPosition(e))}))},t.prototype._watchForLabelChanges=function(){var t=this;this._label.pipe(o.takeUntil(this._destroy)).subscribe((function(e){t.marker&&void 0!==e&&(t._assertInitialized(),t.marker.setLabel(e))}))},t.prototype._watchForClickableChanges=function(){var t=this;this._clickable.pipe(o.takeUntil(this._destroy)).subscribe((function(e){t.marker&&void 0!==e&&(t._assertInitialized(),t.marker.setClickable(e))}))},t.prototype._assertInitialized=function(){if(!this._googleMap.googleMap)throw Error("Cannot access Google Map information before the API has been initialized. Please wait for the API to load before trying to interact with it.");if(!this.marker)throw Error("Cannot interact with a Google Map Marker before it has been initialized. Please wait for the Marker to load before trying to interact with it.")},t.decorators=[{type:e.Directive,args:[{selector:"map-marker",exportAs:"mapMarker"}]}],t.ctorParameters=function(){return[{type:u},{type:e.NgZone}]},t.propDecorators={options:[{type:e.Input}],title:[{type:e.Input}],position:[{type:e.Input}],label:[{type:e.Input}],clickable:[{type:e.Input}],animationChanged:[{type:e.Output}],mapClick:[{type:e.Output}],clickableChanged:[{type:e.Output}],cursorChanged:[{type:e.Output}],mapDblclick:[{type:e.Output}],mapDrag:[{type:e.Output}],mapDragend:[{type:e.Output}],draggableChanged:[{type:e.Output}],mapDragstart:[{type:e.Output}],flatChanged:[{type:e.Output}],iconChanged:[{type:e.Output}],mapMousedown:[{type:e.Output}],mapMouseout:[{type:e.Output}],mapMouseover:[{type:e.Output}],mapMouseup:[{type:e.Output}],positionChanged:[{type:e.Output}],mapRightclick:[{type:e.Output}],shapeChanged:[{type:e.Output}],titleChanged:[{type:e.Output}],visibleChanged:[{type:e.Output}],zindexChanged:[{type:e.Output}]},t}(),b=function(){function t(t,e){this._map=t,this._ngZone=e,this._eventManager=new s(this._ngZone),this._options=new n.BehaviorSubject({}),this._paths=new n.BehaviorSubject(void 0),this._destroyed=new n.Subject,this.polygonClick=this._eventManager.getLazyEmitter("click"),this.polygonDblclick=this._eventManager.getLazyEmitter("dblclick"),this.polygonDrag=this._eventManager.getLazyEmitter("drag"),this.polygonDragend=this._eventManager.getLazyEmitter("dragend"),this.polygonDragstart=this._eventManager.getLazyEmitter("dragstart"),this.polygonMousedown=this._eventManager.getLazyEmitter("mousedown"),this.polygonMousemove=this._eventManager.getLazyEmitter("mousemove"),this.polygonMouseout=this._eventManager.getLazyEmitter("mouseout"),this.polygonMouseover=this._eventManager.getLazyEmitter("mouseover"),this.polygonMouseup=this._eventManager.getLazyEmitter("mouseup"),this.polygonRightclick=this._eventManager.getLazyEmitter("rightclick")}return Object.defineProperty(t.prototype,"options",{set:function(t){this._options.next(t||{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"paths",{set:function(t){this._paths.next(t)},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._map._isBrowser&&(this._combineOptions().pipe(o.take(1)).subscribe((function(e){t._ngZone.runOutsideAngular((function(){t.polygon=new google.maps.Polygon(e)})),t._assertInitialized(),t.polygon.setMap(t._map.googleMap),t._eventManager.setTarget(t.polygon)})),this._watchForOptionsChanges(),this._watchForPathChanges())},t.prototype.ngOnDestroy=function(){this._eventManager.destroy(),this._destroyed.next(),this._destroyed.complete(),this.polygon&&this.polygon.setMap(null)},t.prototype.getDraggable=function(){return this._assertInitialized(),this.polygon.getDraggable()},t.prototype.getEditable=function(){return this._assertInitialized(),this.polygon.getEditable()},t.prototype.getPath=function(){return this._assertInitialized(),this.polygon.getPath()},t.prototype.getPaths=function(){return this._assertInitialized(),this.polygon.getPaths()},t.prototype.getVisible=function(){return this._assertInitialized(),this.polygon.getVisible()},t.prototype._combineOptions=function(){return n.combineLatest([this._options,this._paths]).pipe(o.map((function(t){var e=a(t,2),i=e[0],n=e[1];return r(r({},i),{paths:n||i.paths})})))},t.prototype._watchForOptionsChanges=function(){var t=this;this._options.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){t._assertInitialized(),t.polygon.setOptions(e)}))},t.prototype._watchForPathChanges=function(){var t=this;this._paths.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){e&&(t._assertInitialized(),t.polygon.setPaths(e))}))},t.prototype._assertInitialized=function(){if(!this._map.googleMap)throw Error("Cannot access Google Map information before the API has been initialized. Please wait for the API to load before trying to interact with it.");if(!this.polygon)throw Error("Cannot interact with a Google Map Polygon before it has been initialized. Please wait for the Polygon to load before trying to interact with it.")},t.decorators=[{type:e.Directive,args:[{selector:"map-polygon",exportAs:"mapPolygon"}]}],t.ctorParameters=function(){return[{type:u},{type:e.NgZone}]},t.propDecorators={options:[{type:e.Input}],paths:[{type:e.Input}],polygonClick:[{type:e.Output}],polygonDblclick:[{type:e.Output}],polygonDrag:[{type:e.Output}],polygonDragend:[{type:e.Output}],polygonDragstart:[{type:e.Output}],polygonMousedown:[{type:e.Output}],polygonMousemove:[{type:e.Output}],polygonMouseout:[{type:e.Output}],polygonMouseover:[{type:e.Output}],polygonMouseup:[{type:e.Output}],polygonRightclick:[{type:e.Output}]},t}(),v=function(){function t(t,e){this._map=t,this._ngZone=e,this._eventManager=new s(this._ngZone),this._options=new n.BehaviorSubject({}),this._path=new n.BehaviorSubject(void 0),this._destroyed=new n.Subject,this.polylineClick=this._eventManager.getLazyEmitter("click"),this.polylineDblclick=this._eventManager.getLazyEmitter("dblclick"),this.polylineDrag=this._eventManager.getLazyEmitter("drag"),this.polylineDragend=this._eventManager.getLazyEmitter("dragend"),this.polylineDragstart=this._eventManager.getLazyEmitter("dragstart"),this.polylineMousedown=this._eventManager.getLazyEmitter("mousedown"),this.polylineMousemove=this._eventManager.getLazyEmitter("mousemove"),this.polylineMouseout=this._eventManager.getLazyEmitter("mouseout"),this.polylineMouseover=this._eventManager.getLazyEmitter("mouseover"),this.polylineMouseup=this._eventManager.getLazyEmitter("mouseup"),this.polylineRightclick=this._eventManager.getLazyEmitter("rightclick")}return Object.defineProperty(t.prototype,"options",{set:function(t){this._options.next(t||{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"path",{set:function(t){this._path.next(t)},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._map._isBrowser&&(this._combineOptions().pipe(o.take(1)).subscribe((function(e){t._ngZone.runOutsideAngular((function(){return t.polyline=new google.maps.Polyline(e)})),t._assertInitialized(),t.polyline.setMap(t._map.googleMap),t._eventManager.setTarget(t.polyline)})),this._watchForOptionsChanges(),this._watchForPathChanges())},t.prototype.ngOnDestroy=function(){this._eventManager.destroy(),this._destroyed.next(),this._destroyed.complete(),this.polyline&&this.polyline.setMap(null)},t.prototype.getDraggable=function(){return this._assertInitialized(),this.polyline.getDraggable()},t.prototype.getEditable=function(){return this._assertInitialized(),this.polyline.getEditable()},t.prototype.getPath=function(){return this._assertInitialized(),this.polyline.getPath()},t.prototype.getVisible=function(){return this._assertInitialized(),this.polyline.getVisible()},t.prototype._combineOptions=function(){return n.combineLatest([this._options,this._path]).pipe(o.map((function(t){var e=a(t,2),i=e[0],n=e[1];return r(r({},i),{path:n||i.path})})))},t.prototype._watchForOptionsChanges=function(){var t=this;this._options.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){t._assertInitialized(),t.polyline.setOptions(e)}))},t.prototype._watchForPathChanges=function(){var t=this;this._path.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){e&&(t._assertInitialized(),t.polyline.setPath(e))}))},t.prototype._assertInitialized=function(){if(!this._map.googleMap)throw Error("Cannot access Google Map information before the API has been initialized. Please wait for the API to load before trying to interact with it.");if(!this.polyline)throw Error("Cannot interact with a Google Map Polyline before it has been initialized. Please wait for the Polyline to load before trying to interact with it.")},t.decorators=[{type:e.Directive,args:[{selector:"map-polyline",exportAs:"mapPolyline"}]}],t.ctorParameters=function(){return[{type:u},{type:e.NgZone}]},t.propDecorators={options:[{type:e.Input}],path:[{type:e.Input}],polylineClick:[{type:e.Output}],polylineDblclick:[{type:e.Output}],polylineDrag:[{type:e.Output}],polylineDragend:[{type:e.Output}],polylineDragstart:[{type:e.Output}],polylineMousedown:[{type:e.Output}],polylineMousemove:[{type:e.Output}],polylineMouseout:[{type:e.Output}],polylineMouseover:[{type:e.Output}],polylineMouseup:[{type:e.Output}],polylineRightclick:[{type:e.Output}]},t}(),M=function(){function t(t,e){this._map=t,this._ngZone=e,this._eventManager=new s(this._ngZone),this._options=new n.BehaviorSubject({}),this._bounds=new n.BehaviorSubject(void 0),this._destroyed=new n.Subject,this.boundsChanged=this._eventManager.getLazyEmitter("bounds_changed"),this.rectangleClick=this._eventManager.getLazyEmitter("click"),this.rectangleDblclick=this._eventManager.getLazyEmitter("dblclick"),this.rectangleDrag=this._eventManager.getLazyEmitter("drag"),this.rectangleDragend=this._eventManager.getLazyEmitter("dragend"),this.rectangleDragstart=this._eventManager.getLazyEmitter("dragstart"),this.rectangleMousedown=this._eventManager.getLazyEmitter("mousedown"),this.rectangleMousemove=this._eventManager.getLazyEmitter("mousemove"),this.rectangleMouseout=this._eventManager.getLazyEmitter("mouseout"),this.rectangleMouseover=this._eventManager.getLazyEmitter("mouseover"),this.rectangleMouseup=this._eventManager.getLazyEmitter("mouseup"),this.rectangleRightclick=this._eventManager.getLazyEmitter("rightclick")}return Object.defineProperty(t.prototype,"options",{set:function(t){this._options.next(t||{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bounds",{set:function(t){this._bounds.next(t)},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._map._isBrowser&&(this._combineOptions().pipe(o.take(1)).subscribe((function(e){t._ngZone.runOutsideAngular((function(){t.rectangle=new google.maps.Rectangle(e)})),t._assertInitialized(),t.rectangle.setMap(t._map.googleMap),t._eventManager.setTarget(t.rectangle)})),this._watchForOptionsChanges(),this._watchForBoundsChanges())},t.prototype.ngOnDestroy=function(){this._eventManager.destroy(),this._destroyed.next(),this._destroyed.complete(),this.rectangle&&this.rectangle.setMap(null)},t.prototype.getBounds=function(){return this._assertInitialized(),this.rectangle.getBounds()},t.prototype.getDraggable=function(){return this._assertInitialized(),this.rectangle.getDraggable()},t.prototype.getEditable=function(){return this._assertInitialized(),this.rectangle.getEditable()},t.prototype.getVisible=function(){return this._assertInitialized(),this.rectangle.getVisible()},t.prototype._combineOptions=function(){return n.combineLatest([this._options,this._bounds]).pipe(o.map((function(t){var e=a(t,2),i=e[0],n=e[1];return r(r({},i),{bounds:n||i.bounds})})))},t.prototype._watchForOptionsChanges=function(){var t=this;this._options.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){t._assertInitialized(),t.rectangle.setOptions(e)}))},t.prototype._watchForBoundsChanges=function(){var t=this;this._bounds.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){e&&(t._assertInitialized(),t.rectangle.setBounds(e))}))},t.prototype._assertInitialized=function(){if(!this._map.googleMap)throw Error("Cannot access Google Map information before the API has been initialized. Please wait for the API to load before trying to interact with it.");if(!this.rectangle)throw Error("Cannot interact with a Google Map Rectangle before it has been initialized. Please wait for the Rectangle to load before trying to interact with it.")},t.decorators=[{type:e.Directive,args:[{selector:"map-rectangle",exportAs:"mapRectangle"}]}],t.ctorParameters=function(){return[{type:u},{type:e.NgZone}]},t.propDecorators={options:[{type:e.Input}],bounds:[{type:e.Input}],boundsChanged:[{type:e.Output}],rectangleClick:[{type:e.Output}],rectangleDblclick:[{type:e.Output}],rectangleDrag:[{type:e.Output}],rectangleDragend:[{type:e.Output}],rectangleDragstart:[{type:e.Output}],rectangleMousedown:[{type:e.Output}],rectangleMousemove:[{type:e.Output}],rectangleMouseout:[{type:e.Output}],rectangleMouseover:[{type:e.Output}],rectangleMouseup:[{type:e.Output}],rectangleRightclick:[{type:e.Output}]},t}(),z=[u,y,d,_,f,b,v,M],O=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:z,exports:z}]}],t}(); | ||
*/var l=function(){function t(t,e){this._map=t,this._ngZone=e,this._eventManager=new s(this._ngZone),this._options=new n.BehaviorSubject({}),this._center=new n.BehaviorSubject(void 0),this._radius=new n.BehaviorSubject(void 0),this._destroyed=new n.Subject,this.centerChanged=this._eventManager.getLazyEmitter("center_changed"),this.circleClick=this._eventManager.getLazyEmitter("click"),this.circleDblclick=this._eventManager.getLazyEmitter("dblclick"),this.circleDrag=this._eventManager.getLazyEmitter("drag"),this.circleDragend=this._eventManager.getLazyEmitter("dragend"),this.circleDragstart=this._eventManager.getLazyEmitter("dragstart"),this.circleMousedown=this._eventManager.getLazyEmitter("mousedown"),this.circleMousemove=this._eventManager.getLazyEmitter("mousemove"),this.circleMouseout=this._eventManager.getLazyEmitter("mouseout"),this.circleMouseover=this._eventManager.getLazyEmitter("mouseover"),this.circleMouseup=this._eventManager.getLazyEmitter("mouseup"),this.radiusChanged=this._eventManager.getLazyEmitter("radius_changed"),this.circleRightclick=this._eventManager.getLazyEmitter("rightclick")}return Object.defineProperty(t.prototype,"options",{set:function(t){this._options.next(t||{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"center",{set:function(t){this._center.next(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"radius",{set:function(t){this._radius.next(t)},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._map._isBrowser&&(this._combineOptions().pipe(o.take(1)).subscribe((function(e){t._ngZone.runOutsideAngular((function(){t.circle=new google.maps.Circle(e)})),t._assertInitialized(),t.circle.setMap(t._map.googleMap),t._eventManager.setTarget(t.circle)})),this._watchForOptionsChanges(),this._watchForCenterChanges(),this._watchForRadiusChanges())},t.prototype.ngOnDestroy=function(){this._eventManager.destroy(),this._destroyed.next(),this._destroyed.complete(),this.circle&&this.circle.setMap(null)},t.prototype.getBounds=function(){return this._assertInitialized(),this.circle.getBounds()},t.prototype.getCenter=function(){return this._assertInitialized(),this.circle.getCenter()},t.prototype.getDraggable=function(){return this._assertInitialized(),this.circle.getDraggable()},t.prototype.getEditable=function(){return this._assertInitialized(),this.circle.getEditable()},t.prototype.getRadius=function(){return this._assertInitialized(),this.circle.getRadius()},t.prototype.getVisible=function(){return this._assertInitialized(),this.circle.getVisible()},t.prototype._combineOptions=function(){return n.combineLatest([this._options,this._center,this._radius]).pipe(o.map((function(t){var e=a(t,3),i=e[0],n=e[1],o=e[2];return r(r({},i),{center:n||i.center,radius:void 0!==o?o:i.radius})})))},t.prototype._watchForOptionsChanges=function(){var t=this;this._options.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){t._assertInitialized(),t.circle.setOptions(e)}))},t.prototype._watchForCenterChanges=function(){var t=this;this._center.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){e&&(t._assertInitialized(),t.circle.setCenter(e))}))},t.prototype._watchForRadiusChanges=function(){var t=this;this._radius.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){void 0!==e&&(t._assertInitialized(),t.circle.setRadius(e))}))},t.prototype._assertInitialized=function(){if(!this._map.googleMap)throw Error("Cannot access Google Map information before the API has been initialized. Please wait for the API to load before trying to interact with it.");if(!this.circle)throw Error("Cannot interact with a Google Map Circle before it has been initialized. Please wait for the Circle to load before trying to interact with it.")},t.decorators=[{type:e.Directive,args:[{selector:"map-circle",exportAs:"mapCircle"}]}],t.ctorParameters=function(){return[{type:h},{type:e.NgZone}]},t.propDecorators={options:[{type:e.Input}],center:[{type:e.Input}],radius:[{type:e.Input}],centerChanged:[{type:e.Output}],circleClick:[{type:e.Output}],circleDblclick:[{type:e.Output}],circleDrag:[{type:e.Output}],circleDragend:[{type:e.Output}],circleDragstart:[{type:e.Output}],circleMousedown:[{type:e.Output}],circleMousemove:[{type:e.Output}],circleMouseout:[{type:e.Output}],circleMouseover:[{type:e.Output}],circleMouseup:[{type:e.Output}],radiusChanged:[{type:e.Output}],circleRightclick:[{type:e.Output}]},t}(),c=function(){function t(t,e){this._map=t,this._ngZone=e,this._eventManager=new s(this._ngZone),this._opacity=new n.BehaviorSubject(1),this._url=new n.BehaviorSubject(""),this._destroyed=new n.Subject,this.clickable=!1,this.mapClick=this._eventManager.getLazyEmitter("click"),this.mapDblclick=this._eventManager.getLazyEmitter("dblclick")}return Object.defineProperty(t.prototype,"url",{set:function(t){this._url.next(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"opacity",{set:function(t){this._opacity.next(t)},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;if(!this.bounds)throw Error("Image bounds are required");this._map._isBrowser&&(this._combineOptions().pipe(o.take(1)).subscribe((function(e){t._ngZone.runOutsideAngular((function(){t.groundOverlay=new google.maps.GroundOverlay(t._url.getValue(),t.bounds,e)})),t._assertInitialized(),t.groundOverlay.setMap(t._map.googleMap),t._eventManager.setTarget(t.groundOverlay)})),this._watchForOpacityChanges(),this._watchForUrlChanges())},t.prototype.ngOnDestroy=function(){this._eventManager.destroy(),this._destroyed.next(),this._destroyed.complete(),this.groundOverlay&&this.groundOverlay.setMap(null)},t.prototype.getBounds=function(){return this._assertInitialized(),this.groundOverlay.getBounds()},t.prototype.getOpacity=function(){return this._assertInitialized(),this.groundOverlay.getOpacity()},t.prototype.getUrl=function(){return this._assertInitialized(),this.groundOverlay.getUrl()},t.prototype._combineOptions=function(){var t=this;return this._opacity.pipe(o.map((function(e){return{clickable:t.clickable,opacity:e}})))},t.prototype._watchForOpacityChanges=function(){var t=this;this._opacity.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){e&&(t._assertInitialized(),t.groundOverlay.setOpacity(e))}))},t.prototype._watchForUrlChanges=function(){var t=this;this._url.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){t._assertInitialized();var i=t.groundOverlay;i.set("url",e),i.setMap(null),i.setMap(t._map.googleMap)}))},t.prototype._assertInitialized=function(){if(!this._map.googleMap)throw Error("Cannot access Google Map information before the API has been initialized. Please wait for the API to load before trying to interact with it.");if(!this.groundOverlay)throw Error("Cannot interact with a Google Map GroundOverlay before it has been initialized. Please wait for the GroundOverlay to load before trying to interact with it.")},t.decorators=[{type:e.Directive,args:[{selector:"map-ground-overlay",exportAs:"mapGroundOverlay"}]}],t.ctorParameters=function(){return[{type:h},{type:e.NgZone}]},t.propDecorators={url:[{type:e.Input}],bounds:[{type:e.Input}],clickable:[{type:e.Input}],opacity:[{type:e.Input}],mapClick:[{type:e.Output}],mapDblclick:[{type:e.Output}]},t}(),y=function(){function t(t,e,i){this._googleMap=t,this._elementRef=e,this._ngZone=i,this._eventManager=new s(this._ngZone),this._options=new n.BehaviorSubject({}),this._position=new n.BehaviorSubject(void 0),this._destroy=new n.Subject,this.closeclick=this._eventManager.getLazyEmitter("closeclick"),this.contentChanged=this._eventManager.getLazyEmitter("content_changed"),this.domready=this._eventManager.getLazyEmitter("domready"),this.positionChanged=this._eventManager.getLazyEmitter("position_changed"),this.zindexChanged=this._eventManager.getLazyEmitter("zindex_changed")}return Object.defineProperty(t.prototype,"options",{set:function(t){this._options.next(t||{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"position",{set:function(t){this._position.next(t)},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._googleMap._isBrowser&&(this._combineOptions().pipe(o.take(1)).subscribe((function(e){t._ngZone.runOutsideAngular((function(){t.infoWindow=new google.maps.InfoWindow(e)})),t._eventManager.setTarget(t.infoWindow)})),this._watchForOptionsChanges(),this._watchForPositionChanges())},t.prototype.ngOnDestroy=function(){this._eventManager.destroy(),this._destroy.next(),this._destroy.complete(),this.infoWindow&&this.close()},t.prototype.close=function(){this._assertInitialized(),this.infoWindow.close()},t.prototype.getContent=function(){return this._assertInitialized(),this.infoWindow.getContent()},t.prototype.getPosition=function(){return this._assertInitialized(),this.infoWindow.getPosition()},t.prototype.getZIndex=function(){return this._assertInitialized(),this.infoWindow.getZIndex()},t.prototype.open=function(t){this._assertInitialized(),this._elementRef.nativeElement.style.display="",this.infoWindow.open(this._googleMap.googleMap,t?t.getAnchor():void 0)},t.prototype._combineOptions=function(){var t=this;return n.combineLatest([this._options,this._position]).pipe(o.map((function(e){var i=a(e,2),n=i[0],o=i[1];return r(r({},n),{position:o||n.position,content:t._elementRef.nativeElement})})))},t.prototype._watchForOptionsChanges=function(){var t=this;this._options.pipe(o.takeUntil(this._destroy)).subscribe((function(e){t._assertInitialized(),t.infoWindow.setOptions(e)}))},t.prototype._watchForPositionChanges=function(){var t=this;this._position.pipe(o.takeUntil(this._destroy)).subscribe((function(e){e&&(t._assertInitialized(),t.infoWindow.setPosition(e))}))},t.prototype._assertInitialized=function(){if(!this._googleMap.googleMap)throw Error("Cannot access Google Map information before the API has been initialized. Please wait for the API to load before trying to interact with it.");if(!this.infoWindow)throw Error("Cannot interact with a Google Map Info Window before it has been initialized. Please wait for the Info Window to load before trying to interact with it.")},t.decorators=[{type:e.Directive,args:[{selector:"map-info-window",exportAs:"mapInfoWindow",host:{style:"display: none"}}]}],t.ctorParameters=function(){return[{type:h},{type:e.ElementRef},{type:e.NgZone}]},t.propDecorators={options:[{type:e.Input}],position:[{type:e.Input}],closeclick:[{type:e.Output}],contentChanged:[{type:e.Output}],domready:[{type:e.Output}],positionChanged:[{type:e.Output}],zindexChanged:[{type:e.Output}]},t}(),d={position:{lat:37.421995,lng:-122.084092}},_=function(){function t(t,e){this._googleMap=t,this._ngZone=e,this._eventManager=new s(this._ngZone),this._options=new n.BehaviorSubject(d),this._title=new n.BehaviorSubject(void 0),this._position=new n.BehaviorSubject(void 0),this._label=new n.BehaviorSubject(void 0),this._clickable=new n.BehaviorSubject(void 0),this._destroy=new n.Subject,this.animationChanged=this._eventManager.getLazyEmitter("animation_changed"),this.mapClick=this._eventManager.getLazyEmitter("click"),this.clickableChanged=this._eventManager.getLazyEmitter("clickable_changed"),this.cursorChanged=this._eventManager.getLazyEmitter("cursor_changed"),this.mapDblclick=this._eventManager.getLazyEmitter("dblclick"),this.mapDrag=this._eventManager.getLazyEmitter("drag"),this.mapDragend=this._eventManager.getLazyEmitter("dragend"),this.draggableChanged=this._eventManager.getLazyEmitter("draggable_changed"),this.mapDragstart=this._eventManager.getLazyEmitter("dragstart"),this.flatChanged=this._eventManager.getLazyEmitter("flat_changed"),this.iconChanged=this._eventManager.getLazyEmitter("icon_changed"),this.mapMousedown=this._eventManager.getLazyEmitter("mousedown"),this.mapMouseout=this._eventManager.getLazyEmitter("mouseout"),this.mapMouseover=this._eventManager.getLazyEmitter("mouseover"),this.mapMouseup=this._eventManager.getLazyEmitter("mouseup"),this.positionChanged=this._eventManager.getLazyEmitter("position_changed"),this.mapRightclick=this._eventManager.getLazyEmitter("rightclick"),this.shapeChanged=this._eventManager.getLazyEmitter("shape_changed"),this.titleChanged=this._eventManager.getLazyEmitter("title_changed"),this.visibleChanged=this._eventManager.getLazyEmitter("visible_changed"),this.zindexChanged=this._eventManager.getLazyEmitter("zindex_changed")}return Object.defineProperty(t.prototype,"options",{set:function(t){this._options.next(t||d)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{set:function(t){this._title.next(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"position",{set:function(t){this._position.next(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"label",{set:function(t){this._label.next(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clickable",{set:function(t){this._clickable.next(t)},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._googleMap._isBrowser&&(this._combineOptions().pipe(o.take(1)).subscribe((function(e){t._ngZone.runOutsideAngular((function(){return t.marker=new google.maps.Marker(e)})),t._assertInitialized(),t.marker.setMap(t._googleMap.googleMap),t._eventManager.setTarget(t.marker)})),this._watchForOptionsChanges(),this._watchForTitleChanges(),this._watchForPositionChanges(),this._watchForLabelChanges(),this._watchForClickableChanges())},t.prototype.ngOnDestroy=function(){this._destroy.next(),this._destroy.complete(),this._eventManager.destroy(),this.marker&&this.marker.setMap(null)},t.prototype.getAnimation=function(){return this._assertInitialized(),this.marker.getAnimation()||null},t.prototype.getClickable=function(){return this._assertInitialized(),this.marker.getClickable()},t.prototype.getCursor=function(){return this._assertInitialized(),this.marker.getCursor()||null},t.prototype.getDraggable=function(){return this._assertInitialized(),!!this.marker.getDraggable()},t.prototype.getIcon=function(){return this._assertInitialized(),this.marker.getIcon()||null},t.prototype.getLabel=function(){return this._assertInitialized(),this.marker.getLabel()||null},t.prototype.getOpacity=function(){return this._assertInitialized(),this.marker.getOpacity()||null},t.prototype.getPosition=function(){return this._assertInitialized(),this.marker.getPosition()||null},t.prototype.getShape=function(){return this._assertInitialized(),this.marker.getShape()||null},t.prototype.getTitle=function(){return this._assertInitialized(),this.marker.getTitle()||null},t.prototype.getVisible=function(){return this._assertInitialized(),this.marker.getVisible()},t.prototype.getZIndex=function(){return this._assertInitialized(),this.marker.getZIndex()||null},t.prototype.getAnchor=function(){return this._assertInitialized(),this.marker},t.prototype._combineOptions=function(){var t=this;return n.combineLatest([this._options,this._title,this._position,this._label,this._clickable]).pipe(o.map((function(e){var i=a(e,5),n=i[0],o=i[1],s=i[2],p=i[3],h=i[4];return r(r({},n),{title:o||n.title,position:s||n.position,label:p||n.label,clickable:void 0!==h?h:n.clickable,map:t._googleMap.googleMap})})))},t.prototype._watchForOptionsChanges=function(){var t=this;this._options.pipe(o.takeUntil(this._destroy)).subscribe((function(e){t.marker&&(t._assertInitialized(),t.marker.setOptions(e))}))},t.prototype._watchForTitleChanges=function(){var t=this;this._title.pipe(o.takeUntil(this._destroy)).subscribe((function(e){t.marker&&void 0!==e&&(t._assertInitialized(),t.marker.setTitle(e))}))},t.prototype._watchForPositionChanges=function(){var t=this;this._position.pipe(o.takeUntil(this._destroy)).subscribe((function(e){t.marker&&e&&(t._assertInitialized(),t.marker.setPosition(e))}))},t.prototype._watchForLabelChanges=function(){var t=this;this._label.pipe(o.takeUntil(this._destroy)).subscribe((function(e){t.marker&&void 0!==e&&(t._assertInitialized(),t.marker.setLabel(e))}))},t.prototype._watchForClickableChanges=function(){var t=this;this._clickable.pipe(o.takeUntil(this._destroy)).subscribe((function(e){t.marker&&void 0!==e&&(t._assertInitialized(),t.marker.setClickable(e))}))},t.prototype._assertInitialized=function(){if(!this._googleMap.googleMap)throw Error("Cannot access Google Map information before the API has been initialized. Please wait for the API to load before trying to interact with it.");if(!this.marker)throw Error("Cannot interact with a Google Map Marker before it has been initialized. Please wait for the Marker to load before trying to interact with it.")},t.decorators=[{type:e.Directive,args:[{selector:"map-marker",exportAs:"mapMarker"}]}],t.ctorParameters=function(){return[{type:h},{type:e.NgZone}]},t.propDecorators={options:[{type:e.Input}],title:[{type:e.Input}],position:[{type:e.Input}],label:[{type:e.Input}],clickable:[{type:e.Input}],animationChanged:[{type:e.Output}],mapClick:[{type:e.Output}],clickableChanged:[{type:e.Output}],cursorChanged:[{type:e.Output}],mapDblclick:[{type:e.Output}],mapDrag:[{type:e.Output}],mapDragend:[{type:e.Output}],draggableChanged:[{type:e.Output}],mapDragstart:[{type:e.Output}],flatChanged:[{type:e.Output}],iconChanged:[{type:e.Output}],mapMousedown:[{type:e.Output}],mapMouseout:[{type:e.Output}],mapMouseover:[{type:e.Output}],mapMouseup:[{type:e.Output}],positionChanged:[{type:e.Output}],mapRightclick:[{type:e.Output}],shapeChanged:[{type:e.Output}],titleChanged:[{type:e.Output}],visibleChanged:[{type:e.Output}],zindexChanged:[{type:e.Output}]},t}(),m=function(){function t(t,e){this._map=t,this._ngZone=e,this._eventManager=new s(this._ngZone),this._options=new n.BehaviorSubject({}),this._paths=new n.BehaviorSubject(void 0),this._destroyed=new n.Subject,this.polygonClick=this._eventManager.getLazyEmitter("click"),this.polygonDblclick=this._eventManager.getLazyEmitter("dblclick"),this.polygonDrag=this._eventManager.getLazyEmitter("drag"),this.polygonDragend=this._eventManager.getLazyEmitter("dragend"),this.polygonDragstart=this._eventManager.getLazyEmitter("dragstart"),this.polygonMousedown=this._eventManager.getLazyEmitter("mousedown"),this.polygonMousemove=this._eventManager.getLazyEmitter("mousemove"),this.polygonMouseout=this._eventManager.getLazyEmitter("mouseout"),this.polygonMouseover=this._eventManager.getLazyEmitter("mouseover"),this.polygonMouseup=this._eventManager.getLazyEmitter("mouseup"),this.polygonRightclick=this._eventManager.getLazyEmitter("rightclick")}return Object.defineProperty(t.prototype,"options",{set:function(t){this._options.next(t||{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"paths",{set:function(t){this._paths.next(t)},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._map._isBrowser&&(this._combineOptions().pipe(o.take(1)).subscribe((function(e){t._ngZone.runOutsideAngular((function(){t.polygon=new google.maps.Polygon(e)})),t._assertInitialized(),t.polygon.setMap(t._map.googleMap),t._eventManager.setTarget(t.polygon)})),this._watchForOptionsChanges(),this._watchForPathChanges())},t.prototype.ngOnDestroy=function(){this._eventManager.destroy(),this._destroyed.next(),this._destroyed.complete(),this.polygon&&this.polygon.setMap(null)},t.prototype.getDraggable=function(){return this._assertInitialized(),this.polygon.getDraggable()},t.prototype.getEditable=function(){return this._assertInitialized(),this.polygon.getEditable()},t.prototype.getPath=function(){return this._assertInitialized(),this.polygon.getPath()},t.prototype.getPaths=function(){return this._assertInitialized(),this.polygon.getPaths()},t.prototype.getVisible=function(){return this._assertInitialized(),this.polygon.getVisible()},t.prototype._combineOptions=function(){return n.combineLatest([this._options,this._paths]).pipe(o.map((function(t){var e=a(t,2),i=e[0],n=e[1];return r(r({},i),{paths:n||i.paths})})))},t.prototype._watchForOptionsChanges=function(){var t=this;this._options.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){t._assertInitialized(),t.polygon.setOptions(e)}))},t.prototype._watchForPathChanges=function(){var t=this;this._paths.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){e&&(t._assertInitialized(),t.polygon.setPaths(e))}))},t.prototype._assertInitialized=function(){if(!this._map.googleMap)throw Error("Cannot access Google Map information before the API has been initialized. Please wait for the API to load before trying to interact with it.");if(!this.polygon)throw Error("Cannot interact with a Google Map Polygon before it has been initialized. Please wait for the Polygon to load before trying to interact with it.")},t.decorators=[{type:e.Directive,args:[{selector:"map-polygon",exportAs:"mapPolygon"}]}],t.ctorParameters=function(){return[{type:h},{type:e.NgZone}]},t.propDecorators={options:[{type:e.Input}],paths:[{type:e.Input}],polygonClick:[{type:e.Output}],polygonDblclick:[{type:e.Output}],polygonDrag:[{type:e.Output}],polygonDragend:[{type:e.Output}],polygonDragstart:[{type:e.Output}],polygonMousedown:[{type:e.Output}],polygonMousemove:[{type:e.Output}],polygonMouseout:[{type:e.Output}],polygonMouseover:[{type:e.Output}],polygonMouseup:[{type:e.Output}],polygonRightclick:[{type:e.Output}]},t}(),f=function(){function t(t,e){this._map=t,this._ngZone=e,this._eventManager=new s(this._ngZone),this._options=new n.BehaviorSubject({}),this._path=new n.BehaviorSubject(void 0),this._destroyed=new n.Subject,this.polylineClick=this._eventManager.getLazyEmitter("click"),this.polylineDblclick=this._eventManager.getLazyEmitter("dblclick"),this.polylineDrag=this._eventManager.getLazyEmitter("drag"),this.polylineDragend=this._eventManager.getLazyEmitter("dragend"),this.polylineDragstart=this._eventManager.getLazyEmitter("dragstart"),this.polylineMousedown=this._eventManager.getLazyEmitter("mousedown"),this.polylineMousemove=this._eventManager.getLazyEmitter("mousemove"),this.polylineMouseout=this._eventManager.getLazyEmitter("mouseout"),this.polylineMouseover=this._eventManager.getLazyEmitter("mouseover"),this.polylineMouseup=this._eventManager.getLazyEmitter("mouseup"),this.polylineRightclick=this._eventManager.getLazyEmitter("rightclick")}return Object.defineProperty(t.prototype,"options",{set:function(t){this._options.next(t||{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"path",{set:function(t){this._path.next(t)},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._map._isBrowser&&(this._combineOptions().pipe(o.take(1)).subscribe((function(e){t._ngZone.runOutsideAngular((function(){return t.polyline=new google.maps.Polyline(e)})),t._assertInitialized(),t.polyline.setMap(t._map.googleMap),t._eventManager.setTarget(t.polyline)})),this._watchForOptionsChanges(),this._watchForPathChanges())},t.prototype.ngOnDestroy=function(){this._eventManager.destroy(),this._destroyed.next(),this._destroyed.complete(),this.polyline&&this.polyline.setMap(null)},t.prototype.getDraggable=function(){return this._assertInitialized(),this.polyline.getDraggable()},t.prototype.getEditable=function(){return this._assertInitialized(),this.polyline.getEditable()},t.prototype.getPath=function(){return this._assertInitialized(),this.polyline.getPath()},t.prototype.getVisible=function(){return this._assertInitialized(),this.polyline.getVisible()},t.prototype._combineOptions=function(){return n.combineLatest([this._options,this._path]).pipe(o.map((function(t){var e=a(t,2),i=e[0],n=e[1];return r(r({},i),{path:n||i.path})})))},t.prototype._watchForOptionsChanges=function(){var t=this;this._options.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){t._assertInitialized(),t.polyline.setOptions(e)}))},t.prototype._watchForPathChanges=function(){var t=this;this._path.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){e&&(t._assertInitialized(),t.polyline.setPath(e))}))},t.prototype._assertInitialized=function(){if(!this._map.googleMap)throw Error("Cannot access Google Map information before the API has been initialized. Please wait for the API to load before trying to interact with it.");if(!this.polyline)throw Error("Cannot interact with a Google Map Polyline before it has been initialized. Please wait for the Polyline to load before trying to interact with it.")},t.decorators=[{type:e.Directive,args:[{selector:"map-polyline",exportAs:"mapPolyline"}]}],t.ctorParameters=function(){return[{type:h},{type:e.NgZone}]},t.propDecorators={options:[{type:e.Input}],path:[{type:e.Input}],polylineClick:[{type:e.Output}],polylineDblclick:[{type:e.Output}],polylineDrag:[{type:e.Output}],polylineDragend:[{type:e.Output}],polylineDragstart:[{type:e.Output}],polylineMousedown:[{type:e.Output}],polylineMousemove:[{type:e.Output}],polylineMouseout:[{type:e.Output}],polylineMouseover:[{type:e.Output}],polylineMouseup:[{type:e.Output}],polylineRightclick:[{type:e.Output}]},t}(),b=function(){function t(t,e){this._map=t,this._ngZone=e,this._eventManager=new s(this._ngZone),this._options=new n.BehaviorSubject({}),this._bounds=new n.BehaviorSubject(void 0),this._destroyed=new n.Subject,this.boundsChanged=this._eventManager.getLazyEmitter("bounds_changed"),this.rectangleClick=this._eventManager.getLazyEmitter("click"),this.rectangleDblclick=this._eventManager.getLazyEmitter("dblclick"),this.rectangleDrag=this._eventManager.getLazyEmitter("drag"),this.rectangleDragend=this._eventManager.getLazyEmitter("dragend"),this.rectangleDragstart=this._eventManager.getLazyEmitter("dragstart"),this.rectangleMousedown=this._eventManager.getLazyEmitter("mousedown"),this.rectangleMousemove=this._eventManager.getLazyEmitter("mousemove"),this.rectangleMouseout=this._eventManager.getLazyEmitter("mouseout"),this.rectangleMouseover=this._eventManager.getLazyEmitter("mouseover"),this.rectangleMouseup=this._eventManager.getLazyEmitter("mouseup"),this.rectangleRightclick=this._eventManager.getLazyEmitter("rightclick")}return Object.defineProperty(t.prototype,"options",{set:function(t){this._options.next(t||{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bounds",{set:function(t){this._bounds.next(t)},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._map._isBrowser&&(this._combineOptions().pipe(o.take(1)).subscribe((function(e){t._ngZone.runOutsideAngular((function(){t.rectangle=new google.maps.Rectangle(e)})),t._assertInitialized(),t.rectangle.setMap(t._map.googleMap),t._eventManager.setTarget(t.rectangle)})),this._watchForOptionsChanges(),this._watchForBoundsChanges())},t.prototype.ngOnDestroy=function(){this._eventManager.destroy(),this._destroyed.next(),this._destroyed.complete(),this.rectangle&&this.rectangle.setMap(null)},t.prototype.getBounds=function(){return this._assertInitialized(),this.rectangle.getBounds()},t.prototype.getDraggable=function(){return this._assertInitialized(),this.rectangle.getDraggable()},t.prototype.getEditable=function(){return this._assertInitialized(),this.rectangle.getEditable()},t.prototype.getVisible=function(){return this._assertInitialized(),this.rectangle.getVisible()},t.prototype._combineOptions=function(){return n.combineLatest([this._options,this._bounds]).pipe(o.map((function(t){var e=a(t,2),i=e[0],n=e[1];return r(r({},i),{bounds:n||i.bounds})})))},t.prototype._watchForOptionsChanges=function(){var t=this;this._options.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){t._assertInitialized(),t.rectangle.setOptions(e)}))},t.prototype._watchForBoundsChanges=function(){var t=this;this._bounds.pipe(o.takeUntil(this._destroyed)).subscribe((function(e){e&&(t._assertInitialized(),t.rectangle.setBounds(e))}))},t.prototype._assertInitialized=function(){if(!this._map.googleMap)throw Error("Cannot access Google Map information before the API has been initialized. Please wait for the API to load before trying to interact with it.");if(!this.rectangle)throw Error("Cannot interact with a Google Map Rectangle before it has been initialized. Please wait for the Rectangle to load before trying to interact with it.")},t.decorators=[{type:e.Directive,args:[{selector:"map-rectangle",exportAs:"mapRectangle"}]}],t.ctorParameters=function(){return[{type:h},{type:e.NgZone}]},t.propDecorators={options:[{type:e.Input}],bounds:[{type:e.Input}],boundsChanged:[{type:e.Output}],rectangleClick:[{type:e.Output}],rectangleDblclick:[{type:e.Output}],rectangleDrag:[{type:e.Output}],rectangleDragend:[{type:e.Output}],rectangleDragstart:[{type:e.Output}],rectangleMousedown:[{type:e.Output}],rectangleMousemove:[{type:e.Output}],rectangleMouseout:[{type:e.Output}],rectangleMouseover:[{type:e.Output}],rectangleMouseup:[{type:e.Output}],rectangleRightclick:[{type:e.Output}]},t}(),v=[h,l,c,y,_,m,f,b],M=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:v,exports:v}]}],t}(); | ||
/** | ||
@@ -55,2 +55,2 @@ * @license | ||
*/ | ||
t.GoogleMap=u,t.GoogleMapsModule=O,t.MapCircle=y,t.MapGroundOverlay=d,t.MapInfoWindow=_,t.MapMarker=f,t.MapPolygon=b,t.MapPolyline=v,t.MapRectangle=M,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
t.GoogleMap=h,t.GoogleMapsModule=M,t.MapCircle=l,t.MapGroundOverlay=c,t.MapInfoWindow=y,t.MapMarker=_,t.MapPolygon=m,t.MapPolyline=f,t.MapRectangle=b,Object.defineProperty(t,"__esModule",{value:!0})})); |
@@ -43,5 +43,5 @@ /** | ||
this._destroy = new Subject(); | ||
/** Height of the map. */ | ||
/** Height of the map. Set this to `null` if you'd like to control the height through CSS. */ | ||
this.height = DEFAULT_HEIGHT; | ||
/** Width of the map. */ | ||
/** Width of the map. Set this to `null` if you'd like to control the width through CSS. */ | ||
this.width = DEFAULT_WIDTH; | ||
@@ -325,4 +325,5 @@ /** | ||
const styles = this._mapEl.style; | ||
styles.height = coerceCssPixelValue(this.height) || DEFAULT_HEIGHT; | ||
styles.width = coerceCssPixelValue(this.width) || DEFAULT_WIDTH; | ||
styles.height = | ||
this.height === null ? '' : (coerceCssPixelValue(this.height) || DEFAULT_HEIGHT); | ||
styles.width = this.width === null ? '' : (coerceCssPixelValue(this.width) || DEFAULT_WIDTH); | ||
} | ||
@@ -430,2 +431,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlLW1hcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9nb29nbGUtbWFwcy9nb29nbGUtbWFwL2dvb2dsZS1tYXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUgseUVBQXlFO0FBQ3pFLG9DQUFvQztBQUVwQyxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxVQUFVLEVBQ1YsS0FBSyxFQUlMLE1BQU0sRUFDTixpQkFBaUIsRUFDakIsUUFBUSxFQUNSLE1BQU0sRUFDTixXQUFXLEVBQ1gsTUFBTSxHQUNQLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBQyxpQkFBaUIsRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQ2xELE9BQU8sRUFBQyxlQUFlLEVBQUUsYUFBYSxFQUFFLFVBQVUsRUFBRSxPQUFPLEVBQUMsTUFBTSxNQUFNLENBQUM7QUFDekUsT0FBTyxFQUFDLEdBQUcsRUFBRSxXQUFXLEVBQUUsSUFBSSxFQUFFLFNBQVMsRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBQ2pFLE9BQU8sRUFBQyxlQUFlLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQztBQU1yRCw0Q0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dsZU1hcDogZ29vZ2xlLm1hcHMuTWFwfSB7XG4gICAgaWYgKCF0aGlzLmdvb2dsZU1hcCkge1xuICAgICAgdGhyb3cgRXJyb3IoJ0Nhbm5vdCBhY2Nlc3MgR29vZ2xlIE1hcCBpbmZvcm1hdGlvbiBiZWZvcmUgdGhlIEFQSSBoYXMgYmVlbiBpbml0aWFsaXplZC4gJyArXG4gICAgICAgICAgICAgICAgICAnUGxlYXNlIHdhaXQgZm9yIHRoZSBBUEkgdG8gbG9hZCBiZWZvcmUgdHJ5aW5nIHRvIGludGVyYWN0IHdpdGggaXQuJyk7XG4gICAgfVxuICB9XG59XG5cbmNvbnN0IGNzc1VuaXRzUGF0dGVybiA9IC8oW0EtWmEteiVdKykkLztcblxuLyoqIENvZXJjZXMgYSB2YWx1ZSB0byBhIENTUyBwaXhlbCB2YWx1ZS4gKi9cbmZ1bmN0aW9uIGNvZXJjZUNzc1BpeGVsVmFsdWUodmFsdWU6IGFueSk6IHN0cmluZyB7XG4gIGlmICh2YWx1ZSA9PSBudWxsKSB7XG4gICAgcmV0dXJuICcnO1xuICB9XG5cbiAgcmV0dXJuIGNzc1VuaXRzUGF0dGVybi50ZXN0KHZhbHVlKSA/IHZhbHVlIDogYCR7dmFsdWV9cHhgO1xufVxuIl19 |
@@ -40,6 +40,6 @@ /** | ||
_isBrowser: boolean; | ||
/** Height of the map. */ | ||
height: string | number; | ||
/** Width of the map. */ | ||
width: string | number; | ||
/** Height of the map. Set this to `null` if you'd like to control the height through CSS. */ | ||
height: string | number | null; | ||
/** Width of the map. Set this to `null` if you'd like to control the width through CSS. */ | ||
width: string | number | null; | ||
/** | ||
@@ -46,0 +46,0 @@ * Type of map that should be rendered. E.g. hybrid map, terrain map etc. |
{ | ||
"name": "@angular/google-maps", | ||
"version": "10.0.2", | ||
"version": "10.1.0", | ||
"description": "Angular Google Maps", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
977073
7921
16
0