Socket
Socket
Sign inDemoInstall

@agm/core

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agm/core - npm Package Compare versions

Comparing version 1.0.0-beta.5 to 1.0.0-beta.6

utils/mvcarray-utils.d.ts

2

core.module.d.ts

@@ -13,3 +13,3 @@ import { ModuleWithProviders } from '@angular/core';

import { LazyMapsAPILoaderConfigLiteral } from './services/maps-api-loader/lazy-maps-api-loader';
import { AgmFitBounds } from '@agm/core/directives/fit-bounds';
import { AgmFitBounds } from './directives/fit-bounds';
/**

@@ -16,0 +16,0 @@ * @internal

@@ -0,1 +1,7 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { NgModule } from '@angular/core';

@@ -16,3 +22,3 @@ import { AgmMap } from './directives/map';

import { BROWSER_GLOBALS_PROVIDERS } from './utils/browser-globals';
import { AgmFitBounds } from '@agm/core/directives/fit-bounds';
import { AgmFitBounds } from './directives/fit-bounds';
/**

@@ -35,14 +41,9 @@ * @internal

}
AgmCoreModule_1 = AgmCoreModule;
/**
* Please use this method when you register the module at the root level.
*/
/**
* Please use this method when you register the module at the root level.
*/
AgmCoreModule.forRoot = /**
* Please use this method when you register the module at the root level.
*/
function (lazyMapsAPILoaderConfig) {
AgmCoreModule.forRoot = function (lazyMapsAPILoaderConfig) {
return {
ngModule: AgmCoreModule,
ngModule: AgmCoreModule_1,
providers: BROWSER_GLOBALS_PROVIDERS.concat([

@@ -54,5 +55,6 @@ { provide: MapsAPILoader, useClass: LazyMapsAPILoader },

};
AgmCoreModule.decorators = [
{ type: NgModule, args: [{ declarations: coreDirectives(), exports: coreDirectives() },] },
];
var AgmCoreModule_1;
AgmCoreModule = AgmCoreModule_1 = __decorate([
NgModule({ declarations: coreDirectives(), exports: coreDirectives() })
], AgmCoreModule);
return AgmCoreModule;

@@ -59,0 +61,0 @@ }());

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":4,"metadata":{"coreDirectives":{"__symbolic":"function","parameters":[],"value":[{"__symbolic":"reference","module":"./directives/map","name":"AgmMap","line":22,"character":4},{"__symbolic":"reference","module":"./directives/marker","name":"AgmMarker","line":22,"character":12},{"__symbolic":"reference","module":"./directives/info-window","name":"AgmInfoWindow","line":22,"character":23},{"__symbolic":"reference","module":"./directives/circle","name":"AgmCircle","line":22,"character":38},{"__symbolic":"reference","module":"./directives/rectangle","name":"AgmRectangle","line":22,"character":49},{"__symbolic":"reference","module":"./directives/polygon","name":"AgmPolygon","line":23,"character":4},{"__symbolic":"reference","module":"./directives/polyline","name":"AgmPolyline","line":23,"character":16},{"__symbolic":"reference","module":"./directives/polyline-point","name":"AgmPolylinePoint","line":23,"character":29},{"__symbolic":"reference","module":"./directives/kml-layer","name":"AgmKmlLayer","line":23,"character":47},{"__symbolic":"reference","module":"./directives/data-layer","name":"AgmDataLayer","line":24,"character":4},{"__symbolic":"reference","module":"@agm/core/directives/fit-bounds","name":"AgmFitBounds","line":24,"character":18}]},"AgmCoreModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":32,"character":1},"arguments":[{"declarations":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"coreDirectives"}},"exports":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"coreDirectives"}}}]}],"statics":{"forRoot":{"__symbolic":"function","parameters":["lazyMapsAPILoaderConfig"],"value":{"ngModule":{"__symbolic":"reference","name":"AgmCoreModule"},"providers":[{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./utils/browser-globals","name":"BROWSER_GLOBALS_PROVIDERS","line":41,"character":11}},{"provide":{"__symbolic":"reference","module":"./services/maps-api-loader/maps-api-loader","name":"MapsAPILoader","line":41,"character":48},"useClass":{"__symbolic":"reference","module":"./services/maps-api-loader/lazy-maps-api-loader","name":"LazyMapsAPILoader","line":41,"character":73}},{"provide":{"__symbolic":"reference","module":"./services/maps-api-loader/lazy-maps-api-loader","name":"LAZY_MAPS_API_CONFIG","line":42,"character":18},"useValue":{"__symbolic":"reference","name":"lazyMapsAPILoaderConfig"}}]}}}}}}]
[{"__symbolic":"module","version":4,"metadata":{"coreDirectives":{"__symbolic":"function","parameters":[],"value":[{"__symbolic":"reference","module":"./directives/map","name":"AgmMap","line":22,"character":4},{"__symbolic":"reference","module":"./directives/marker","name":"AgmMarker","line":22,"character":12},{"__symbolic":"reference","module":"./directives/info-window","name":"AgmInfoWindow","line":22,"character":23},{"__symbolic":"reference","module":"./directives/circle","name":"AgmCircle","line":22,"character":38},{"__symbolic":"reference","module":"./directives/rectangle","name":"AgmRectangle","line":22,"character":49},{"__symbolic":"reference","module":"./directives/polygon","name":"AgmPolygon","line":23,"character":4},{"__symbolic":"reference","module":"./directives/polyline","name":"AgmPolyline","line":23,"character":16},{"__symbolic":"reference","module":"./directives/polyline-point","name":"AgmPolylinePoint","line":23,"character":29},{"__symbolic":"reference","module":"./directives/kml-layer","name":"AgmKmlLayer","line":23,"character":47},{"__symbolic":"reference","module":"./directives/data-layer","name":"AgmDataLayer","line":24,"character":4},{"__symbolic":"reference","module":"./directives/fit-bounds","name":"AgmFitBounds","line":24,"character":18}]},"AgmCoreModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":32,"character":1},"arguments":[{"declarations":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"coreDirectives"}},"exports":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"coreDirectives"}}}]}],"statics":{"forRoot":{"__symbolic":"function","parameters":["lazyMapsAPILoaderConfig"],"value":{"ngModule":{"__symbolic":"reference","name":"AgmCoreModule"},"providers":[{"__symbolic":"spread","expression":{"__symbolic":"reference","module":"./utils/browser-globals","name":"BROWSER_GLOBALS_PROVIDERS","line":41,"character":11}},{"provide":{"__symbolic":"reference","module":"./services/maps-api-loader/maps-api-loader","name":"MapsAPILoader","line":41,"character":48},"useClass":{"__symbolic":"reference","module":"./services/maps-api-loader/lazy-maps-api-loader","name":"LazyMapsAPILoader","line":41,"character":73}},{"provide":{"__symbolic":"reference","module":"./services/maps-api-loader/lazy-maps-api-loader","name":"LAZY_MAPS_API_CONFIG","line":42,"character":18},"useValue":{"__symbolic":"reference","name":"lazyMapsAPILoaderConfig"}}]}}}}}}]

@@ -127,4 +127,4 @@ import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChange } from '@angular/core';

}): void;
private _updateCircleOptionsChanges(changes);
private _registerEventListeners();
private _updateCircleOptionsChanges;
private _registerEventListeners;
/** @internal */

@@ -131,0 +131,0 @@ ngOnDestroy(): void;

@@ -0,1 +1,10 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Directive, EventEmitter, Input, Output } from '@angular/core';

@@ -7,83 +16,83 @@ import { CircleManager } from '../services/managers/circle-manager';

/**
* Indicates whether this Circle handles mouse events. Defaults to true.
*/
* Indicates whether this Circle handles mouse events. Defaults to true.
*/
this.clickable = true;
/**
* If set to true, the user can drag this circle over the map. Defaults to false.
*/
* If set to true, the user can drag this circle over the map. Defaults to false.
*/
// tslint:disable-next-line:no-input-rename
this.draggable = false;
/**
* If set to true, the user can edit this circle by dragging the control points shown at
* the center and around the circumference of the circle. Defaults to false.
*/
* If set to true, the user can edit this circle by dragging the control points shown at
* the center and around the circumference of the circle. Defaults to false.
*/
this.editable = false;
/**
* The radius in meters on the Earth's surface.
*/
* The radius in meters on the Earth's surface.
*/
this.radius = 0;
/**
* The stroke position. Defaults to CENTER.
* This property is not supported on Internet Explorer 8 and earlier.
*/
* The stroke position. Defaults to CENTER.
* This property is not supported on Internet Explorer 8 and earlier.
*/
this.strokePosition = 'CENTER';
/**
* The stroke width in pixels.
*/
* The stroke width in pixels.
*/
this.strokeWeight = 0;
/**
* Whether this circle is visible on the map. Defaults to true.
*/
* Whether this circle is visible on the map. Defaults to true.
*/
this.visible = true;
/**
* This event is fired when the circle's center is changed.
*/
* This event is fired when the circle's center is changed.
*/
this.centerChange = new EventEmitter();
/**
* This event emitter gets emitted when the user clicks on the circle.
*/
* This event emitter gets emitted when the user clicks on the circle.
*/
this.circleClick = new EventEmitter();
/**
* This event emitter gets emitted when the user clicks on the circle.
*/
* This event emitter gets emitted when the user clicks on the circle.
*/
this.circleDblClick = new EventEmitter();
/**
* This event is repeatedly fired while the user drags the circle.
*/
* This event is repeatedly fired while the user drags the circle.
*/
this.drag = new EventEmitter();
/**
* This event is fired when the user stops dragging the circle.
*/
* This event is fired when the user stops dragging the circle.
*/
this.dragEnd = new EventEmitter();
/**
* This event is fired when the user starts dragging the circle.
*/
* This event is fired when the user starts dragging the circle.
*/
this.dragStart = new EventEmitter();
/**
* This event is fired when the DOM mousedown event is fired on the circle.
*/
* This event is fired when the DOM mousedown event is fired on the circle.
*/
this.mouseDown = new EventEmitter();
/**
* This event is fired when the DOM mousemove event is fired on the circle.
*/
* This event is fired when the DOM mousemove event is fired on the circle.
*/
this.mouseMove = new EventEmitter();
/**
* This event is fired on circle mouseout.
*/
* This event is fired on circle mouseout.
*/
this.mouseOut = new EventEmitter();
/**
* This event is fired on circle mouseover.
*/
* This event is fired on circle mouseover.
*/
this.mouseOver = new EventEmitter();
/**
* This event is fired when the DOM mouseup event is fired on the circle.
*/
* This event is fired when the DOM mouseup event is fired on the circle.
*/
this.mouseUp = new EventEmitter();
/**
* This event is fired when the circle's radius is changed.
*/
* This event is fired when the circle's radius is changed.
*/
this.radiusChange = new EventEmitter();
/**
* This event is fired when the circle is right-clicked on.
*/
* This event is fired when the circle is right-clicked on.
*/
this.rightClick = new EventEmitter();

@@ -93,6 +102,5 @@ this._circleAddedToManager = false;

}
AgmCircle_1 = AgmCircle;
/** @internal */
/** @internal */
AgmCircle.prototype.ngOnInit = /** @internal */
function () {
AgmCircle.prototype.ngOnInit = function () {
this._manager.addCircle(this);

@@ -103,5 +111,3 @@ this._circleAddedToManager = true;

/** @internal */
/** @internal */
AgmCircle.prototype.ngOnChanges = /** @internal */
function (changes) {
AgmCircle.prototype.ngOnChanges = function (changes) {
if (!this._circleAddedToManager) {

@@ -129,3 +135,3 @@ return;

var options = {};
var optionKeys = Object.keys(changes).filter(function (k) { return AgmCircle._mapOptions.indexOf(k) !== -1; });
var optionKeys = Object.keys(changes).filter(function (k) { return AgmCircle_1._mapOptions.indexOf(k) !== -1; });
optionKeys.forEach(function (k) { options[k] = changes[k].currentValue; });

@@ -144,3 +150,3 @@ if (optionKeys.length > 0) {

events.set('dragend', this.dragEnd);
events.set('dragStart', this.dragStart);
events.set('dragstart', this.dragStart);
events.set('mousedown', this.mouseDown);

@@ -171,5 +177,3 @@ events.set('mousemove', this.mouseMove);

/** @internal */
/** @internal */
AgmCircle.prototype.ngOnDestroy = /** @internal */
function () {
AgmCircle.prototype.ngOnDestroy = function () {
this._eventSubscriptions.forEach(function (s) { s.unsubscribe(); });

@@ -182,10 +186,5 @@ this._eventSubscriptions = null;

*/
/**
* Gets the LatLngBounds of this Circle.
*/
AgmCircle.prototype.getBounds = /**
* Gets the LatLngBounds of this Circle.
*/
function () { return this._manager.getBounds(this); };
AgmCircle.prototype.getBounds = function () { return this._manager.getBounds(this); };
AgmCircle.prototype.getCenter = function () { return this._manager.getCenter(this); };
var AgmCircle_1;
AgmCircle._mapOptions = [

@@ -195,40 +194,116 @@ 'fillColor', 'fillOpacity', 'strokeColor', 'strokeOpacity', 'strokePosition', 'strokeWeight',

];
AgmCircle.decorators = [
{ type: Directive, args: [{
selector: 'agm-circle'
},] },
];
/** @nocollapse */
AgmCircle.ctorParameters = function () { return [
{ type: CircleManager, },
]; };
AgmCircle.propDecorators = {
"latitude": [{ type: Input },],
"longitude": [{ type: Input },],
"clickable": [{ type: Input },],
"draggable": [{ type: Input, args: ['circleDraggable',] },],
"editable": [{ type: Input },],
"fillColor": [{ type: Input },],
"fillOpacity": [{ type: Input },],
"radius": [{ type: Input },],
"strokeColor": [{ type: Input },],
"strokeOpacity": [{ type: Input },],
"strokePosition": [{ type: Input },],
"strokeWeight": [{ type: Input },],
"visible": [{ type: Input },],
"zIndex": [{ type: Input },],
"centerChange": [{ type: Output },],
"circleClick": [{ type: Output },],
"circleDblClick": [{ type: Output },],
"drag": [{ type: Output },],
"dragEnd": [{ type: Output },],
"dragStart": [{ type: Output },],
"mouseDown": [{ type: Output },],
"mouseMove": [{ type: Output },],
"mouseOut": [{ type: Output },],
"mouseOver": [{ type: Output },],
"mouseUp": [{ type: Output },],
"radiusChange": [{ type: Output },],
"rightClick": [{ type: Output },],
};
__decorate([
Input(),
__metadata("design:type", Number)
], AgmCircle.prototype, "latitude", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmCircle.prototype, "longitude", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmCircle.prototype, "clickable", void 0);
__decorate([
Input('circleDraggable'),
__metadata("design:type", Boolean)
], AgmCircle.prototype, "draggable", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmCircle.prototype, "editable", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmCircle.prototype, "fillColor", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmCircle.prototype, "fillOpacity", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmCircle.prototype, "radius", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmCircle.prototype, "strokeColor", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmCircle.prototype, "strokeOpacity", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmCircle.prototype, "strokePosition", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmCircle.prototype, "strokeWeight", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmCircle.prototype, "visible", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmCircle.prototype, "zIndex", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmCircle.prototype, "centerChange", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmCircle.prototype, "circleClick", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmCircle.prototype, "circleDblClick", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmCircle.prototype, "drag", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmCircle.prototype, "dragEnd", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmCircle.prototype, "dragStart", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmCircle.prototype, "mouseDown", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmCircle.prototype, "mouseMove", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmCircle.prototype, "mouseOut", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmCircle.prototype, "mouseOver", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmCircle.prototype, "mouseUp", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmCircle.prototype, "radiusChange", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmCircle.prototype, "rightClick", void 0);
AgmCircle = AgmCircle_1 = __decorate([
Directive({
selector: 'agm-circle'
}),
__metadata("design:paramtypes", [CircleManager])
], AgmCircle);
return AgmCircle;

@@ -235,0 +310,0 @@ }());

@@ -214,3 +214,3 @@ import { EventEmitter, OnDestroy, OnInit, OnChanges, SimpleChanges } from '@angular/core';

ngOnInit(): void;
private _addEventListeners();
private _addEventListeners;
/** @internal */

@@ -217,0 +217,0 @@ id(): string;

@@ -0,1 +1,10 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Directive, EventEmitter, Input, Output } from '@angular/core';

@@ -201,10 +210,11 @@ import { DataLayerManager } from './../services/managers/data-layer-manager';

/**
* This event is fired when a feature in the layer is clicked.
*/
* This event is fired when a feature in the layer is clicked.
*/
this.layerClick = new EventEmitter();
/**
* The geoJson to be displayed
*/
* The geoJson to be displayed
*/
this.geoJson = null;
}
AgmDataLayer_1 = AgmDataLayer;
AgmDataLayer.prototype.ngOnInit = function () {

@@ -229,13 +239,7 @@ if (this._addedToManager) {

/** @internal */
AgmDataLayer.prototype.id = function () { return this._id; };
/** @internal */
AgmDataLayer.prototype.id = /** @internal */
function () { return this._id; };
AgmDataLayer.prototype.toString = function () { return "AgmDataLayer-" + this._id.toString(); };
/** @internal */
/** @internal */
AgmDataLayer.prototype.toString = /** @internal */
function () { return "AgmDataLayer-" + this._id.toString(); };
/** @internal */
/** @internal */
AgmDataLayer.prototype.ngOnDestroy = /** @internal */
function () {
AgmDataLayer.prototype.ngOnDestroy = function () {
this._manager.deleteDataLayer(this);

@@ -246,5 +250,3 @@ // unsubscribe all registered observable subscriptions

/** @internal */
/** @internal */
AgmDataLayer.prototype.ngOnChanges = /** @internal */
function (changes) {
AgmDataLayer.prototype.ngOnChanges = function (changes) {
var _this = this;

@@ -259,20 +261,25 @@ if (!this._addedToManager) {

var dataOptions = {};
AgmDataLayer._dataOptionsAttributes.forEach(function (k) { return dataOptions[k] = changes.hasOwnProperty(k) ? changes[k].currentValue : _this[k]; });
AgmDataLayer_1._dataOptionsAttributes.forEach(function (k) { return dataOptions[k] = changes.hasOwnProperty(k) ? changes[k].currentValue : _this[k]; });
this._manager.setDataOptions(this, dataOptions);
};
var AgmDataLayer_1;
AgmDataLayer._dataOptionsAttributes = ['style'];
AgmDataLayer.decorators = [
{ type: Directive, args: [{
selector: 'agm-data-layer'
},] },
];
/** @nocollapse */
AgmDataLayer.ctorParameters = function () { return [
{ type: DataLayerManager, },
]; };
AgmDataLayer.propDecorators = {
"layerClick": [{ type: Output },],
"geoJson": [{ type: Input },],
"style": [{ type: Input },],
};
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmDataLayer.prototype, "layerClick", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmDataLayer.prototype, "geoJson", void 0);
__decorate([
Input(),
__metadata("design:type", Function)
], AgmDataLayer.prototype, "style", void 0);
AgmDataLayer = AgmDataLayer_1 = __decorate([
Directive({
selector: 'agm-data-layer'
}),
__metadata("design:paramtypes", [DataLayerManager])
], AgmDataLayer);
return AgmDataLayer;

@@ -279,0 +286,0 @@ }());

@@ -28,3 +28,3 @@ import { OnInit, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';

ngOnInit(): void;
private _updateBounds(newFitBoundsDetails?);
private _updateBounds;
/**

@@ -31,0 +31,0 @@ * @internal

@@ -0,1 +1,13 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __param = (this && this.__param) || function (paramIndex, decorator) {
return function (target, key) { decorator(target, key, paramIndex); }
};
import { Directive, Self, Input } from '@angular/core';

@@ -16,5 +28,5 @@ import { FitBoundsService, FitBoundsAccessor } from '../services/fit-bounds';

/**
* If the value is true, the element gets added to the bounds of the map.
* Default: true.
*/
* If the value is true, the element gets added to the bounds of the map.
* Default: true.
*/
this.agmFitBounds = true;

@@ -27,9 +39,3 @@ this._destroyed$ = new Subject();

*/
/**
* @internal
*/
AgmFitBounds.prototype.ngOnChanges = /**
* @internal
*/
function (changes) {
AgmFitBounds.prototype.ngOnChanges = function (changes) {
this._updateBounds();

@@ -40,9 +46,3 @@ };

*/
/**
* @internal
*/
AgmFitBounds.prototype.ngOnInit = /**
* @internal
*/
function () {
AgmFitBounds.prototype.ngOnInit = function () {
var _this = this;

@@ -73,9 +73,3 @@ this._fitBoundsAccessor

*/
/**
* @internal
*/
AgmFitBounds.prototype.ngOnDestroy = /**
* @internal
*/
function () {
AgmFitBounds.prototype.ngOnDestroy = function () {
this._destroyed$.next();

@@ -87,15 +81,14 @@ this._destroyed$.complete();

};
AgmFitBounds.decorators = [
{ type: Directive, args: [{
selector: '[agmFitBounds]'
},] },
];
/** @nocollapse */
AgmFitBounds.ctorParameters = function () { return [
{ type: FitBoundsAccessor, decorators: [{ type: Self },] },
{ type: FitBoundsService, },
]; };
AgmFitBounds.propDecorators = {
"agmFitBounds": [{ type: Input },],
};
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmFitBounds.prototype, "agmFitBounds", void 0);
AgmFitBounds = __decorate([
Directive({
selector: '[agmFitBounds]'
}),
__param(0, Self()),
__metadata("design:paramtypes", [FitBoundsAccessor,
FitBoundsService])
], AgmFitBounds);
return AgmFitBounds;

@@ -102,0 +95,0 @@ }());

@@ -86,5 +86,5 @@ import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChange } from '@angular/core';

}): void;
private _registerEventListeners();
private _updateOpenState();
private _setInfoWindowOptions(changes);
private _registerEventListeners;
private _updateOpenState;
private _setInfoWindowOptions;
/**

@@ -91,0 +91,0 @@ * Opens the info window.

@@ -0,1 +1,10 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Component, ElementRef, EventEmitter, Output, Input } from '@angular/core';

@@ -35,8 +44,8 @@ import { InfoWindowManager } from '../services/managers/info-window-manager';

/**
* Sets the open state for the InfoWindow. You can also call the open() and close() methods.
*/
* Sets the open state for the InfoWindow. You can also call the open() and close() methods.
*/
this.isOpen = false;
/**
* Emits an event when the info window is closed.
*/
* Emits an event when the info window is closed.
*/
this.infoWindowClose = new EventEmitter();

@@ -46,2 +55,3 @@ this._infoWindowAddedToManager = false;

}
AgmInfoWindow_1 = AgmInfoWindow;
AgmInfoWindow.prototype.ngOnInit = function () {

@@ -55,5 +65,3 @@ this.content = this._el.nativeElement.querySelector('.agm-info-window-content');

/** @internal */
/** @internal */
AgmInfoWindow.prototype.ngOnChanges = /** @internal */
function (changes) {
AgmInfoWindow.prototype.ngOnChanges = function (changes) {
if (!this._infoWindowAddedToManager) {

@@ -86,3 +94,3 @@ return;

var options = {};
var optionKeys = Object.keys(changes).filter(function (k) { return AgmInfoWindow._infoWindowOptionsInputs.indexOf(k) !== -1; });
var optionKeys = Object.keys(changes).filter(function (k) { return AgmInfoWindow_1._infoWindowOptionsInputs.indexOf(k) !== -1; });
optionKeys.forEach(function (k) { options[k] = changes[k].currentValue; });

@@ -94,19 +102,7 @@ this._infoWindowManager.setOptions(this, options);

*/
AgmInfoWindow.prototype.open = function () { return this._infoWindowManager.open(this); };
/**
* Opens the info window.
*/
AgmInfoWindow.prototype.open = /**
* Opens the info window.
*/
function () { return this._infoWindowManager.open(this); };
/**
* Closes the info window.
*/
/**
* Closes the info window.
*/
AgmInfoWindow.prototype.close = /**
* Closes the info window.
*/
function () {
AgmInfoWindow.prototype.close = function () {
var _this = this;

@@ -116,34 +112,44 @@ return this._infoWindowManager.close(this).then(function () { _this.infoWindowClose.emit(); });

/** @internal */
AgmInfoWindow.prototype.id = function () { return this._id; };
/** @internal */
AgmInfoWindow.prototype.id = /** @internal */
function () { return this._id; };
AgmInfoWindow.prototype.toString = function () { return 'AgmInfoWindow-' + this._id.toString(); };
/** @internal */
/** @internal */
AgmInfoWindow.prototype.toString = /** @internal */
function () { return 'AgmInfoWindow-' + this._id.toString(); };
/** @internal */
/** @internal */
AgmInfoWindow.prototype.ngOnDestroy = /** @internal */
function () { this._infoWindowManager.deleteInfoWindow(this); };
AgmInfoWindow.prototype.ngOnDestroy = function () { this._infoWindowManager.deleteInfoWindow(this); };
var AgmInfoWindow_1;
AgmInfoWindow._infoWindowOptionsInputs = ['disableAutoPan', 'maxWidth'];
AgmInfoWindow.decorators = [
{ type: Component, args: [{
selector: 'agm-info-window',
template: "<div class='agm-info-window-content'>\n <ng-content></ng-content>\n </div>\n "
},] },
];
/** @nocollapse */
AgmInfoWindow.ctorParameters = function () { return [
{ type: InfoWindowManager, },
{ type: ElementRef, },
]; };
AgmInfoWindow.propDecorators = {
"latitude": [{ type: Input },],
"longitude": [{ type: Input },],
"disableAutoPan": [{ type: Input },],
"zIndex": [{ type: Input },],
"maxWidth": [{ type: Input },],
"isOpen": [{ type: Input },],
"infoWindowClose": [{ type: Output },],
};
__decorate([
Input(),
__metadata("design:type", Number)
], AgmInfoWindow.prototype, "latitude", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmInfoWindow.prototype, "longitude", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmInfoWindow.prototype, "disableAutoPan", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmInfoWindow.prototype, "zIndex", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmInfoWindow.prototype, "maxWidth", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmInfoWindow.prototype, "isOpen", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmInfoWindow.prototype, "infoWindowClose", void 0);
AgmInfoWindow = AgmInfoWindow_1 = __decorate([
Component({
selector: 'agm-info-window',
template: "<div class='agm-info-window-content'>\n <ng-content></ng-content>\n </div>\n "
}),
__metadata("design:paramtypes", [InfoWindowManager, ElementRef])
], AgmInfoWindow);
return AgmInfoWindow;

@@ -150,0 +156,0 @@ }());

@@ -1,1 +0,1 @@

{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"latitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"longitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"disableAutoPan":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"zIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"maxWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"isOpen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"infoWindowClose":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":3,"members":[]},{"__symbol":4,"members":[]}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"_registerEventListeners":[{"__symbolic":"method"}],"_updateOpenState":[{"__symbolic":"method"}],"_setInfoWindowOptions":[{"__symbolic":"method"}],"open":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"id":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]},"statics":{"_infoWindowOptionsInputs":["disableAutoPan","maxWidth"]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":3,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}}],"lifecycleHooks":[0,1,3]},"isComponent":true,"selector":"agm-info-window","exportAs":null,"inputs":{"latitude":"latitude","longitude":"longitude","disableAutoPan":"disableAutoPan","zIndex":"zIndex","maxWidth":"maxWidth","isOpen":"isOpen"},"outputs":{"infoWindowClose":"infoWindowClose"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":["*"],"encapsulation":2},"componentViewType":{"__symbol":5,"members":[]},"rendererType":{"__symbol":6,"members":[]},"componentFactory":{"__symbol":7,"members":[]}}}],"symbols":[{"__symbol":0,"name":"AgmInfoWindow","filePath":"./info-window"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"InfoWindowManager","filePath":"../services/managers/info-window-manager"},{"__symbol":4,"name":"ElementRef","filePath":"@angular/core"},{"__symbol":5,"name":"View_AgmInfoWindow_0","filePath":"./info-window.ngfactory"},{"__symbol":6,"name":"RenderType_AgmInfoWindow","filePath":"./info-window.ngfactory"},{"__symbol":7,"name":"AgmInfoWindowNgFactory","filePath":"./info-window.ngfactory"}]}
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"latitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"longitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"disableAutoPan":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"zIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"maxWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"isOpen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"infoWindowClose":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":3,"members":[]},{"__symbol":4,"members":[]}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"_registerEventListeners":[{"__symbolic":"method"}],"_updateOpenState":[{"__symbolic":"method"}],"_setInfoWindowOptions":[{"__symbolic":"method"}],"open":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"id":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]},"statics":{"_infoWindowOptionsInputs":["disableAutoPan","maxWidth"]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":3,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}}],"lifecycleHooks":[0,1,3]},"isComponent":true,"selector":"agm-info-window","exportAs":null,"inputs":{"latitude":"latitude","longitude":"longitude","disableAutoPan":"disableAutoPan","zIndex":"zIndex","maxWidth":"maxWidth","isOpen":"isOpen"},"outputs":{"infoWindowClose":"infoWindowClose"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":["*"],"encapsulation":2,"styles":[],"animations":[]},"componentViewType":{"__symbol":5,"members":[]},"rendererType":{"__symbol":6,"members":[]},"componentFactory":{"__symbol":7,"members":[]}}}],"symbols":[{"__symbol":0,"name":"AgmInfoWindow","filePath":"./info-window"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"InfoWindowManager","filePath":"../services/managers/info-window-manager"},{"__symbol":4,"name":"ElementRef","filePath":"@angular/core"},{"__symbol":5,"name":"View_AgmInfoWindow_0","filePath":"./info-window.ngfactory"},{"__symbol":6,"name":"RenderType_AgmInfoWindow","filePath":"./info-window.ngfactory"},{"__symbol":7,"name":"AgmInfoWindowNgFactory","filePath":"./info-window.ngfactory"}]}

@@ -54,4 +54,4 @@ import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';

ngOnChanges(changes: SimpleChanges): void;
private _updatePolygonOptions(changes);
private _addEventListeners();
private _updatePolygonOptions;
private _addEventListeners;
/** @internal */

@@ -58,0 +58,0 @@ id(): string;

@@ -0,1 +1,10 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Directive, EventEmitter, Input, Output } from '@angular/core';

@@ -11,43 +20,44 @@ import { KmlLayerManager } from './../services/managers/kml-layer-manager';

/**
* If true, the layer receives mouse events. Default value is true.
*/
* If true, the layer receives mouse events. Default value is true.
*/
this.clickable = true;
/**
* By default, the input map is centered and zoomed to the bounding box of the contents of the
* layer.
* If this option is set to true, the viewport is left unchanged, unless the map's center and zoom
* were never set.
*/
* By default, the input map is centered and zoomed to the bounding box of the contents of the
* layer.
* If this option is set to true, the viewport is left unchanged, unless the map's center and zoom
* were never set.
*/
this.preserveViewport = false;
/**
* Whether to render the screen overlays. Default true.
*/
* Whether to render the screen overlays. Default true.
*/
this.screenOverlays = true;
/**
* Suppress the rendering of info windows when layer features are clicked.
*/
* Suppress the rendering of info windows when layer features are clicked.
*/
this.suppressInfoWindows = false;
/**
* The URL of the KML document to display.
*/
* The URL of the KML document to display.
*/
this.url = null;
/**
* The z-index of the layer.
*/
* The z-index of the layer.
*/
this.zIndex = null;
/**
* This event is fired when a feature in the layer is clicked.
*/
* This event is fired when a feature in the layer is clicked.
*/
this.layerClick = new EventEmitter();
/**
* This event is fired when the KML layers default viewport has changed.
*/
* This event is fired when the KML layers default viewport has changed.
*/
this.defaultViewportChange = new EventEmitter();
/**
* This event is fired when the KML layer has finished loading.
* At this point it is safe to read the status property to determine if the layer loaded
* successfully.
*/
* This event is fired when the KML layer has finished loading.
* At this point it is safe to read the status property to determine if the layer loaded
* successfully.
*/
this.statusChange = new EventEmitter();
}
AgmKmlLayer_1 = AgmKmlLayer;
AgmKmlLayer.prototype.ngOnInit = function () {

@@ -69,3 +79,3 @@ if (this._addedToManager) {

var options = Object.keys(changes)
.filter(function (k) { return AgmKmlLayer._kmlLayerOptions.indexOf(k) !== -1; })
.filter(function (k) { return AgmKmlLayer_1._kmlLayerOptions.indexOf(k) !== -1; })
.reduce(function (obj, k) {

@@ -92,13 +102,7 @@ obj[k] = changes[k].currentValue;

/** @internal */
AgmKmlLayer.prototype.id = function () { return this._id; };
/** @internal */
AgmKmlLayer.prototype.id = /** @internal */
function () { return this._id; };
AgmKmlLayer.prototype.toString = function () { return "AgmKmlLayer-" + this._id.toString(); };
/** @internal */
/** @internal */
AgmKmlLayer.prototype.toString = /** @internal */
function () { return "AgmKmlLayer-" + this._id.toString(); };
/** @internal */
/** @internal */
AgmKmlLayer.prototype.ngOnDestroy = /** @internal */
function () {
AgmKmlLayer.prototype.ngOnDestroy = function () {
this._manager.deleteKmlLayer(this);

@@ -108,23 +112,46 @@ // unsubscribe all registered observable subscriptions

};
var AgmKmlLayer_1;
AgmKmlLayer._kmlLayerOptions = ['clickable', 'preserveViewport', 'screenOverlays', 'suppressInfoWindows', 'url', 'zIndex'];
AgmKmlLayer.decorators = [
{ type: Directive, args: [{
selector: 'agm-kml-layer'
},] },
];
/** @nocollapse */
AgmKmlLayer.ctorParameters = function () { return [
{ type: KmlLayerManager, },
]; };
AgmKmlLayer.propDecorators = {
"clickable": [{ type: Input },],
"preserveViewport": [{ type: Input },],
"screenOverlays": [{ type: Input },],
"suppressInfoWindows": [{ type: Input },],
"url": [{ type: Input },],
"zIndex": [{ type: Input },],
"layerClick": [{ type: Output },],
"defaultViewportChange": [{ type: Output },],
"statusChange": [{ type: Output },],
};
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmKmlLayer.prototype, "clickable", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmKmlLayer.prototype, "preserveViewport", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmKmlLayer.prototype, "screenOverlays", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmKmlLayer.prototype, "suppressInfoWindows", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmKmlLayer.prototype, "url", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmKmlLayer.prototype, "zIndex", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmKmlLayer.prototype, "layerClick", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmKmlLayer.prototype, "defaultViewportChange", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmKmlLayer.prototype, "statusChange", void 0);
AgmKmlLayer = AgmKmlLayer_1 = __decorate([
Directive({
selector: 'agm-kml-layer'
}),
__metadata("design:paramtypes", [KmlLayerManager])
], AgmKmlLayer);
return AgmKmlLayer;

@@ -131,0 +158,0 @@ }());

import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
import { MouseEvent } from '../map-types';
import { GoogleMapsAPIWrapper } from '../services/google-maps-api-wrapper';
import { FullscreenControlOptions, LatLngLiteral, MapTypeControlOptions, MapTypeId, PanControlOptions, RotateControlOptions, ScaleControlOptions, StreetViewControlOptions, ZoomControlOptions } from '../services/google-maps-types';
import { FullscreenControlOptions, LatLngLiteral, MapTypeControlOptions, MapTypeId, PanControlOptions, MapRestriction, RotateControlOptions, ScaleControlOptions, StreetViewControlOptions, ZoomControlOptions } from '../services/google-maps-types';
import { LatLngBounds, LatLngBoundsLiteral, MapTypeStyle } from '../services/google-maps-types';

@@ -190,2 +190,7 @@ import { FitBoundsService } from '../services/fit-bounds';

/**
* Options for restricting the bounds of the map.
* User cannot pan or zoom away from restricted area.
*/
restriction: MapRestriction;
/**
* Map option attributes that can change over time

@@ -239,7 +244,7 @@ */

ngOnInit(): void;
private _initMapInstance(el);
private _initMapInstance;
/** @internal */
ngOnDestroy(): void;
ngOnChanges(changes: SimpleChanges): void;
private _updateMapOptionsChanges(changes);
private _updateMapOptionsChanges;
/**

@@ -251,14 +256,14 @@ * Triggers a resize event on the google map instance.

triggerResize(recenter?: boolean): Promise<void>;
private _updatePosition(changes);
private _setCenter();
private _fitBounds();
private _subscribeToFitBoundsUpdates();
private _updatePosition;
private _setCenter;
private _fitBounds;
private _subscribeToFitBoundsUpdates;
protected _updateBounds(bounds: LatLngBounds | LatLngBoundsLiteral): void;
private _isLatLngBoundsLiteral(bounds);
private _handleMapCenterChange();
private _handleBoundsChange();
private _handleMapTypeIdChange();
private _handleMapZoomChange();
private _handleIdleEvent();
private _handleMapMouseEvents();
private _isLatLngBoundsLiteral;
private _handleMapCenterChange;
private _handleBoundsChange;
private _handleMapTypeIdChange;
private _handleMapZoomChange;
private _handleIdleEvent;
private _handleMapMouseEvents;
}

@@ -0,1 +1,10 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Component, ElementRef, EventEmitter, Input, Output } from '@angular/core';

@@ -41,146 +50,145 @@ import { GoogleMapsAPIWrapper } from '../services/google-maps-api-wrapper';

/**
* The longitude that defines the center of the map.
*/
* The longitude that defines the center of the map.
*/
this.longitude = 0;
/**
* The latitude that defines the center of the map.
*/
* The latitude that defines the center of the map.
*/
this.latitude = 0;
/**
* The zoom level of the map. The default zoom level is 8.
*/
* The zoom level of the map. The default zoom level is 8.
*/
this.zoom = 8;
/**
* Enables/disables if map is draggable.
*/
* Enables/disables if map is draggable.
*/
// tslint:disable-next-line:no-input-rename
this.draggable = true;
/**
* Enables/disables zoom and center on double click. Enabled by default.
*/
* Enables/disables zoom and center on double click. Enabled by default.
*/
this.disableDoubleClickZoom = false;
/**
* Enables/disables all default UI of the Google map. Please note: When the map is created, this
* value cannot get updated.
*/
* Enables/disables all default UI of the Google map. Please note: When the map is created, this
* value cannot get updated.
*/
this.disableDefaultUI = false;
/**
* If false, disables scrollwheel zooming on the map. The scrollwheel is enabled by default.
*/
* If false, disables scrollwheel zooming on the map. The scrollwheel is enabled by default.
*/
this.scrollwheel = true;
/**
* If false, prevents the map from being controlled by the keyboard. Keyboard shortcuts are
* enabled by default.
*/
* If false, prevents the map from being controlled by the keyboard. Keyboard shortcuts are
* enabled by default.
*/
this.keyboardShortcuts = true;
/**
* The enabled/disabled state of the Zoom control.
*/
* The enabled/disabled state of the Zoom control.
*/
this.zoomControl = true;
/**
* Styles to apply to each of the default map types. Note that for Satellite/Hybrid and Terrain
* modes, these styles will only apply to labels and geometry.
*/
* Styles to apply to each of the default map types. Note that for Satellite/Hybrid and Terrain
* modes, these styles will only apply to labels and geometry.
*/
this.styles = [];
/**
* When true and the latitude and/or longitude values changes, the Google Maps panTo method is
* used to
* center the map. See: https://developers.google.com/maps/documentation/javascript/reference#Map
*/
* When true and the latitude and/or longitude values changes, the Google Maps panTo method is
* used to
* center the map. See: https://developers.google.com/maps/documentation/javascript/reference#Map
*/
this.usePanning = false;
/**
* The initial enabled/disabled state of the Street View Pegman control.
* This control is part of the default UI, and should be set to false when displaying a map type
* on which the Street View road overlay should not appear (e.g. a non-Earth map type).
*/
* The initial enabled/disabled state of the Street View Pegman control.
* This control is part of the default UI, and should be set to false when displaying a map type
* on which the Street View road overlay should not appear (e.g. a non-Earth map type).
*/
this.streetViewControl = true;
/**
* Sets the viewport to contain the given bounds.
* If this option to `true`, the bounds get automatically computed from all elements that use the {@link AgmFitBounds} directive.
*/
* Sets the viewport to contain the given bounds.
* If this option to `true`, the bounds get automatically computed from all elements that use the {@link AgmFitBounds} directive.
*/
this.fitBounds = false;
/**
* The initial enabled/disabled state of the Scale control. This is disabled by default.
*/
* The initial enabled/disabled state of the Scale control. This is disabled by default.
*/
this.scaleControl = false;
/**
* The initial enabled/disabled state of the Map type control.
*/
* The initial enabled/disabled state of the Map type control.
*/
this.mapTypeControl = false;
/**
* The initial enabled/disabled state of the Pan control.
*/
* The initial enabled/disabled state of the Pan control.
*/
this.panControl = false;
/**
* The initial enabled/disabled state of the Rotate control.
*/
* The initial enabled/disabled state of the Rotate control.
*/
this.rotateControl = false;
/**
* The initial enabled/disabled state of the Fullscreen control.
*/
* The initial enabled/disabled state of the Fullscreen control.
*/
this.fullscreenControl = false;
/**
* The map mapTypeId. Defaults to 'roadmap'.
*/
* The map mapTypeId. Defaults to 'roadmap'.
*/
this.mapTypeId = 'roadmap';
/**
* When false, map icons are not clickable. A map icon represents a point of interest,
* also known as a POI. By default map icons are clickable.
*/
* When false, map icons are not clickable. A map icon represents a point of interest,
* also known as a POI. By default map icons are clickable.
*/
this.clickableIcons = true;
/**
* This setting controls how gestures on the map are handled.
* Allowed values:
* - 'cooperative' (Two-finger touch gestures pan and zoom the map. One-finger touch gestures are not handled by the map.)
* - 'greedy' (All touch gestures pan or zoom the map.)
* - 'none' (The map cannot be panned or zoomed by user gestures.)
* - 'auto' [default] (Gesture handling is either cooperative or greedy, depending on whether the page is scrollable or not.
*/
* This setting controls how gestures on the map are handled.
* Allowed values:
* - 'cooperative' (Two-finger touch gestures pan and zoom the map. One-finger touch gestures are not handled by the map.)
* - 'greedy' (All touch gestures pan or zoom the map.)
* - 'none' (The map cannot be panned or zoomed by user gestures.)
* - 'auto' [default] (Gesture handling is either cooperative or greedy, depending on whether the page is scrollable or not.
*/
this.gestureHandling = 'auto';
this._observableSubscriptions = [];
/**
* This event emitter gets emitted when the user clicks on the map (but not when they click on a
* marker or infoWindow).
*/
* This event emitter gets emitted when the user clicks on the map (but not when they click on a
* marker or infoWindow).
*/
this.mapClick = new EventEmitter();
/**
* This event emitter gets emitted when the user right-clicks on the map (but not when they click
* on a marker or infoWindow).
*/
* This event emitter gets emitted when the user right-clicks on the map (but not when they click
* on a marker or infoWindow).
*/
this.mapRightClick = new EventEmitter();
/**
* This event emitter gets emitted when the user double-clicks on the map (but not when they click
* on a marker or infoWindow).
*/
* This event emitter gets emitted when the user double-clicks on the map (but not when they click
* on a marker or infoWindow).
*/
this.mapDblClick = new EventEmitter();
/**
* This event emitter is fired when the map center changes.
*/
* This event emitter is fired when the map center changes.
*/
this.centerChange = new EventEmitter();
/**
* This event is fired when the viewport bounds have changed.
*/
* This event is fired when the viewport bounds have changed.
*/
this.boundsChange = new EventEmitter();
/**
* This event is fired when the mapTypeId property changes.
*/
* This event is fired when the mapTypeId property changes.
*/
this.mapTypeIdChange = new EventEmitter();
/**
* This event is fired when the map becomes idle after panning or zooming.
*/
* This event is fired when the map becomes idle after panning or zooming.
*/
this.idle = new EventEmitter();
/**
* This event is fired when the zoom level has changed.
*/
* This event is fired when the zoom level has changed.
*/
this.zoomChange = new EventEmitter();
/**
* This event is fired when the google map is fully initialized.
* You get the google.maps.Map instance as a result of this EventEmitter.
*/
* This event is fired when the google map is fully initialized.
* You get the google.maps.Map instance as a result of this EventEmitter.
*/
this.mapReady = new EventEmitter();
}
AgmMap_1 = AgmMap;
/** @internal */
/** @internal */
AgmMap.prototype.ngOnInit = /** @internal */
function () {
AgmMap.prototype.ngOnInit = function () {
// todo: this should be solved with a new component and a viewChild decorator

@@ -222,3 +230,4 @@ var container = this._elem.nativeElement.querySelector('.agm-map-container-inner');

clickableIcons: this.clickableIcons,
gestureHandling: this.gestureHandling
gestureHandling: this.gestureHandling,
restriction: this.restriction,
})

@@ -236,5 +245,3 @@ .then(function () { return _this._mapsWrapper.getNativeMap(); })

/** @internal */
/** @internal */
AgmMap.prototype.ngOnDestroy = /** @internal */
function () {
AgmMap.prototype.ngOnDestroy = function () {
// unsubscribe all registered observable subscriptions

@@ -249,5 +256,3 @@ this._observableSubscriptions.forEach(function (s) { return s.unsubscribe(); });

/* @internal */
/* @internal */
AgmMap.prototype.ngOnChanges = /* @internal */
function (changes) {
AgmMap.prototype.ngOnChanges = function (changes) {
this._updateMapOptionsChanges(changes);

@@ -258,3 +263,3 @@ this._updatePosition(changes);

var options = {};
var optionKeys = Object.keys(changes).filter(function (k) { return AgmMap._mapOptionsAttributes.indexOf(k) !== -1; });
var optionKeys = Object.keys(changes).filter(function (k) { return AgmMap_1._mapOptionsAttributes.indexOf(k) !== -1; });
optionKeys.forEach(function (k) { options[k] = changes[k].currentValue; });

@@ -268,13 +273,3 @@ this._mapsWrapper.setMapOptions(options);

*/
/**
* Triggers a resize event on the google map instance.
* When recenter is true, the of the google map gets called with the current lat/lng values or fitBounds value to recenter the map.
* Returns a promise that gets resolved after the event was triggered.
*/
AgmMap.prototype.triggerResize = /**
* Triggers a resize event on the google map instance.
* When recenter is true, the of the google map gets called with the current lat/lng values or fitBounds value to recenter the map.
* Returns a promise that gets resolved after the event was triggered.
*/
function (recenter) {
AgmMap.prototype.triggerResize = function (recenter) {
var _this = this;

@@ -344,3 +339,3 @@ if (recenter === void 0) { recenter = true; }

if (this._isLatLngBoundsLiteral(bounds) && google && google.maps) {
var newBounds = google.maps.LatLngBounds();
var newBounds = new google.maps.LatLngBounds();
newBounds.union(bounds);

@@ -413,5 +408,6 @@ bounds = newBounds;

};
var AgmMap_1;
/**
* Map option attributes that can change over time
*/
* Map option attributes that can change over time
*/
AgmMap._mapOptionsAttributes = [

@@ -423,70 +419,193 @@ 'disableDoubleClickZoom', 'scrollwheel', 'draggable', 'draggableCursor', 'draggingCursor',

'fullscreenControl', 'fullscreenControlOptions', 'scaleControl', 'scaleControlOptions',
'mapTypeId', 'clickableIcons', 'gestureHandling'
'mapTypeId', 'clickableIcons', 'gestureHandling', 'restriction'
];
AgmMap.decorators = [
{ type: Component, args: [{
selector: 'agm-map',
providers: [
GoogleMapsAPIWrapper, MarkerManager, InfoWindowManager, CircleManager, RectangleManager,
PolylineManager, PolygonManager, KmlLayerManager, DataLayerManager, DataLayerManager,
FitBoundsService
],
host: {
// todo: deprecated - we will remove it with the next version
'[class.sebm-google-map-container]': 'true'
},
styles: ["\n .agm-map-container-inner {\n width: inherit;\n height: inherit;\n }\n .agm-map-content {\n display:none;\n }\n "],
template: "\n <div class='agm-map-container-inner sebm-google-map-container-inner'></div>\n <div class='agm-map-content'>\n <ng-content></ng-content>\n </div>\n "
},] },
];
/** @nocollapse */
AgmMap.ctorParameters = function () { return [
{ type: ElementRef, },
{ type: GoogleMapsAPIWrapper, },
{ type: FitBoundsService, },
]; };
AgmMap.propDecorators = {
"longitude": [{ type: Input },],
"latitude": [{ type: Input },],
"zoom": [{ type: Input },],
"minZoom": [{ type: Input },],
"maxZoom": [{ type: Input },],
"draggable": [{ type: Input, args: ['mapDraggable',] },],
"disableDoubleClickZoom": [{ type: Input },],
"disableDefaultUI": [{ type: Input },],
"scrollwheel": [{ type: Input },],
"backgroundColor": [{ type: Input },],
"draggableCursor": [{ type: Input },],
"draggingCursor": [{ type: Input },],
"keyboardShortcuts": [{ type: Input },],
"zoomControl": [{ type: Input },],
"zoomControlOptions": [{ type: Input },],
"styles": [{ type: Input },],
"usePanning": [{ type: Input },],
"streetViewControl": [{ type: Input },],
"streetViewControlOptions": [{ type: Input },],
"fitBounds": [{ type: Input },],
"scaleControl": [{ type: Input },],
"scaleControlOptions": [{ type: Input },],
"mapTypeControl": [{ type: Input },],
"mapTypeControlOptions": [{ type: Input },],
"panControl": [{ type: Input },],
"panControlOptions": [{ type: Input },],
"rotateControl": [{ type: Input },],
"rotateControlOptions": [{ type: Input },],
"fullscreenControl": [{ type: Input },],
"fullscreenControlOptions": [{ type: Input },],
"mapTypeId": [{ type: Input },],
"clickableIcons": [{ type: Input },],
"gestureHandling": [{ type: Input },],
"mapClick": [{ type: Output },],
"mapRightClick": [{ type: Output },],
"mapDblClick": [{ type: Output },],
"centerChange": [{ type: Output },],
"boundsChange": [{ type: Output },],
"mapTypeIdChange": [{ type: Output },],
"idle": [{ type: Output },],
"zoomChange": [{ type: Output },],
"mapReady": [{ type: Output },],
};
__decorate([
Input(),
__metadata("design:type", Number)
], AgmMap.prototype, "longitude", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmMap.prototype, "latitude", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmMap.prototype, "zoom", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmMap.prototype, "minZoom", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmMap.prototype, "maxZoom", void 0);
__decorate([
Input('mapDraggable'),
__metadata("design:type", Boolean)
], AgmMap.prototype, "draggable", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmMap.prototype, "disableDoubleClickZoom", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmMap.prototype, "disableDefaultUI", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmMap.prototype, "scrollwheel", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmMap.prototype, "backgroundColor", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmMap.prototype, "draggableCursor", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmMap.prototype, "draggingCursor", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmMap.prototype, "keyboardShortcuts", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmMap.prototype, "zoomControl", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmMap.prototype, "zoomControlOptions", void 0);
__decorate([
Input(),
__metadata("design:type", Array)
], AgmMap.prototype, "styles", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmMap.prototype, "usePanning", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmMap.prototype, "streetViewControl", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmMap.prototype, "streetViewControlOptions", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmMap.prototype, "fitBounds", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmMap.prototype, "scaleControl", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmMap.prototype, "scaleControlOptions", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmMap.prototype, "mapTypeControl", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmMap.prototype, "mapTypeControlOptions", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmMap.prototype, "panControl", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmMap.prototype, "panControlOptions", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmMap.prototype, "rotateControl", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmMap.prototype, "rotateControlOptions", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmMap.prototype, "fullscreenControl", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmMap.prototype, "fullscreenControlOptions", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmMap.prototype, "mapTypeId", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmMap.prototype, "clickableIcons", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmMap.prototype, "gestureHandling", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmMap.prototype, "restriction", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmMap.prototype, "mapClick", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmMap.prototype, "mapRightClick", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmMap.prototype, "mapDblClick", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmMap.prototype, "centerChange", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmMap.prototype, "boundsChange", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmMap.prototype, "mapTypeIdChange", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmMap.prototype, "idle", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmMap.prototype, "zoomChange", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmMap.prototype, "mapReady", void 0);
AgmMap = AgmMap_1 = __decorate([
Component({
selector: 'agm-map',
providers: [
GoogleMapsAPIWrapper, MarkerManager, InfoWindowManager, CircleManager, RectangleManager,
PolylineManager, PolygonManager, KmlLayerManager, DataLayerManager, DataLayerManager,
FitBoundsService
],
host: {
// todo: deprecated - we will remove it with the next version
'[class.sebm-google-map-container]': 'true'
},
styles: ["\n .agm-map-container-inner {\n width: inherit;\n height: inherit;\n }\n .agm-map-content {\n display:none;\n }\n "],
template: "\n <div class='agm-map-container-inner sebm-google-map-container-inner'></div>\n <div class='agm-map-content'>\n <ng-content></ng-content>\n </div>\n "
}),
__metadata("design:paramtypes", [ElementRef, GoogleMapsAPIWrapper, FitBoundsService])
], AgmMap);
return AgmMap;

@@ -493,0 +612,0 @@ }());

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":4,"metadata":{"AgmMap":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":44,"character":1},"arguments":[{"selector":"agm-map","providers":[{"__symbolic":"reference","module":"../services/google-maps-api-wrapper","name":"GoogleMapsAPIWrapper","line":47,"character":4},{"__symbolic":"reference","module":"../services/managers/marker-manager","name":"MarkerManager","line":47,"character":26},{"__symbolic":"reference","module":"../services/managers/info-window-manager","name":"InfoWindowManager","line":47,"character":41},{"__symbolic":"reference","module":"../services/managers/circle-manager","name":"CircleManager","line":47,"character":60},{"__symbolic":"reference","module":"../services/managers/rectangle-manager","name":"RectangleManager","line":47,"character":75},{"__symbolic":"reference","module":"../services/managers/polyline-manager","name":"PolylineManager","line":48,"character":4},{"__symbolic":"reference","module":"../services/managers/polygon-manager","name":"PolygonManager","line":48,"character":21},{"__symbolic":"reference","module":"./../services/managers/kml-layer-manager","name":"KmlLayerManager","line":48,"character":37},{"__symbolic":"reference","module":"./../services/managers/data-layer-manager","name":"DataLayerManager","line":48,"character":54},{"__symbolic":"reference","module":"./../services/managers/data-layer-manager","name":"DataLayerManager","line":48,"character":72},{"__symbolic":"reference","module":"../services/fit-bounds","name":"FitBoundsService","line":49,"character":4}],"host":{"[class.sebm-google-map-container]":"true","$quoted$":["[class.sebm-google-map-container]"]},"styles":["\n .agm-map-container-inner {\n width: inherit;\n height: inherit;\n }\n .agm-map-content {\n display:none;\n }\n "],"template":"\n <div class='agm-map-container-inner sebm-google-map-container-inner'></div>\n <div class='agm-map-content'>\n <ng-content></ng-content>\n </div>\n "}]}],"members":{"longitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":75,"character":3}}]}],"latitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":80,"character":3}}]}],"zoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":3}}]}],"minZoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":91,"character":3}}]}],"maxZoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":97,"character":3}}]}],"draggable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":103,"character":3},"arguments":["mapDraggable"]}]}],"disableDoubleClickZoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":108,"character":3}}]}],"disableDefaultUI":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":114,"character":3}}]}],"scrollwheel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":119,"character":3}}]}],"backgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":125,"character":3}}]}],"draggableCursor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":133,"character":3}}]}],"draggingCursor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":141,"character":3}}]}],"keyboardShortcuts":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":147,"character":3}}]}],"zoomControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":152,"character":3}}]}],"zoomControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":157,"character":3}}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":163,"character":3}}]}],"usePanning":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":170,"character":3}}]}],"streetViewControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":177,"character":3}}]}],"streetViewControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":182,"character":3}}]}],"fitBounds":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":188,"character":3}}]}],"scaleControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":193,"character":3}}]}],"scaleControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":198,"character":3}}]}],"mapTypeControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":203,"character":3}}]}],"mapTypeControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":208,"character":3}}]}],"panControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":213,"character":3}}]}],"panControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":218,"character":3}}]}],"rotateControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":223,"character":3}}]}],"rotateControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":228,"character":3}}]}],"fullscreenControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":233,"character":3}}]}],"fullscreenControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":238,"character":3}}]}],"mapTypeId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":243,"character":3}}]}],"clickableIcons":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":249,"character":3}}]}],"gestureHandling":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":259,"character":3}}]}],"mapClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":280,"character":3}}]}],"mapRightClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":286,"character":3}}]}],"mapDblClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":292,"character":3}}]}],"centerChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":297,"character":3}}]}],"boundsChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":302,"character":3}}]}],"mapTypeIdChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":307,"character":3}}]}],"idle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":312,"character":3}}]}],"zoomChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":317,"character":3}}]}],"mapReady":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":323,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":325,"character":29},{"__symbolic":"reference","module":"../services/google-maps-api-wrapper","name":"GoogleMapsAPIWrapper","line":325,"character":63},{"__symbolic":"reference","module":"../services/fit-bounds","name":"FitBoundsService","line":325,"character":114}]}],"ngOnInit":[{"__symbolic":"method"}],"_initMapInstance":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"_updateMapOptionsChanges":[{"__symbolic":"method"}],"triggerResize":[{"__symbolic":"method"}],"_updatePosition":[{"__symbolic":"method"}],"_setCenter":[{"__symbolic":"method"}],"_fitBounds":[{"__symbolic":"method"}],"_subscribeToFitBoundsUpdates":[{"__symbolic":"method"}],"_updateBounds":[{"__symbolic":"method"}],"_isLatLngBoundsLiteral":[{"__symbolic":"method"}],"_handleMapCenterChange":[{"__symbolic":"method"}],"_handleBoundsChange":[{"__symbolic":"method"}],"_handleMapTypeIdChange":[{"__symbolic":"method"}],"_handleMapZoomChange":[{"__symbolic":"method"}],"_handleIdleEvent":[{"__symbolic":"method"}],"_handleMapMouseEvents":[{"__symbolic":"method"}]},"statics":{"_mapOptionsAttributes":["disableDoubleClickZoom","scrollwheel","draggable","draggableCursor","draggingCursor","keyboardShortcuts","zoomControl","zoomControlOptions","styles","streetViewControl","streetViewControlOptions","zoom","mapTypeControl","mapTypeControlOptions","minZoom","maxZoom","panControl","panControlOptions","rotateControl","rotateControlOptions","fullscreenControl","fullscreenControlOptions","scaleControl","scaleControlOptions","mapTypeId","clickableIcons","gestureHandling"]}}}}]
[{"__symbolic":"module","version":4,"metadata":{"AgmMap":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":45,"character":1},"arguments":[{"selector":"agm-map","providers":[{"__symbolic":"reference","module":"../services/google-maps-api-wrapper","name":"GoogleMapsAPIWrapper","line":48,"character":4},{"__symbolic":"reference","module":"../services/managers/marker-manager","name":"MarkerManager","line":48,"character":26},{"__symbolic":"reference","module":"../services/managers/info-window-manager","name":"InfoWindowManager","line":48,"character":41},{"__symbolic":"reference","module":"../services/managers/circle-manager","name":"CircleManager","line":48,"character":60},{"__symbolic":"reference","module":"../services/managers/rectangle-manager","name":"RectangleManager","line":48,"character":75},{"__symbolic":"reference","module":"../services/managers/polyline-manager","name":"PolylineManager","line":49,"character":4},{"__symbolic":"reference","module":"../services/managers/polygon-manager","name":"PolygonManager","line":49,"character":21},{"__symbolic":"reference","module":"./../services/managers/kml-layer-manager","name":"KmlLayerManager","line":49,"character":37},{"__symbolic":"reference","module":"./../services/managers/data-layer-manager","name":"DataLayerManager","line":49,"character":54},{"__symbolic":"reference","module":"./../services/managers/data-layer-manager","name":"DataLayerManager","line":49,"character":72},{"__symbolic":"reference","module":"../services/fit-bounds","name":"FitBoundsService","line":50,"character":4}],"host":{"[class.sebm-google-map-container]":"true","$quoted$":["[class.sebm-google-map-container]"]},"styles":["\n .agm-map-container-inner {\n width: inherit;\n height: inherit;\n }\n .agm-map-content {\n display:none;\n }\n "],"template":"\n <div class='agm-map-container-inner sebm-google-map-container-inner'></div>\n <div class='agm-map-content'>\n <ng-content></ng-content>\n </div>\n "}]}],"members":{"longitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":76,"character":3}}]}],"latitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":81,"character":3}}]}],"zoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":86,"character":3}}]}],"minZoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":92,"character":3}}]}],"maxZoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":98,"character":3}}]}],"draggable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":104,"character":3},"arguments":["mapDraggable"]}]}],"disableDoubleClickZoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":109,"character":3}}]}],"disableDefaultUI":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":115,"character":3}}]}],"scrollwheel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":120,"character":3}}]}],"backgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":126,"character":3}}]}],"draggableCursor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":134,"character":3}}]}],"draggingCursor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":142,"character":3}}]}],"keyboardShortcuts":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":148,"character":3}}]}],"zoomControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":153,"character":3}}]}],"zoomControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":158,"character":3}}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":164,"character":3}}]}],"usePanning":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":171,"character":3}}]}],"streetViewControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":178,"character":3}}]}],"streetViewControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":183,"character":3}}]}],"fitBounds":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":189,"character":3}}]}],"scaleControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":194,"character":3}}]}],"scaleControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":199,"character":3}}]}],"mapTypeControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":204,"character":3}}]}],"mapTypeControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":209,"character":3}}]}],"panControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":214,"character":3}}]}],"panControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":219,"character":3}}]}],"rotateControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":224,"character":3}}]}],"rotateControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":229,"character":3}}]}],"fullscreenControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":234,"character":3}}]}],"fullscreenControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":239,"character":3}}]}],"mapTypeId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":244,"character":3}}]}],"clickableIcons":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":250,"character":3}}]}],"gestureHandling":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":260,"character":3}}]}],"restriction":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":266,"character":3}}]}],"mapClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":286,"character":3}}]}],"mapRightClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":292,"character":3}}]}],"mapDblClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":298,"character":3}}]}],"centerChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":303,"character":3}}]}],"boundsChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":308,"character":3}}]}],"mapTypeIdChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":313,"character":3}}]}],"idle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":318,"character":3}}]}],"zoomChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":323,"character":3}}]}],"mapReady":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":329,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":331,"character":29},{"__symbolic":"reference","module":"../services/google-maps-api-wrapper","name":"GoogleMapsAPIWrapper","line":331,"character":63},{"__symbolic":"reference","module":"../services/fit-bounds","name":"FitBoundsService","line":331,"character":114}]}],"ngOnInit":[{"__symbolic":"method"}],"_initMapInstance":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"_updateMapOptionsChanges":[{"__symbolic":"method"}],"triggerResize":[{"__symbolic":"method"}],"_updatePosition":[{"__symbolic":"method"}],"_setCenter":[{"__symbolic":"method"}],"_fitBounds":[{"__symbolic":"method"}],"_subscribeToFitBoundsUpdates":[{"__symbolic":"method"}],"_updateBounds":[{"__symbolic":"method"}],"_isLatLngBoundsLiteral":[{"__symbolic":"method"}],"_handleMapCenterChange":[{"__symbolic":"method"}],"_handleBoundsChange":[{"__symbolic":"method"}],"_handleMapTypeIdChange":[{"__symbolic":"method"}],"_handleMapZoomChange":[{"__symbolic":"method"}],"_handleIdleEvent":[{"__symbolic":"method"}],"_handleMapMouseEvents":[{"__symbolic":"method"}]},"statics":{"_mapOptionsAttributes":["disableDoubleClickZoom","scrollwheel","draggable","draggableCursor","draggingCursor","keyboardShortcuts","zoomControl","zoomControlOptions","styles","streetViewControl","streetViewControlOptions","zoom","mapTypeControl","mapTypeControlOptions","minZoom","maxZoom","panControl","panControlOptions","rotateControl","rotateControlOptions","fullscreenControl","fullscreenControlOptions","scaleControl","scaleControlOptions","mapTypeId","clickableIcons","gestureHandling","restriction"]}}}}]

@@ -25,4 +25,4 @@ /**

export function View_AgmMap_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 11, "agm-map", [], [[2, "sebm-google-map-container", null]], null, null, View_AgmMap_0, RenderType_AgmMap)), i0.ɵprd(4608, null, i1.MarkerManager, i1.MarkerManager, [i2.GoogleMapsAPIWrapper, i0.NgZone]), i0.ɵprd(4608, null, i3.InfoWindowManager, i3.InfoWindowManager, [i2.GoogleMapsAPIWrapper, i0.NgZone, i1.MarkerManager]), i0.ɵprd(4608, null, i4.CircleManager, i4.CircleManager, [i2.GoogleMapsAPIWrapper, i0.NgZone]), i0.ɵprd(4608, null, i5.RectangleManager, i5.RectangleManager, [i2.GoogleMapsAPIWrapper, i0.NgZone]), i0.ɵprd(4608, null, i6.PolylineManager, i6.PolylineManager, [i2.GoogleMapsAPIWrapper, i0.NgZone]), i0.ɵprd(4608, null, i7.PolygonManager, i7.PolygonManager, [i2.GoogleMapsAPIWrapper, i0.NgZone]), i0.ɵprd(4608, null, i8.KmlLayerManager, i8.KmlLayerManager, [i2.GoogleMapsAPIWrapper, i0.NgZone]), i0.ɵprd(4608, null, i9.DataLayerManager, i9.DataLayerManager, [i2.GoogleMapsAPIWrapper, i0.NgZone]), i0.ɵprd(512, null, i2.GoogleMapsAPIWrapper, i2.GoogleMapsAPIWrapper, [i10.MapsAPILoader, i0.NgZone]), i0.ɵprd(512, null, i11.FitBoundsService, i11.FitBoundsService, [i10.MapsAPILoader]), i0.ɵdid(11, 770048, null, 0, i12.AgmMap, [i0.ElementRef, i2.GoogleMapsAPIWrapper, i11.FitBoundsService], null, null)], function (_ck, _v) { _ck(_v, 11, 0); }, function (_ck, _v) { var currVal_0 = true; _ck(_v, 0, 0, currVal_0); }); }
var AgmMapNgFactory = i0.ɵccf("agm-map", i12.AgmMap, View_AgmMap_Host_0, { longitude: "longitude", latitude: "latitude", zoom: "zoom", minZoom: "minZoom", maxZoom: "maxZoom", draggable: "mapDraggable", disableDoubleClickZoom: "disableDoubleClickZoom", disableDefaultUI: "disableDefaultUI", scrollwheel: "scrollwheel", backgroundColor: "backgroundColor", draggableCursor: "draggableCursor", draggingCursor: "draggingCursor", keyboardShortcuts: "keyboardShortcuts", zoomControl: "zoomControl", zoomControlOptions: "zoomControlOptions", styles: "styles", usePanning: "usePanning", streetViewControl: "streetViewControl", streetViewControlOptions: "streetViewControlOptions", fitBounds: "fitBounds", scaleControl: "scaleControl", scaleControlOptions: "scaleControlOptions", mapTypeControl: "mapTypeControl", mapTypeControlOptions: "mapTypeControlOptions", panControl: "panControl", panControlOptions: "panControlOptions", rotateControl: "rotateControl", rotateControlOptions: "rotateControlOptions", fullscreenControl: "fullscreenControl", fullscreenControlOptions: "fullscreenControlOptions", mapTypeId: "mapTypeId", clickableIcons: "clickableIcons", gestureHandling: "gestureHandling" }, { mapClick: "mapClick", mapRightClick: "mapRightClick", mapDblClick: "mapDblClick", centerChange: "centerChange", boundsChange: "boundsChange", mapTypeIdChange: "mapTypeIdChange", idle: "idle", zoomChange: "zoomChange", mapReady: "mapReady" }, ["*"]);
var AgmMapNgFactory = i0.ɵccf("agm-map", i12.AgmMap, View_AgmMap_Host_0, { longitude: "longitude", latitude: "latitude", zoom: "zoom", minZoom: "minZoom", maxZoom: "maxZoom", draggable: "mapDraggable", disableDoubleClickZoom: "disableDoubleClickZoom", disableDefaultUI: "disableDefaultUI", scrollwheel: "scrollwheel", backgroundColor: "backgroundColor", draggableCursor: "draggableCursor", draggingCursor: "draggingCursor", keyboardShortcuts: "keyboardShortcuts", zoomControl: "zoomControl", zoomControlOptions: "zoomControlOptions", styles: "styles", usePanning: "usePanning", streetViewControl: "streetViewControl", streetViewControlOptions: "streetViewControlOptions", fitBounds: "fitBounds", scaleControl: "scaleControl", scaleControlOptions: "scaleControlOptions", mapTypeControl: "mapTypeControl", mapTypeControlOptions: "mapTypeControlOptions", panControl: "panControl", panControlOptions: "panControlOptions", rotateControl: "rotateControl", rotateControlOptions: "rotateControlOptions", fullscreenControl: "fullscreenControl", fullscreenControlOptions: "fullscreenControlOptions", mapTypeId: "mapTypeId", clickableIcons: "clickableIcons", gestureHandling: "gestureHandling", restriction: "restriction" }, { mapClick: "mapClick", mapRightClick: "mapRightClick", mapDblClick: "mapDblClick", centerChange: "centerChange", boundsChange: "boundsChange", mapTypeIdChange: "mapTypeIdChange", idle: "idle", zoomChange: "zoomChange", mapReady: "mapReady" }, ["*"]);
export { AgmMapNgFactory as AgmMapNgFactory };
//# sourceMappingURL=map.ngfactory.js.map

@@ -1,1 +0,1 @@

{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"longitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"latitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"zoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"minZoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"maxZoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"draggable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]},"arguments":["mapDraggable"]}]}],"disableDoubleClickZoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"disableDefaultUI":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"scrollwheel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"backgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"draggableCursor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"draggingCursor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"keyboardShortcuts":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"zoomControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"zoomControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"usePanning":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"streetViewControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"streetViewControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"fitBounds":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"scaleControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"scaleControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"mapTypeControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"mapTypeControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"panControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"panControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"rotateControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"rotateControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"fullscreenControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"fullscreenControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"mapTypeId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"clickableIcons":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"gestureHandling":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"mapClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"mapRightClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"mapDblClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"centerChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"boundsChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"mapTypeIdChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"idle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"zoomChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"mapReady":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":3,"members":[]},{"__symbol":4,"members":[]},{"__symbol":5,"members":[]}]}],"ngOnInit":[{"__symbolic":"method"}],"_initMapInstance":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"_updateMapOptionsChanges":[{"__symbolic":"method"}],"triggerResize":[{"__symbolic":"method"}],"_updatePosition":[{"__symbolic":"method"}],"_setCenter":[{"__symbolic":"method"}],"_fitBounds":[{"__symbolic":"method"}],"_subscribeToFitBoundsUpdates":[{"__symbolic":"method"}],"_updateBounds":[{"__symbolic":"method"}],"_isLatLngBoundsLiteral":[{"__symbolic":"method"}],"_handleMapCenterChange":[{"__symbolic":"method"}],"_handleBoundsChange":[{"__symbolic":"method"}],"_handleMapTypeIdChange":[{"__symbolic":"method"}],"_handleMapZoomChange":[{"__symbolic":"method"}],"_handleIdleEvent":[{"__symbolic":"method"}],"_handleMapMouseEvents":[{"__symbolic":"method"}]},"statics":{"_mapOptionsAttributes":["disableDoubleClickZoom","scrollwheel","draggable","draggableCursor","draggingCursor","keyboardShortcuts","zoomControl","zoomControlOptions","styles","streetViewControl","streetViewControlOptions","zoom","mapTypeControl","mapTypeControlOptions","minZoom","maxZoom","panControl","panControlOptions","rotateControl","rotateControlOptions","fullscreenControl","fullscreenControlOptions","scaleControl","scaleControlOptions","mapTypeId","clickableIcons","gestureHandling"]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":3,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":5,"members":[]}}}}],"lifecycleHooks":[0,1,3]},"isComponent":true,"selector":"agm-map","exportAs":null,"inputs":{"longitude":"longitude","latitude":"latitude","zoom":"zoom","minZoom":"minZoom","maxZoom":"maxZoom","draggable":"mapDraggable","disableDoubleClickZoom":"disableDoubleClickZoom","disableDefaultUI":"disableDefaultUI","scrollwheel":"scrollwheel","backgroundColor":"backgroundColor","draggableCursor":"draggableCursor","draggingCursor":"draggingCursor","keyboardShortcuts":"keyboardShortcuts","zoomControl":"zoomControl","zoomControlOptions":"zoomControlOptions","styles":"styles","usePanning":"usePanning","streetViewControl":"streetViewControl","streetViewControlOptions":"streetViewControlOptions","fitBounds":"fitBounds","scaleControl":"scaleControl","scaleControlOptions":"scaleControlOptions","mapTypeControl":"mapTypeControl","mapTypeControlOptions":"mapTypeControlOptions","panControl":"panControl","panControlOptions":"panControlOptions","rotateControl":"rotateControl","rotateControlOptions":"rotateControlOptions","fullscreenControl":"fullscreenControl","fullscreenControlOptions":"fullscreenControlOptions","mapTypeId":"mapTypeId","clickableIcons":"clickableIcons","gestureHandling":"gestureHandling"},"outputs":{"mapClick":"mapClick","mapRightClick":"mapRightClick","mapDblClick":"mapDblClick","centerChange":"centerChange","boundsChange":"boundsChange","mapTypeIdChange":"mapTypeIdChange","idle":"idle","zoomChange":"zoomChange","mapReady":"mapReady"},"hostListeners":{},"hostProperties":{"class.sebm-google-map-container":"true"},"hostAttributes":{},"providers":[{"token":{"identifier":{"reference":{"__symbol":4,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":6,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":4,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":6,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":6,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":8,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":8,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":9,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":8,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":9,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":8,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":8,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":10,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":10,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":11,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":11,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":12,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":12,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":13,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":13,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":14,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":14,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":15,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":15,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":15,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":15,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":5,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":6,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":5,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":6,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":6,"members":[]}}}}],"multi":false}],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":["*"],"encapsulation":0},"componentViewType":{"__symbol":16,"members":[]},"rendererType":{"__symbol":17,"members":[]},"componentFactory":{"__symbol":18,"members":[]}}}],"symbols":[{"__symbol":0,"name":"AgmMap","filePath":"./map"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"ElementRef","filePath":"@angular/core"},{"__symbol":4,"name":"GoogleMapsAPIWrapper","filePath":"../services/google-maps-api-wrapper"},{"__symbol":5,"name":"FitBoundsService","filePath":"../services/fit-bounds"},{"__symbol":6,"name":"MapsAPILoader","filePath":"../services/maps-api-loader/maps-api-loader"},{"__symbol":7,"name":"NgZone","filePath":"@angular/core"},{"__symbol":8,"name":"MarkerManager","filePath":"../services/managers/marker-manager"},{"__symbol":9,"name":"InfoWindowManager","filePath":"../services/managers/info-window-manager"},{"__symbol":10,"name":"CircleManager","filePath":"../services/managers/circle-manager"},{"__symbol":11,"name":"RectangleManager","filePath":"../services/managers/rectangle-manager"},{"__symbol":12,"name":"PolylineManager","filePath":"../services/managers/polyline-manager"},{"__symbol":13,"name":"PolygonManager","filePath":"../services/managers/polygon-manager"},{"__symbol":14,"name":"KmlLayerManager","filePath":"../services/managers/kml-layer-manager"},{"__symbol":15,"name":"DataLayerManager","filePath":"../services/managers/data-layer-manager"},{"__symbol":16,"name":"View_AgmMap_0","filePath":"./map.ngfactory"},{"__symbol":17,"name":"RenderType_AgmMap","filePath":"./map.ngfactory"},{"__symbol":18,"name":"AgmMapNgFactory","filePath":"./map.ngfactory"}]}
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"longitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"latitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"zoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"minZoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"maxZoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"draggable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]},"arguments":["mapDraggable"]}]}],"disableDoubleClickZoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"disableDefaultUI":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"scrollwheel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"backgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"draggableCursor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"draggingCursor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"keyboardShortcuts":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"zoomControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"zoomControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"usePanning":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"streetViewControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"streetViewControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"fitBounds":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"scaleControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"scaleControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"mapTypeControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"mapTypeControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"panControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"panControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"rotateControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"rotateControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"fullscreenControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"fullscreenControlOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"mapTypeId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"clickableIcons":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"gestureHandling":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"restriction":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"mapClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"mapRightClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"mapDblClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"centerChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"boundsChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"mapTypeIdChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"idle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"zoomChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"mapReady":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":3,"members":[]},{"__symbol":4,"members":[]},{"__symbol":5,"members":[]}]}],"ngOnInit":[{"__symbolic":"method"}],"_initMapInstance":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"_updateMapOptionsChanges":[{"__symbolic":"method"}],"triggerResize":[{"__symbolic":"method"}],"_updatePosition":[{"__symbolic":"method"}],"_setCenter":[{"__symbolic":"method"}],"_fitBounds":[{"__symbolic":"method"}],"_subscribeToFitBoundsUpdates":[{"__symbolic":"method"}],"_updateBounds":[{"__symbolic":"method"}],"_isLatLngBoundsLiteral":[{"__symbolic":"method"}],"_handleMapCenterChange":[{"__symbolic":"method"}],"_handleBoundsChange":[{"__symbolic":"method"}],"_handleMapTypeIdChange":[{"__symbolic":"method"}],"_handleMapZoomChange":[{"__symbolic":"method"}],"_handleIdleEvent":[{"__symbolic":"method"}],"_handleMapMouseEvents":[{"__symbolic":"method"}]},"statics":{"_mapOptionsAttributes":["disableDoubleClickZoom","scrollwheel","draggable","draggableCursor","draggingCursor","keyboardShortcuts","zoomControl","zoomControlOptions","styles","streetViewControl","streetViewControlOptions","zoom","mapTypeControl","mapTypeControlOptions","minZoom","maxZoom","panControl","panControlOptions","rotateControl","rotateControlOptions","fullscreenControl","fullscreenControlOptions","scaleControl","scaleControlOptions","mapTypeId","clickableIcons","gestureHandling","restriction"]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":3,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":5,"members":[]}}}}],"lifecycleHooks":[0,1,3]},"isComponent":true,"selector":"agm-map","exportAs":null,"inputs":{"longitude":"longitude","latitude":"latitude","zoom":"zoom","minZoom":"minZoom","maxZoom":"maxZoom","draggable":"mapDraggable","disableDoubleClickZoom":"disableDoubleClickZoom","disableDefaultUI":"disableDefaultUI","scrollwheel":"scrollwheel","backgroundColor":"backgroundColor","draggableCursor":"draggableCursor","draggingCursor":"draggingCursor","keyboardShortcuts":"keyboardShortcuts","zoomControl":"zoomControl","zoomControlOptions":"zoomControlOptions","styles":"styles","usePanning":"usePanning","streetViewControl":"streetViewControl","streetViewControlOptions":"streetViewControlOptions","fitBounds":"fitBounds","scaleControl":"scaleControl","scaleControlOptions":"scaleControlOptions","mapTypeControl":"mapTypeControl","mapTypeControlOptions":"mapTypeControlOptions","panControl":"panControl","panControlOptions":"panControlOptions","rotateControl":"rotateControl","rotateControlOptions":"rotateControlOptions","fullscreenControl":"fullscreenControl","fullscreenControlOptions":"fullscreenControlOptions","mapTypeId":"mapTypeId","clickableIcons":"clickableIcons","gestureHandling":"gestureHandling","restriction":"restriction"},"outputs":{"mapClick":"mapClick","mapRightClick":"mapRightClick","mapDblClick":"mapDblClick","centerChange":"centerChange","boundsChange":"boundsChange","mapTypeIdChange":"mapTypeIdChange","idle":"idle","zoomChange":"zoomChange","mapReady":"mapReady"},"hostListeners":{},"hostProperties":{"class.sebm-google-map-container":"true"},"hostAttributes":{},"providers":[{"token":{"identifier":{"reference":{"__symbol":4,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":6,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":4,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":6,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":6,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":8,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":8,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":9,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":8,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":9,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":8,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":8,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":10,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":10,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":11,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":11,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":12,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":12,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":13,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":13,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":14,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":14,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":15,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":15,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":15,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":15,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":7,"members":[]}}}}],"multi":false},{"token":{"identifier":{"reference":{"__symbol":5,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":6,"members":[]}}}}],"lifecycleHooks":[]}},"useClass":{"reference":{"__symbol":5,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":6,"members":[]}}}}],"lifecycleHooks":[]},"useFactory":null,"deps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":6,"members":[]}}}}],"multi":false}],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":["*"],"encapsulation":0,"styles":["\n .agm-map-container-inner {\n width: inherit;\n height: inherit;\n }\n .agm-map-content {\n display:none;\n }\n "],"animations":[]},"componentViewType":{"__symbol":16,"members":[]},"rendererType":{"__symbol":17,"members":[]},"componentFactory":{"__symbol":18,"members":[]}}}],"symbols":[{"__symbol":0,"name":"AgmMap","filePath":"./map"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"ElementRef","filePath":"@angular/core"},{"__symbol":4,"name":"GoogleMapsAPIWrapper","filePath":"../services/google-maps-api-wrapper"},{"__symbol":5,"name":"FitBoundsService","filePath":"../services/fit-bounds"},{"__symbol":6,"name":"MapsAPILoader","filePath":"../services/maps-api-loader/maps-api-loader"},{"__symbol":7,"name":"NgZone","filePath":"@angular/core"},{"__symbol":8,"name":"MarkerManager","filePath":"../services/managers/marker-manager"},{"__symbol":9,"name":"InfoWindowManager","filePath":"../services/managers/info-window-manager"},{"__symbol":10,"name":"CircleManager","filePath":"../services/managers/circle-manager"},{"__symbol":11,"name":"RectangleManager","filePath":"../services/managers/rectangle-manager"},{"__symbol":12,"name":"PolylineManager","filePath":"../services/managers/polyline-manager"},{"__symbol":13,"name":"PolygonManager","filePath":"../services/managers/polygon-manager"},{"__symbol":14,"name":"KmlLayerManager","filePath":"../services/managers/kml-layer-manager"},{"__symbol":15,"name":"DataLayerManager","filePath":"../services/managers/data-layer-manager"},{"__symbol":16,"name":"View_AgmMap_0","filePath":"./map.ngfactory"},{"__symbol":17,"name":"RenderType_AgmMap","filePath":"./map.ngfactory"},{"__symbol":18,"name":"AgmMapNgFactory","filePath":"./map.ngfactory"}]}

@@ -93,2 +93,10 @@ import { AfterContentInit, EventEmitter, OnChanges, OnDestroy, QueryList, SimpleChange } from '@angular/core';

/**
* This event is fired when the user starts dragging the marker.
*/
dragStart: EventEmitter<MouseEvent>;
/**
* This event is repeatedly fired while the user drags the marker.
*/
drag: EventEmitter<MouseEvent>;
/**
* This event is fired when the user stops dragging the marker.

@@ -105,5 +113,3 @@ */

mouseOut: EventEmitter<MouseEvent>;
/**
* @internal
*/
/** @internal */
infoWindow: QueryList<AgmInfoWindow>;

@@ -116,3 +122,3 @@ private _markerAddedToManger;

ngAfterContentInit(): void;
private handleInfoWindowUpdate();
private handleInfoWindowUpdate;
/** @internal */

@@ -122,8 +128,6 @@ ngOnChanges(changes: {

}): void;
/**
* @internal
*/
/** @internal */
getFitBoundsDetails$(): Observable<FitBoundsDetails>;
protected _updateFitBoundsDetails(): void;
private _addEventListeners();
private _addEventListeners;
/** @internal */

@@ -130,0 +134,0 @@ id(): string;

@@ -0,1 +1,10 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { ContentChildren, Directive, EventEmitter, Input, Output, QueryList, forwardRef } from '@angular/core';

@@ -34,53 +43,59 @@ import { ReplaySubject } from 'rxjs';

/**
* If true, the marker can be dragged. Default value is false.
*/
* If true, the marker can be dragged. Default value is false.
*/
// tslint:disable-next-line:no-input-rename
this.draggable = false;
/**
* If true, the marker is visible
*/
* If true, the marker is visible
*/
this.visible = true;
/**
* Whether to automatically open the child info window when the marker is clicked.
*/
* Whether to automatically open the child info window when the marker is clicked.
*/
this.openInfoWindow = true;
/**
* The marker's opacity between 0.0 and 1.0.
*/
* The marker's opacity between 0.0 and 1.0.
*/
this.opacity = 1;
/**
* All markers are displayed on the map in order of their zIndex, with higher values displaying in
* front of markers with lower values. By default, markers are displayed according to their
* vertical position on screen, with lower markers appearing in front of markers further up the
* screen.
*/
* All markers are displayed on the map in order of their zIndex, with higher values displaying in
* front of markers with lower values. By default, markers are displayed according to their
* vertical position on screen, with lower markers appearing in front of markers further up the
* screen.
*/
this.zIndex = 1;
/**
* If true, the marker can be clicked. Default value is true.
*/
* If true, the marker can be clicked. Default value is true.
*/
// tslint:disable-next-line:no-input-rename
this.clickable = true;
/**
* This event emitter gets emitted when the user clicks on the marker.
*/
* This event emitter gets emitted when the user clicks on the marker.
*/
this.markerClick = new EventEmitter();
/**
* This event is fired when the user rightclicks on the marker.
*/
* This event is fired when the user rightclicks on the marker.
*/
this.markerRightClick = new EventEmitter();
/**
* This event is fired when the user stops dragging the marker.
*/
* This event is fired when the user starts dragging the marker.
*/
this.dragStart = new EventEmitter();
/**
* This event is repeatedly fired while the user drags the marker.
*/
this.drag = new EventEmitter();
/**
* This event is fired when the user stops dragging the marker.
*/
this.dragEnd = new EventEmitter();
/**
* This event is fired when the user mouses over the marker.
*/
* This event is fired when the user mouses over the marker.
*/
this.mouseOver = new EventEmitter();
/**
* This event is fired when the user mouses outside the marker.
*/
* This event is fired when the user mouses outside the marker.
*/
this.mouseOut = new EventEmitter();
/**
* @internal
*/
/** @internal */
this.infoWindow = new QueryList();

@@ -92,6 +107,5 @@ this._markerAddedToManger = false;

}
AgmMarker_1 = AgmMarker;
/* @internal */
/* @internal */
AgmMarker.prototype.ngAfterContentInit = /* @internal */
function () {
AgmMarker.prototype.ngAfterContentInit = function () {
var _this = this;

@@ -111,5 +125,3 @@ this.handleInfoWindowUpdate();

/** @internal */
/** @internal */
AgmMarker.prototype.ngOnChanges = /** @internal */
function (changes) {
AgmMarker.prototype.ngOnChanges = function (changes) {
if (typeof this.latitude === 'string') {

@@ -163,12 +175,4 @@ this.latitude = Number(this.latitude);

};
/**
* @internal
*/
/**
* @internal
*/
AgmMarker.prototype.getFitBoundsDetails$ = /**
* @internal
*/
function () {
/** @internal */
AgmMarker.prototype.getFitBoundsDetails$ = function () {
return this._fitBoundsDetails$.asObservable();

@@ -192,7 +196,17 @@ };

this._observableSubscriptions.push(rc);
var ds = this._markerManager.createEventObservable('dragend', this)
var ds = this._markerManager.createEventObservable('dragstart', this)
.subscribe(function (e) {
_this.dragStart.emit({ coords: { lat: e.latLng.lat(), lng: e.latLng.lng() } });
});
this._observableSubscriptions.push(ds);
var d = this._markerManager.createEventObservable('drag', this)
.subscribe(function (e) {
_this.drag.emit({ coords: { lat: e.latLng.lat(), lng: e.latLng.lng() } });
});
this._observableSubscriptions.push(d);
var de = this._markerManager.createEventObservable('dragend', this)
.subscribe(function (e) {
_this.dragEnd.emit({ coords: { lat: e.latLng.lat(), lng: e.latLng.lng() } });
});
this._observableSubscriptions.push(ds);
this._observableSubscriptions.push(de);
var mover = this._markerManager.createEventObservable('mouseover', this)

@@ -210,13 +224,7 @@ .subscribe(function (e) {

/** @internal */
AgmMarker.prototype.id = function () { return this._id; };
/** @internal */
AgmMarker.prototype.id = /** @internal */
function () { return this._id; };
AgmMarker.prototype.toString = function () { return 'AgmMarker-' + this._id.toString(); };
/** @internal */
/** @internal */
AgmMarker.prototype.toString = /** @internal */
function () { return 'AgmMarker-' + this._id.toString(); };
/** @internal */
/** @internal */
AgmMarker.prototype.ngOnDestroy = /** @internal */
function () {
AgmMarker.prototype.ngOnDestroy = function () {
this._markerManager.deleteMarker(this);

@@ -226,38 +234,93 @@ // unsubscribe all registered observable subscriptions

};
AgmMarker.decorators = [
{ type: Directive, args: [{
selector: 'agm-marker',
providers: [
{ provide: FitBoundsAccessor, useExisting: forwardRef(function () { return AgmMarker; }) }
],
inputs: [
'latitude', 'longitude', 'title', 'label', 'draggable: markerDraggable', 'iconUrl',
'openInfoWindow', 'opacity', 'visible', 'zIndex', 'animation'
],
outputs: ['markerClick', 'dragEnd', 'mouseOver', 'mouseOut']
},] },
];
/** @nocollapse */
AgmMarker.ctorParameters = function () { return [
{ type: MarkerManager, },
]; };
AgmMarker.propDecorators = {
"latitude": [{ type: Input },],
"longitude": [{ type: Input },],
"title": [{ type: Input },],
"label": [{ type: Input },],
"draggable": [{ type: Input, args: ['markerDraggable',] },],
"iconUrl": [{ type: Input },],
"visible": [{ type: Input },],
"openInfoWindow": [{ type: Input },],
"opacity": [{ type: Input },],
"zIndex": [{ type: Input },],
"clickable": [{ type: Input, args: ['markerClickable',] },],
"markerClick": [{ type: Output },],
"markerRightClick": [{ type: Output },],
"dragEnd": [{ type: Output },],
"mouseOver": [{ type: Output },],
"mouseOut": [{ type: Output },],
"infoWindow": [{ type: ContentChildren, args: [AgmInfoWindow,] },],
};
var AgmMarker_1;
__decorate([
Input(),
__metadata("design:type", Number)
], AgmMarker.prototype, "latitude", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmMarker.prototype, "longitude", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmMarker.prototype, "title", void 0);
__decorate([
Input(),
__metadata("design:type", Object)
], AgmMarker.prototype, "label", void 0);
__decorate([
Input('markerDraggable'),
__metadata("design:type", Boolean)
], AgmMarker.prototype, "draggable", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmMarker.prototype, "iconUrl", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmMarker.prototype, "visible", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmMarker.prototype, "openInfoWindow", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmMarker.prototype, "opacity", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmMarker.prototype, "zIndex", void 0);
__decorate([
Input('markerClickable'),
__metadata("design:type", Boolean)
], AgmMarker.prototype, "clickable", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmMarker.prototype, "markerClick", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmMarker.prototype, "markerRightClick", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmMarker.prototype, "dragStart", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmMarker.prototype, "drag", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmMarker.prototype, "dragEnd", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmMarker.prototype, "mouseOver", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmMarker.prototype, "mouseOut", void 0);
__decorate([
ContentChildren(AgmInfoWindow),
__metadata("design:type", QueryList)
], AgmMarker.prototype, "infoWindow", void 0);
AgmMarker = AgmMarker_1 = __decorate([
Directive({
selector: 'agm-marker',
providers: [
{ provide: FitBoundsAccessor, useExisting: forwardRef(function () { return AgmMarker_1; }) }
],
inputs: [
'latitude', 'longitude', 'title', 'label', 'draggable: markerDraggable', 'iconUrl',
'openInfoWindow', 'opacity', 'visible', 'zIndex', 'animation'
],
outputs: ['markerClick', 'dragStart', 'drag', 'dragEnd', 'mouseOver', 'mouseOut']
}),
__metadata("design:paramtypes", [MarkerManager])
], AgmMarker);
return AgmMarker;

@@ -264,0 +327,0 @@ }());

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":4,"metadata":{"AgmMarker":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":34,"character":1},"arguments":[{"selector":"agm-marker","providers":[{"provide":{"__symbolic":"reference","module":"../services/fit-bounds","name":"FitBoundsAccessor","line":37,"character":14},"useExisting":{"__symbolic":"reference","name":"AgmMarker"}}],"inputs":["latitude","longitude","title","label","draggable: markerDraggable","iconUrl","openInfoWindow","opacity","visible","zIndex","animation"],"outputs":["markerClick","dragEnd","mouseOver","mouseOut"]}]}],"members":{"latitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"longitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":54,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":3}}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":64,"character":3}}]}],"draggable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":3},"arguments":["markerDraggable"]}]}],"iconUrl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":75,"character":3}}]}],"visible":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":80,"character":3}}]}],"openInfoWindow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":3}}]}],"opacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":90,"character":3}}]}],"zIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":98,"character":3}}]}],"clickable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":104,"character":3},"arguments":["markerClickable"]}]}],"markerClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":115,"character":3}}]}],"markerRightClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":120,"character":3}}]}],"dragEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":125,"character":3}}]}],"mouseOver":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":130,"character":3}}]}],"mouseOut":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":135,"character":3}}]}],"infoWindow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":140,"character":3},"arguments":[{"__symbolic":"reference","module":"./info-window","name":"AgmInfoWindow","line":140,"character":19}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../services/managers/marker-manager","name":"MarkerManager","line":148,"character":38}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"handleInfoWindowUpdate":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"getFitBoundsDetails$":[{"__symbolic":"method"}],"_updateFitBoundsDetails":[{"__symbolic":"method"}],"_addEventListeners":[{"__symbolic":"method"}],"id":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":4,"metadata":{"AgmMarker":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":34,"character":1},"arguments":[{"selector":"agm-marker","providers":[{"provide":{"__symbolic":"reference","module":"../services/fit-bounds","name":"FitBoundsAccessor","line":37,"character":14},"useExisting":{"__symbolic":"reference","name":"AgmMarker"}}],"inputs":["latitude","longitude","title","label","draggable: markerDraggable","iconUrl","openInfoWindow","opacity","visible","zIndex","animation"],"outputs":["markerClick","dragStart","drag","dragEnd","mouseOver","mouseOut"]}]}],"members":{"latitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"longitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":54,"character":3}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":3}}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":64,"character":3}}]}],"draggable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":3},"arguments":["markerDraggable"]}]}],"iconUrl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":75,"character":3}}]}],"visible":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":80,"character":3}}]}],"openInfoWindow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":3}}]}],"opacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":90,"character":3}}]}],"zIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":98,"character":3}}]}],"clickable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":104,"character":3},"arguments":["markerClickable"]}]}],"markerClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":115,"character":3}}]}],"markerRightClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":120,"character":3}}]}],"dragStart":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":125,"character":3}}]}],"drag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":130,"character":3}}]}],"dragEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":135,"character":3}}]}],"mouseOver":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":140,"character":3}}]}],"mouseOut":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":145,"character":3}}]}],"infoWindow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":148,"character":3},"arguments":[{"__symbolic":"reference","module":"./info-window","name":"AgmInfoWindow","line":148,"character":19}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../services/managers/marker-manager","name":"MarkerManager","line":156,"character":38}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"handleInfoWindowUpdate":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"getFitBoundsDetails$":[{"__symbolic":"method"}],"_updateFitBoundsDetails":[{"__symbolic":"method"}],"_addEventListeners":[{"__symbolic":"method"}],"id":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}}}]

@@ -1,1 +0,1 @@

{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"latitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"longitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"draggable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]},"arguments":["markerDraggable"]}]}],"iconUrl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"visible":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"openInfoWindow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"opacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"zIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"clickable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]},"arguments":["markerClickable"]}]}],"markerClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"markerRightClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"dragEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"mouseOver":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"mouseOut":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"infoWindow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":3,"members":[]},"arguments":[{"__symbol":4,"members":[]}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":5,"members":[]}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"handleInfoWindowUpdate":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"getFitBoundsDetails$":[{"__symbolic":"method"}],"_updateFitBoundsDetails":[{"__symbolic":"method"}],"_addEventListeners":[{"__symbolic":"method"}],"id":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":5,"members":[]}}}}],"lifecycleHooks":[1,3,4]},"isComponent":false,"selector":"agm-marker","exportAs":null,"inputs":{"animation":"animation","latitude":"latitude","longitude":"longitude","title":"title","label":"label","draggable":"markerDraggable","iconUrl":"iconUrl","visible":"visible","openInfoWindow":"openInfoWindow","opacity":"opacity","zIndex":"zIndex","clickable":"markerClickable"},"outputs":{"markerClick":"markerClick","markerRightClick":"markerRightClick","dragEnd":"dragEnd","mouseOver":"mouseOver","mouseOut":"mouseOut"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[{"token":{"identifier":{"reference":{"__symbol":6,"members":[]}}},"useClass":null,"useFactory":null,"useExisting":{"identifier":{"reference":{"__symbol":0,"members":[]}}},"multi":false}],"viewProviders":[],"queries":[{"selectors":[{"identifier":{"reference":{"__symbol":4,"members":[]}}}],"first":false,"descendants":false,"propertyName":"infoWindow","read":null}],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":null,"template":null,"componentViewType":null,"rendererType":null,"componentFactory":null}}],"symbols":[{"__symbol":0,"name":"AgmMarker","filePath":"./marker"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"ContentChildren","filePath":"@angular/core"},{"__symbol":4,"name":"AgmInfoWindow","filePath":"./info-window"},{"__symbol":5,"name":"MarkerManager","filePath":"../services/managers/marker-manager"},{"__symbol":6,"name":"FitBoundsAccessor","filePath":"../services/fit-bounds"}]}
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"latitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"longitude":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"title":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"draggable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]},"arguments":["markerDraggable"]}]}],"iconUrl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"visible":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"openInfoWindow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"opacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"zIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"clickable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]},"arguments":["markerClickable"]}]}],"markerClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"markerRightClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"dragStart":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"drag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"dragEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"mouseOver":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"mouseOut":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"infoWindow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":3,"members":[]},"arguments":[{"__symbol":4,"members":[]}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":5,"members":[]}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"handleInfoWindowUpdate":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"getFitBoundsDetails$":[{"__symbolic":"method"}],"_updateFitBoundsDetails":[{"__symbolic":"method"}],"_addEventListeners":[{"__symbolic":"method"}],"id":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":5,"members":[]}}}}],"lifecycleHooks":[1,3,4]},"isComponent":false,"selector":"agm-marker","exportAs":null,"inputs":{"animation":"animation","latitude":"latitude","longitude":"longitude","title":"title","label":"label","draggable":"markerDraggable","iconUrl":"iconUrl","visible":"visible","openInfoWindow":"openInfoWindow","opacity":"opacity","zIndex":"zIndex","clickable":"markerClickable"},"outputs":{"markerClick":"markerClick","markerRightClick":"markerRightClick","dragStart":"dragStart","drag":"drag","dragEnd":"dragEnd","mouseOver":"mouseOver","mouseOut":"mouseOut"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[{"token":{"identifier":{"reference":{"__symbol":6,"members":[]}}},"useClass":null,"useFactory":null,"useExisting":{"identifier":{"reference":{"__symbol":0,"members":[]}}},"multi":false}],"viewProviders":[],"queries":[{"selectors":[{"identifier":{"reference":{"__symbol":4,"members":[]}}}],"first":false,"descendants":false,"propertyName":"infoWindow","read":null}],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":null,"template":null,"componentViewType":null,"rendererType":null,"componentFactory":null}}],"symbols":[{"__symbol":0,"name":"AgmMarker","filePath":"./marker"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"ContentChildren","filePath":"@angular/core"},{"__symbol":4,"name":"AgmInfoWindow","filePath":"./info-window"},{"__symbol":5,"name":"MarkerManager","filePath":"../services/managers/marker-manager"},{"__symbol":6,"name":"FitBoundsAccessor","filePath":"../services/fit-bounds"}]}
import { AfterContentInit, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
import { LatLng, LatLngLiteral, PolyMouseEvent } from '../services/google-maps-types';
import { PolygonManager } from '../services/managers/polygon-manager';
import { MvcEventType } from '../utils/mvcarray-utils';
/**

@@ -160,5 +161,9 @@ * AgmPolygon renders a polygon on a {@link AgmMap}

/**
* This even is fired when the Polygon is right-clicked on.
* This event is fired when the Polygon is right-clicked on.
*/
polyRightClick: EventEmitter<PolyMouseEvent>;
/**
* This event is fired after Polygon first path changes.
*/
polyPathsChange: EventEmitter<PolygonPathEvent<any>>;
private static _polygonOptionsAttributes;

@@ -172,5 +177,5 @@ private _id;

ngOnChanges(changes: SimpleChanges): any;
private _init();
private _addEventListeners();
private _updatePolygonOptions(changes);
private _init;
private _addEventListeners;
private _updatePolygonOptions;
/** @internal */

@@ -180,2 +185,15 @@ id(): string;

ngOnDestroy(): void;
getPath(): Promise<Array<LatLng>>;
getPaths(): Promise<Array<Array<LatLng>>>;
}
export interface PolygonPathEvent<T extends (LatLng | Array<LatLng>)> {
newArr: LatLng[][];
eventName: MvcEventType;
index: number;
previous?: T;
}
export interface PathCollectionChangePolygonPathEvent extends PolygonPathEvent<Array<LatLng>> {
}
export interface PathChangePolygonPathEvent extends PolygonPathEvent<LatLng> {
pathIndex: number;
}

@@ -0,1 +1,10 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Directive, EventEmitter, Input, Output } from '@angular/core';

@@ -56,87 +65,90 @@ import { PolygonManager } from '../services/managers/polygon-manager';

/**
* Indicates whether this Polygon handles mouse events. Defaults to true.
*/
* Indicates whether this Polygon handles mouse events. Defaults to true.
*/
this.clickable = true;
/**
* If set to true, the user can drag this shape over the map. The geodesic
* property defines the mode of dragging. Defaults to false.
*/
* If set to true, the user can drag this shape over the map. The geodesic
* property defines the mode of dragging. Defaults to false.
*/
// tslint:disable-next-line:no-input-rename
this.draggable = false;
/**
* If set to true, the user can edit this shape by dragging the control
* points shown at the vertices and on each segment. Defaults to false.
*/
* If set to true, the user can edit this shape by dragging the control
* points shown at the vertices and on each segment. Defaults to false.
*/
this.editable = false;
/**
* When true, edges of the polygon are interpreted as geodesic and will
* follow the curvature of the Earth. When false, edges of the polygon are
* rendered as straight lines in screen space. Note that the shape of a
* geodesic polygon may appear to change when dragged, as the dimensions
* are maintained relative to the surface of the earth. Defaults to false.
*/
* When true, edges of the polygon are interpreted as geodesic and will
* follow the curvature of the Earth. When false, edges of the polygon are
* rendered as straight lines in screen space. Note that the shape of a
* geodesic polygon may appear to change when dragged, as the dimensions
* are maintained relative to the surface of the earth. Defaults to false.
*/
this.geodesic = false;
/**
* The ordered sequence of coordinates that designates a closed loop.
* Unlike polylines, a polygon may consist of one or more paths.
* As a result, the paths property may specify one or more arrays of
* LatLng coordinates. Paths are closed automatically; do not repeat the
* first vertex of the path as the last vertex. Simple polygons may be
* defined using a single array of LatLngs. More complex polygons may
* specify an array of arrays. Any simple arrays are converted into Arrays.
* Inserting or removing LatLngs from the Array will automatically update
* the polygon on the map.
*/
* The ordered sequence of coordinates that designates a closed loop.
* Unlike polylines, a polygon may consist of one or more paths.
* As a result, the paths property may specify one or more arrays of
* LatLng coordinates. Paths are closed automatically; do not repeat the
* first vertex of the path as the last vertex. Simple polygons may be
* defined using a single array of LatLngs. More complex polygons may
* specify an array of arrays. Any simple arrays are converted into Arrays.
* Inserting or removing LatLngs from the Array will automatically update
* the polygon on the map.
*/
this.paths = [];
/**
* This event is fired when the DOM click event is fired on the Polygon.
*/
* This event is fired when the DOM click event is fired on the Polygon.
*/
this.polyClick = new EventEmitter();
/**
* This event is fired when the DOM dblclick event is fired on the Polygon.
*/
* This event is fired when the DOM dblclick event is fired on the Polygon.
*/
this.polyDblClick = new EventEmitter();
/**
* This event is repeatedly fired while the user drags the polygon.
*/
* This event is repeatedly fired while the user drags the polygon.
*/
this.polyDrag = new EventEmitter();
/**
* This event is fired when the user stops dragging the polygon.
*/
* This event is fired when the user stops dragging the polygon.
*/
this.polyDragEnd = new EventEmitter();
/**
* This event is fired when the user starts dragging the polygon.
*/
* This event is fired when the user starts dragging the polygon.
*/
this.polyDragStart = new EventEmitter();
/**
* This event is fired when the DOM mousedown event is fired on the Polygon.
*/
* This event is fired when the DOM mousedown event is fired on the Polygon.
*/
this.polyMouseDown = new EventEmitter();
/**
* This event is fired when the DOM mousemove event is fired on the Polygon.
*/
* This event is fired when the DOM mousemove event is fired on the Polygon.
*/
this.polyMouseMove = new EventEmitter();
/**
* This event is fired on Polygon mouseout.
*/
* This event is fired on Polygon mouseout.
*/
this.polyMouseOut = new EventEmitter();
/**
* This event is fired on Polygon mouseover.
*/
* This event is fired on Polygon mouseover.
*/
this.polyMouseOver = new EventEmitter();
/**
* This event is fired whe the DOM mouseup event is fired on the Polygon
*/
* This event is fired whe the DOM mouseup event is fired on the Polygon
*/
this.polyMouseUp = new EventEmitter();
/**
* This even is fired when the Polygon is right-clicked on.
*/
* This event is fired when the Polygon is right-clicked on.
*/
this.polyRightClick = new EventEmitter();
/**
* This event is fired after Polygon first path changes.
*/
this.polyPathsChange = new EventEmitter();
this._polygonAddedToManager = false;
this._subscriptions = [];
}
AgmPolygon_1 = AgmPolygon;
/** @internal */
/** @internal */
AgmPolygon.prototype.ngAfterContentInit = /** @internal */
function () {
AgmPolygon.prototype.ngAfterContentInit = function () {
if (!this._polygonAddedToManager) {

@@ -177,6 +189,11 @@ this._init();

});
this._polygonManager.createPathEventObservable(this)
.then(function (paths$) {
var os = paths$.subscribe(function (pathEvent) { return _this.polyPathsChange.emit(pathEvent); });
_this._subscriptions.push(os);
});
};
AgmPolygon.prototype._updatePolygonOptions = function (changes) {
return Object.keys(changes)
.filter(function (k) { return AgmPolygon._polygonOptionsAttributes.indexOf(k) !== -1; })
.filter(function (k) { return AgmPolygon_1._polygonOptionsAttributes.indexOf(k) !== -1; })
.reduce(function (obj, k) {

@@ -188,9 +205,5 @@ obj[k] = changes[k].currentValue;

/** @internal */
AgmPolygon.prototype.id = function () { return this._id; };
/** @internal */
AgmPolygon.prototype.id = /** @internal */
function () { return this._id; };
/** @internal */
/** @internal */
AgmPolygon.prototype.ngOnDestroy = /** @internal */
function () {
AgmPolygon.prototype.ngOnDestroy = function () {
this._polygonManager.deletePolygon(this);

@@ -200,2 +213,9 @@ // unsubscribe all registered observable subscriptions

};
AgmPolygon.prototype.getPath = function () {
return this._polygonManager.getPath(this);
};
AgmPolygon.prototype.getPaths = function () {
return this._polygonManager.getPaths(this);
};
var AgmPolygon_1;
AgmPolygon._polygonOptionsAttributes = [

@@ -206,36 +226,104 @@ 'clickable', 'draggable', 'editable', 'fillColor', 'fillOpacity', 'geodesic', 'icon', 'map',

];
AgmPolygon.decorators = [
{ type: Directive, args: [{
selector: 'agm-polygon'
},] },
];
/** @nocollapse */
AgmPolygon.ctorParameters = function () { return [
{ type: PolygonManager, },
]; };
AgmPolygon.propDecorators = {
"clickable": [{ type: Input },],
"draggable": [{ type: Input, args: ['polyDraggable',] },],
"editable": [{ type: Input },],
"fillColor": [{ type: Input },],
"fillOpacity": [{ type: Input },],
"geodesic": [{ type: Input },],
"paths": [{ type: Input },],
"strokeColor": [{ type: Input },],
"strokeOpacity": [{ type: Input },],
"strokeWeight": [{ type: Input },],
"visible": [{ type: Input },],
"zIndex": [{ type: Input },],
"polyClick": [{ type: Output },],
"polyDblClick": [{ type: Output },],
"polyDrag": [{ type: Output },],
"polyDragEnd": [{ type: Output },],
"polyDragStart": [{ type: Output },],
"polyMouseDown": [{ type: Output },],
"polyMouseMove": [{ type: Output },],
"polyMouseOut": [{ type: Output },],
"polyMouseOver": [{ type: Output },],
"polyMouseUp": [{ type: Output },],
"polyRightClick": [{ type: Output },],
};
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmPolygon.prototype, "clickable", void 0);
__decorate([
Input('polyDraggable'),
__metadata("design:type", Boolean)
], AgmPolygon.prototype, "draggable", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmPolygon.prototype, "editable", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmPolygon.prototype, "fillColor", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmPolygon.prototype, "fillOpacity", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmPolygon.prototype, "geodesic", void 0);
__decorate([
Input(),
__metadata("design:type", Array)
], AgmPolygon.prototype, "paths", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmPolygon.prototype, "strokeColor", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmPolygon.prototype, "strokeOpacity", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmPolygon.prototype, "strokeWeight", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmPolygon.prototype, "visible", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmPolygon.prototype, "zIndex", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolygon.prototype, "polyClick", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolygon.prototype, "polyDblClick", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolygon.prototype, "polyDrag", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolygon.prototype, "polyDragEnd", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolygon.prototype, "polyDragStart", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolygon.prototype, "polyMouseDown", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolygon.prototype, "polyMouseMove", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolygon.prototype, "polyMouseOut", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolygon.prototype, "polyMouseOver", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolygon.prototype, "polyMouseUp", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolygon.prototype, "polyRightClick", void 0);
__decorate([
Output(),
__metadata("design:type", Object)
], AgmPolygon.prototype, "polyPathsChange", void 0);
AgmPolygon = AgmPolygon_1 = __decorate([
Directive({
selector: 'agm-polygon'
}),
__metadata("design:paramtypes", [PolygonManager])
], AgmPolygon);
return AgmPolygon;

@@ -242,0 +330,0 @@ }());

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":4,"metadata":{"AgmPolygon":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":55,"character":1},"arguments":[{"selector":"agm-polygon"}]}],"members":{"clickable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":62,"character":3}}]}],"draggable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":69,"character":3},"arguments":["polyDraggable"]}]}],"editable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":75,"character":3}}]}],"fillColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":81,"character":3}}]}],"fillOpacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":86,"character":3}}]}],"geodesic":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":95,"character":3}}]}],"paths":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":108,"character":3}}]}],"strokeColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":114,"character":3}}]}],"strokeOpacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":119,"character":3}}]}],"strokeWeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":124,"character":3}}]}],"visible":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":129,"character":3}}]}],"zIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":134,"character":3}}]}],"polyClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":139,"character":3}}]}],"polyDblClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":144,"character":3}}]}],"polyDrag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":149,"character":3}}]}],"polyDragEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":154,"character":3}}]}],"polyDragStart":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":159,"character":3}}]}],"polyMouseDown":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":164,"character":3}}]}],"polyMouseMove":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":169,"character":3}}]}],"polyMouseOut":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":174,"character":3}}]}],"polyMouseOver":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":179,"character":3}}]}],"polyMouseUp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":184,"character":3}}]}],"polyRightClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":189,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../services/managers/polygon-manager","name":"PolygonManager","line":201,"character":39}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"_init":[{"__symbolic":"method"}],"_addEventListeners":[{"__symbolic":"method"}],"_updatePolygonOptions":[{"__symbolic":"method"}],"id":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]},"statics":{"_polygonOptionsAttributes":["clickable","draggable","editable","fillColor","fillOpacity","geodesic","icon","map","paths","strokeColor","strokeOpacity","strokeWeight","visible","zIndex","draggable","editable","visible"]}}}}]
[{"__symbolic":"module","version":4,"metadata":{"AgmPolygon":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":56,"character":1},"arguments":[{"selector":"agm-polygon"}]}],"members":{"clickable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":63,"character":3}}]}],"draggable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":3},"arguments":["polyDraggable"]}]}],"editable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":76,"character":3}}]}],"fillColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":82,"character":3}}]}],"fillOpacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":87,"character":3}}]}],"geodesic":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":96,"character":3}}]}],"paths":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":109,"character":3}}]}],"strokeColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":115,"character":3}}]}],"strokeOpacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":120,"character":3}}]}],"strokeWeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":125,"character":3}}]}],"visible":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":130,"character":3}}]}],"zIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":135,"character":3}}]}],"polyClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":140,"character":3}}]}],"polyDblClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":145,"character":3}}]}],"polyDrag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":150,"character":3}}]}],"polyDragEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":155,"character":3}}]}],"polyDragStart":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":160,"character":3}}]}],"polyMouseDown":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":165,"character":3}}]}],"polyMouseMove":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":170,"character":3}}]}],"polyMouseOut":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":175,"character":3}}]}],"polyMouseOver":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":180,"character":3}}]}],"polyMouseUp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":185,"character":3}}]}],"polyRightClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":190,"character":3}}]}],"polyPathsChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":195,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../services/managers/polygon-manager","name":"PolygonManager","line":207,"character":39}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"_init":[{"__symbolic":"method"}],"_addEventListeners":[{"__symbolic":"method"}],"_updatePolygonOptions":[{"__symbolic":"method"}],"id":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"getPath":[{"__symbolic":"method"}],"getPaths":[{"__symbolic":"method"}]},"statics":{"_polygonOptionsAttributes":["clickable","draggable","editable","fillColor","fillOpacity","geodesic","icon","map","paths","strokeColor","strokeOpacity","strokeWeight","visible","zIndex","draggable","editable","visible"]}},"PolygonPathEvent":{"__symbolic":"interface"},"PathCollectionChangePolygonPathEvent":{"__symbolic":"interface"},"PathChangePolygonPathEvent":{"__symbolic":"interface"}}}]

@@ -1,1 +0,1 @@

{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"clickable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"draggable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]},"arguments":["polyDraggable"]}]}],"editable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"fillColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"fillOpacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"geodesic":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"paths":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"strokeColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"strokeOpacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"strokeWeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"visible":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"zIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"polyClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyDblClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyDrag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyDragEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyDragStart":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyMouseDown":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyMouseMove":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyMouseOut":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyMouseOver":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyMouseUp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyRightClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":3,"members":[]}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"_init":[{"__symbolic":"method"}],"_addEventListeners":[{"__symbolic":"method"}],"_updatePolygonOptions":[{"__symbolic":"method"}],"id":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]},"statics":{"_polygonOptionsAttributes":["clickable","draggable","editable","fillColor","fillOpacity","geodesic","icon","map","paths","strokeColor","strokeOpacity","strokeWeight","visible","zIndex","draggable","editable","visible"]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":3,"members":[]}}}}],"lifecycleHooks":[1,3,4]},"isComponent":false,"selector":"agm-polygon","exportAs":null,"inputs":{"clickable":"clickable","draggable":"polyDraggable","editable":"editable","fillColor":"fillColor","fillOpacity":"fillOpacity","geodesic":"geodesic","paths":"paths","strokeColor":"strokeColor","strokeOpacity":"strokeOpacity","strokeWeight":"strokeWeight","visible":"visible","zIndex":"zIndex"},"outputs":{"polyClick":"polyClick","polyDblClick":"polyDblClick","polyDrag":"polyDrag","polyDragEnd":"polyDragEnd","polyDragStart":"polyDragStart","polyMouseDown":"polyMouseDown","polyMouseMove":"polyMouseMove","polyMouseOut":"polyMouseOut","polyMouseOver":"polyMouseOver","polyMouseUp":"polyMouseUp","polyRightClick":"polyRightClick"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":null,"template":null,"componentViewType":null,"rendererType":null,"componentFactory":null}}],"symbols":[{"__symbol":0,"name":"AgmPolygon","filePath":"./polygon"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"PolygonManager","filePath":"../services/managers/polygon-manager"}]}
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"clickable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"draggable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]},"arguments":["polyDraggable"]}]}],"editable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"fillColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"fillOpacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"geodesic":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"paths":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"strokeColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"strokeOpacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"strokeWeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"visible":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"zIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"polyClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyDblClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyDrag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyDragEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyDragStart":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyMouseDown":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyMouseMove":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyMouseOut":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyMouseOver":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyMouseUp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyRightClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyPathsChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":3,"members":[]}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"_init":[{"__symbolic":"method"}],"_addEventListeners":[{"__symbolic":"method"}],"_updatePolygonOptions":[{"__symbolic":"method"}],"id":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"getPath":[{"__symbolic":"method"}],"getPaths":[{"__symbolic":"method"}]},"statics":{"_polygonOptionsAttributes":["clickable","draggable","editable","fillColor","fillOpacity","geodesic","icon","map","paths","strokeColor","strokeOpacity","strokeWeight","visible","zIndex","draggable","editable","visible"]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":3,"members":[]}}}}],"lifecycleHooks":[1,3,4]},"isComponent":false,"selector":"agm-polygon","exportAs":null,"inputs":{"clickable":"clickable","draggable":"polyDraggable","editable":"editable","fillColor":"fillColor","fillOpacity":"fillOpacity","geodesic":"geodesic","paths":"paths","strokeColor":"strokeColor","strokeOpacity":"strokeOpacity","strokeWeight":"strokeWeight","visible":"visible","zIndex":"zIndex"},"outputs":{"polyClick":"polyClick","polyDblClick":"polyDblClick","polyDrag":"polyDrag","polyDragEnd":"polyDragEnd","polyDragStart":"polyDragStart","polyMouseDown":"polyMouseDown","polyMouseMove":"polyMouseMove","polyMouseOut":"polyMouseOut","polyMouseOver":"polyMouseOver","polyMouseUp":"polyMouseUp","polyRightClick":"polyRightClick","polyPathsChange":"polyPathsChange"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":null,"template":null,"componentViewType":null,"rendererType":null,"componentFactory":null}},{"symbol":{"__symbol":4,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":5,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":6,"members":[]},"metadata":{"__symbolic":"interface"}}],"symbols":[{"__symbol":0,"name":"AgmPolygon","filePath":"./polygon"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"PolygonManager","filePath":"../services/managers/polygon-manager"},{"__symbol":4,"name":"PolygonPathEvent","filePath":"./polygon"},{"__symbol":5,"name":"PathCollectionChangePolygonPathEvent","filePath":"./polygon"},{"__symbol":6,"name":"PathChangePolygonPathEvent","filePath":"./polygon"}]}

@@ -0,1 +1,10 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Directive, EventEmitter, Input, Output } from '@angular/core';

@@ -9,4 +18,4 @@ /**

/**
* This event emitter gets emitted when the position of the point changed.
*/
* This event emitter gets emitted when the position of the point changed.
*/
this.positionChanged = new EventEmitter();

@@ -23,12 +32,18 @@ }

};
AgmPolylinePoint.decorators = [
{ type: Directive, args: [{ selector: 'agm-polyline-point' },] },
];
/** @nocollapse */
AgmPolylinePoint.ctorParameters = function () { return []; };
AgmPolylinePoint.propDecorators = {
"latitude": [{ type: Input },],
"longitude": [{ type: Input },],
"positionChanged": [{ type: Output },],
};
__decorate([
Input(),
__metadata("design:type", Number)
], AgmPolylinePoint.prototype, "latitude", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmPolylinePoint.prototype, "longitude", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolylinePoint.prototype, "positionChanged", void 0);
AgmPolylinePoint = __decorate([
Directive({ selector: 'agm-polyline-point' }),
__metadata("design:paramtypes", [])
], AgmPolylinePoint);
return AgmPolylinePoint;

@@ -35,0 +50,0 @@ }());

import { AfterContentInit, EventEmitter, OnChanges, OnDestroy, QueryList, SimpleChanges } from '@angular/core';
import { PolyMouseEvent } from '../services/google-maps-types';
import { PolyMouseEvent, LatLng } from '../services/google-maps-types';
import { PolylineManager } from '../services/managers/polyline-manager';

@@ -116,6 +116,10 @@ import { AgmPolylinePoint } from './polyline-point';

/**
* This even is fired when the Polyline is right-clicked on.
* This event is fired when the Polyline is right-clicked on.
*/
lineRightClick: EventEmitter<PolyMouseEvent>;
/**
* This event is fired after Polyline's path changes.
*/
polyPathChange: EventEmitter<PathEvent>;
/**
* @internal

@@ -132,4 +136,5 @@ */

ngOnChanges(changes: SimpleChanges): any;
private _init();
private _addEventListeners();
getPath(): Promise<Array<LatLng>>;
private _init;
private _addEventListeners;
/** @internal */

@@ -142,1 +147,7 @@ _getPoints(): Array<AgmPolylinePoint>;

}
export interface PathEvent {
newArr: LatLng[];
evName: 'insert_at' | 'remove_at' | 'set_at';
index: number;
previous?: LatLng;
}

@@ -0,1 +1,10 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { ContentChildren, Directive, EventEmitter, QueryList, Input, Output } from '@angular/core';

@@ -36,71 +45,75 @@ import { PolylineManager } from '../services/managers/polyline-manager';

/**
* Indicates whether this Polyline handles mouse events. Defaults to true.
*/
* Indicates whether this Polyline handles mouse events. Defaults to true.
*/
this.clickable = true;
/**
* If set to true, the user can drag this shape over the map. The geodesic property defines the
* mode of dragging. Defaults to false.
*/
* If set to true, the user can drag this shape over the map. The geodesic property defines the
* mode of dragging. Defaults to false.
*/
// tslint:disable-next-line:no-input-rename
this.draggable = false;
/**
* If set to true, the user can edit this shape by dragging the control points shown at the
* vertices and on each segment. Defaults to false.
*/
* If set to true, the user can edit this shape by dragging the control points shown at the
* vertices and on each segment. Defaults to false.
*/
this.editable = false;
/**
* When true, edges of the polygon are interpreted as geodesic and will follow the curvature of
* the Earth. When false, edges of the polygon are rendered as straight lines in screen space.
* Note that the shape of a geodesic polygon may appear to change when dragged, as the dimensions
* are maintained relative to the surface of the earth. Defaults to false.
*/
* When true, edges of the polygon are interpreted as geodesic and will follow the curvature of
* the Earth. When false, edges of the polygon are rendered as straight lines in screen space.
* Note that the shape of a geodesic polygon may appear to change when dragged, as the dimensions
* are maintained relative to the surface of the earth. Defaults to false.
*/
this.geodesic = false;
/**
* Whether this polyline is visible on the map. Defaults to true.
*/
* Whether this polyline is visible on the map. Defaults to true.
*/
this.visible = true;
/**
* This event is fired when the DOM click event is fired on the Polyline.
*/
* This event is fired when the DOM click event is fired on the Polyline.
*/
this.lineClick = new EventEmitter();
/**
* This event is fired when the DOM dblclick event is fired on the Polyline.
*/
* This event is fired when the DOM dblclick event is fired on the Polyline.
*/
this.lineDblClick = new EventEmitter();
/**
* This event is repeatedly fired while the user drags the polyline.
*/
* This event is repeatedly fired while the user drags the polyline.
*/
this.lineDrag = new EventEmitter();
/**
* This event is fired when the user stops dragging the polyline.
*/
* This event is fired when the user stops dragging the polyline.
*/
this.lineDragEnd = new EventEmitter();
/**
* This event is fired when the user starts dragging the polyline.
*/
* This event is fired when the user starts dragging the polyline.
*/
this.lineDragStart = new EventEmitter();
/**
* This event is fired when the DOM mousedown event is fired on the Polyline.
*/
* This event is fired when the DOM mousedown event is fired on the Polyline.
*/
this.lineMouseDown = new EventEmitter();
/**
* This event is fired when the DOM mousemove event is fired on the Polyline.
*/
* This event is fired when the DOM mousemove event is fired on the Polyline.
*/
this.lineMouseMove = new EventEmitter();
/**
* This event is fired on Polyline mouseout.
*/
* This event is fired on Polyline mouseout.
*/
this.lineMouseOut = new EventEmitter();
/**
* This event is fired on Polyline mouseover.
*/
* This event is fired on Polyline mouseover.
*/
this.lineMouseOver = new EventEmitter();
/**
* This event is fired whe the DOM mouseup event is fired on the Polyline
*/
* This event is fired whe the DOM mouseup event is fired on the Polyline
*/
this.lineMouseUp = new EventEmitter();
/**
* This even is fired when the Polyline is right-clicked on.
*/
* This event is fired when the Polyline is right-clicked on.
*/
this.lineRightClick = new EventEmitter();
/**
* This event is fired after Polyline's path changes.
*/
this.polyPathChange = new EventEmitter();
this._polylineAddedToManager = false;

@@ -110,6 +123,5 @@ this._subscriptions = [];

}
AgmPolyline_1 = AgmPolyline;
/** @internal */
/** @internal */
AgmPolyline.prototype.ngAfterContentInit = /** @internal */
function () {
AgmPolyline.prototype.ngAfterContentInit = function () {
var _this = this;

@@ -135,6 +147,9 @@ if (this.points.length) {

var options = {};
var optionKeys = Object.keys(changes).filter(function (k) { return AgmPolyline._polylineOptionsAttributes.indexOf(k) !== -1; });
var optionKeys = Object.keys(changes).filter(function (k) { return AgmPolyline_1._polylineOptionsAttributes.indexOf(k) !== -1; });
optionKeys.forEach(function (k) { return options[k] = changes[k].currentValue; });
this._polylineManager.setPolylineOptions(this, options);
};
AgmPolyline.prototype.getPath = function () {
return this._polylineManager.getPath(this);
};
AgmPolyline.prototype._init = function () {

@@ -164,7 +179,9 @@ this._polylineManager.addPolyline(this);

});
this._polylineManager.createPathEventObservable(this).then(function (ob$) {
var os = ob$.subscribe(function (pathEvent) { return _this.polyPathChange.emit(pathEvent); });
_this._subscriptions.push(os);
});
};
/** @internal */
/** @internal */
AgmPolyline.prototype._getPoints = /** @internal */
function () {
AgmPolyline.prototype._getPoints = function () {
if (this.points) {

@@ -176,9 +193,5 @@ return this.points.toArray();

/** @internal */
AgmPolyline.prototype.id = function () { return this._id; };
/** @internal */
AgmPolyline.prototype.id = /** @internal */
function () { return this._id; };
/** @internal */
/** @internal */
AgmPolyline.prototype.ngOnDestroy = /** @internal */
function () {
AgmPolyline.prototype.ngOnDestroy = function () {
this._polylineManager.deletePolyline(this);

@@ -188,2 +201,3 @@ // unsubscribe all registered observable subscriptions

};
var AgmPolyline_1;
AgmPolyline._polylineOptionsAttributes = [

@@ -193,34 +207,96 @@ 'draggable', 'editable', 'visible', 'geodesic', 'strokeColor', 'strokeOpacity', 'strokeWeight',

];
AgmPolyline.decorators = [
{ type: Directive, args: [{
selector: 'agm-polyline'
},] },
];
/** @nocollapse */
AgmPolyline.ctorParameters = function () { return [
{ type: PolylineManager, },
]; };
AgmPolyline.propDecorators = {
"clickable": [{ type: Input },],
"draggable": [{ type: Input, args: ['polylineDraggable',] },],
"editable": [{ type: Input },],
"geodesic": [{ type: Input },],
"strokeColor": [{ type: Input },],
"strokeOpacity": [{ type: Input },],
"strokeWeight": [{ type: Input },],
"visible": [{ type: Input },],
"zIndex": [{ type: Input },],
"lineClick": [{ type: Output },],
"lineDblClick": [{ type: Output },],
"lineDrag": [{ type: Output },],
"lineDragEnd": [{ type: Output },],
"lineDragStart": [{ type: Output },],
"lineMouseDown": [{ type: Output },],
"lineMouseMove": [{ type: Output },],
"lineMouseOut": [{ type: Output },],
"lineMouseOver": [{ type: Output },],
"lineMouseUp": [{ type: Output },],
"lineRightClick": [{ type: Output },],
"points": [{ type: ContentChildren, args: [AgmPolylinePoint,] },],
};
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmPolyline.prototype, "clickable", void 0);
__decorate([
Input('polylineDraggable'),
__metadata("design:type", Boolean)
], AgmPolyline.prototype, "draggable", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmPolyline.prototype, "editable", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmPolyline.prototype, "geodesic", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmPolyline.prototype, "strokeColor", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmPolyline.prototype, "strokeOpacity", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmPolyline.prototype, "strokeWeight", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmPolyline.prototype, "visible", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmPolyline.prototype, "zIndex", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolyline.prototype, "lineClick", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolyline.prototype, "lineDblClick", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolyline.prototype, "lineDrag", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolyline.prototype, "lineDragEnd", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolyline.prototype, "lineDragStart", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolyline.prototype, "lineMouseDown", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolyline.prototype, "lineMouseMove", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolyline.prototype, "lineMouseOut", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolyline.prototype, "lineMouseOver", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolyline.prototype, "lineMouseUp", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmPolyline.prototype, "lineRightClick", void 0);
__decorate([
Output(),
__metadata("design:type", Object)
], AgmPolyline.prototype, "polyPathChange", void 0);
__decorate([
ContentChildren(AgmPolylinePoint),
__metadata("design:type", QueryList)
], AgmPolyline.prototype, "points", void 0);
AgmPolyline = AgmPolyline_1 = __decorate([
Directive({
selector: 'agm-polyline'
}),
__metadata("design:paramtypes", [PolylineManager])
], AgmPolyline);
return AgmPolyline;

@@ -227,0 +303,0 @@ }());

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":4,"metadata":{"AgmPolyline":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":35,"character":1},"arguments":[{"selector":"agm-polyline"}]}],"members":{"clickable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3}}]}],"draggable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3},"arguments":["polylineDraggable"]}]}],"editable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":3}}]}],"geodesic":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":63,"character":3}}]}],"strokeColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":68,"character":3}}]}],"strokeOpacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":73,"character":3}}]}],"strokeWeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":78,"character":3}}]}],"visible":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":83,"character":3}}]}],"zIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":88,"character":3}}]}],"lineClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":93,"character":3}}]}],"lineDblClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":98,"character":3}}]}],"lineDrag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":103,"character":3}}]}],"lineDragEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":108,"character":3}}]}],"lineDragStart":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":113,"character":3}}]}],"lineMouseDown":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":118,"character":3}}]}],"lineMouseMove":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":123,"character":3}}]}],"lineMouseOut":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":128,"character":3}}]}],"lineMouseOver":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":133,"character":3}}]}],"lineMouseUp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":138,"character":3}}]}],"lineRightClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":143,"character":3}}]}],"points":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":148,"character":3},"arguments":[{"__symbolic":"reference","module":"./polyline-point","name":"AgmPolylinePoint","line":148,"character":19}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../services/managers/polyline-manager","name":"PolylineManager","line":159,"character":40}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"_init":[{"__symbolic":"method"}],"_addEventListeners":[{"__symbolic":"method"}],"_getPoints":[{"__symbolic":"method"}],"id":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]},"statics":{"_polylineOptionsAttributes":["draggable","editable","visible","geodesic","strokeColor","strokeOpacity","strokeWeight","zIndex"]}}}}]
[{"__symbolic":"module","version":4,"metadata":{"AgmPolyline":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":35,"character":1},"arguments":[{"selector":"agm-polyline"}]}],"members":{"clickable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3}}]}],"draggable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3},"arguments":["polylineDraggable"]}]}],"editable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":3}}]}],"geodesic":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":63,"character":3}}]}],"strokeColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":68,"character":3}}]}],"strokeOpacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":73,"character":3}}]}],"strokeWeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":78,"character":3}}]}],"visible":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":83,"character":3}}]}],"zIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":88,"character":3}}]}],"lineClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":93,"character":3}}]}],"lineDblClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":98,"character":3}}]}],"lineDrag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":103,"character":3}}]}],"lineDragEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":108,"character":3}}]}],"lineDragStart":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":113,"character":3}}]}],"lineMouseDown":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":118,"character":3}}]}],"lineMouseMove":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":123,"character":3}}]}],"lineMouseOut":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":128,"character":3}}]}],"lineMouseOver":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":133,"character":3}}]}],"lineMouseUp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":138,"character":3}}]}],"lineRightClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":143,"character":3}}]}],"polyPathChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":148,"character":3}}]}],"points":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":153,"character":3},"arguments":[{"__symbolic":"reference","module":"./polyline-point","name":"AgmPolylinePoint","line":153,"character":19}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../services/managers/polyline-manager","name":"PolylineManager","line":164,"character":40}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"getPath":[{"__symbolic":"method"}],"_init":[{"__symbolic":"method"}],"_addEventListeners":[{"__symbolic":"method"}],"_getPoints":[{"__symbolic":"method"}],"id":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]},"statics":{"_polylineOptionsAttributes":["draggable","editable","visible","geodesic","strokeColor","strokeOpacity","strokeWeight","zIndex"]}},"PathEvent":{"__symbolic":"interface"}}}]

@@ -1,1 +0,1 @@

{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"clickable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"draggable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]},"arguments":["polylineDraggable"]}]}],"editable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"geodesic":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"strokeColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"strokeOpacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"strokeWeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"visible":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"zIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"lineClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineDblClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineDrag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineDragEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineDragStart":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineMouseDown":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineMouseMove":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineMouseOut":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineMouseOver":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineMouseUp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineRightClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"points":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":3,"members":[]},"arguments":[{"__symbol":4,"members":[]}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":5,"members":[]}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"_init":[{"__symbolic":"method"}],"_addEventListeners":[{"__symbolic":"method"}],"_getPoints":[{"__symbolic":"method"}],"id":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]},"statics":{"_polylineOptionsAttributes":["draggable","editable","visible","geodesic","strokeColor","strokeOpacity","strokeWeight","zIndex"]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":5,"members":[]}}}}],"lifecycleHooks":[1,3,4]},"isComponent":false,"selector":"agm-polyline","exportAs":null,"inputs":{"clickable":"clickable","draggable":"polylineDraggable","editable":"editable","geodesic":"geodesic","strokeColor":"strokeColor","strokeOpacity":"strokeOpacity","strokeWeight":"strokeWeight","visible":"visible","zIndex":"zIndex"},"outputs":{"lineClick":"lineClick","lineDblClick":"lineDblClick","lineDrag":"lineDrag","lineDragEnd":"lineDragEnd","lineDragStart":"lineDragStart","lineMouseDown":"lineMouseDown","lineMouseMove":"lineMouseMove","lineMouseOut":"lineMouseOut","lineMouseOver":"lineMouseOver","lineMouseUp":"lineMouseUp","lineRightClick":"lineRightClick"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[{"selectors":[{"identifier":{"reference":{"__symbol":4,"members":[]}}}],"first":false,"descendants":false,"propertyName":"points","read":null}],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":null,"template":null,"componentViewType":null,"rendererType":null,"componentFactory":null}}],"symbols":[{"__symbol":0,"name":"AgmPolyline","filePath":"./polyline"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"ContentChildren","filePath":"@angular/core"},{"__symbol":4,"name":"AgmPolylinePoint","filePath":"./polyline-point"},{"__symbol":5,"name":"PolylineManager","filePath":"../services/managers/polyline-manager"}]}
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"clickable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"draggable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]},"arguments":["polylineDraggable"]}]}],"editable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"geodesic":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"strokeColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"strokeOpacity":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"strokeWeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"visible":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"zIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"lineClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineDblClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineDrag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineDragEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineDragStart":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineMouseDown":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineMouseMove":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineMouseOut":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineMouseOver":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineMouseUp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"lineRightClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"polyPathChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"points":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":3,"members":[]},"arguments":[{"__symbol":4,"members":[]}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":5,"members":[]}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"getPath":[{"__symbolic":"method"}],"_init":[{"__symbolic":"method"}],"_addEventListeners":[{"__symbolic":"method"}],"_getPoints":[{"__symbolic":"method"}],"id":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]},"statics":{"_polylineOptionsAttributes":["draggable","editable","visible","geodesic","strokeColor","strokeOpacity","strokeWeight","zIndex"]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":5,"members":[]}}}}],"lifecycleHooks":[1,3,4]},"isComponent":false,"selector":"agm-polyline","exportAs":null,"inputs":{"clickable":"clickable","draggable":"polylineDraggable","editable":"editable","geodesic":"geodesic","strokeColor":"strokeColor","strokeOpacity":"strokeOpacity","strokeWeight":"strokeWeight","visible":"visible","zIndex":"zIndex"},"outputs":{"lineClick":"lineClick","lineDblClick":"lineDblClick","lineDrag":"lineDrag","lineDragEnd":"lineDragEnd","lineDragStart":"lineDragStart","lineMouseDown":"lineMouseDown","lineMouseMove":"lineMouseMove","lineMouseOut":"lineMouseOut","lineMouseOver":"lineMouseOver","lineMouseUp":"lineMouseUp","lineRightClick":"lineRightClick","polyPathChange":"polyPathChange"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[{"selectors":[{"identifier":{"reference":{"__symbol":4,"members":[]}}}],"first":false,"descendants":false,"propertyName":"points","read":null}],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":null,"template":null,"componentViewType":null,"rendererType":null,"componentFactory":null}},{"symbol":{"__symbol":6,"members":[]},"metadata":{"__symbolic":"interface"}}],"symbols":[{"__symbol":0,"name":"AgmPolyline","filePath":"./polyline"},{"__symbol":1,"name":"Input","filePath":"@angular/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core"},{"__symbol":3,"name":"ContentChildren","filePath":"@angular/core"},{"__symbol":4,"name":"AgmPolylinePoint","filePath":"./polyline-point"},{"__symbol":5,"name":"PolylineManager","filePath":"../services/managers/polyline-manager"},{"__symbol":6,"name":"PathEvent","filePath":"./polyline"}]}

@@ -127,4 +127,4 @@ import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChange } from '@angular/core';

}): void;
private _updateRectangleOptionsChanges(changes);
private _registerEventListeners();
private _updateRectangleOptionsChanges;
private _registerEventListeners;
/** @internal */

@@ -131,0 +131,0 @@ ngOnDestroy(): void;

@@ -0,1 +1,10 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Directive, EventEmitter, Input, Output } from '@angular/core';

@@ -7,75 +16,75 @@ import { RectangleManager } from '../services/managers/rectangle-manager';

/**
* Indicates whether this Rectangle handles mouse events. Defaults to true.
*/
* Indicates whether this Rectangle handles mouse events. Defaults to true.
*/
this.clickable = true;
/**
* If set to true, the user can drag this rectangle over the map. Defaults to false.
*/
* If set to true, the user can drag this rectangle over the map. Defaults to false.
*/
// tslint:disable-next-line:no-input-rename
this.draggable = false;
/**
* If set to true, the user can edit this rectangle by dragging the control points shown at
* the center and around the circumference of the rectangle. Defaults to false.
*/
* If set to true, the user can edit this rectangle by dragging the control points shown at
* the center and around the circumference of the rectangle. Defaults to false.
*/
this.editable = false;
/**
* The stroke position. Defaults to CENTER.
* This property is not supported on Internet Explorer 8 and earlier.
*/
* The stroke position. Defaults to CENTER.
* This property is not supported on Internet Explorer 8 and earlier.
*/
this.strokePosition = 'CENTER';
/**
* The stroke width in pixels.
*/
* The stroke width in pixels.
*/
this.strokeWeight = 0;
/**
* Whether this rectangle is visible on the map. Defaults to true.
*/
* Whether this rectangle is visible on the map. Defaults to true.
*/
this.visible = true;
/**
* This event is fired when the rectangle's is changed.
*/
* This event is fired when the rectangle's is changed.
*/
this.boundsChange = new EventEmitter();
/**
* This event emitter gets emitted when the user clicks on the rectangle.
*/
* This event emitter gets emitted when the user clicks on the rectangle.
*/
this.rectangleClick = new EventEmitter();
/**
* This event emitter gets emitted when the user clicks on the rectangle.
*/
* This event emitter gets emitted when the user clicks on the rectangle.
*/
this.rectangleDblClick = new EventEmitter();
/**
* This event is repeatedly fired while the user drags the rectangle.
*/
* This event is repeatedly fired while the user drags the rectangle.
*/
this.drag = new EventEmitter();
/**
* This event is fired when the user stops dragging the rectangle.
*/
* This event is fired when the user stops dragging the rectangle.
*/
this.dragEnd = new EventEmitter();
/**
* This event is fired when the user starts dragging the rectangle.
*/
* This event is fired when the user starts dragging the rectangle.
*/
this.dragStart = new EventEmitter();
/**
* This event is fired when the DOM mousedown event is fired on the rectangle.
*/
* This event is fired when the DOM mousedown event is fired on the rectangle.
*/
this.mouseDown = new EventEmitter();
/**
* This event is fired when the DOM mousemove event is fired on the rectangle.
*/
* This event is fired when the DOM mousemove event is fired on the rectangle.
*/
this.mouseMove = new EventEmitter();
/**
* This event is fired on rectangle mouseout.
*/
* This event is fired on rectangle mouseout.
*/
this.mouseOut = new EventEmitter();
/**
* This event is fired on rectangle mouseover.
*/
* This event is fired on rectangle mouseover.
*/
this.mouseOver = new EventEmitter();
/**
* This event is fired when the DOM mouseup event is fired on the rectangle.
*/
* This event is fired when the DOM mouseup event is fired on the rectangle.
*/
this.mouseUp = new EventEmitter();
/**
* This event is fired when the rectangle is right-clicked on.
*/
* This event is fired when the rectangle is right-clicked on.
*/
this.rightClick = new EventEmitter();

@@ -85,6 +94,5 @@ this._rectangleAddedToManager = false;

}
AgmRectangle_1 = AgmRectangle;
/** @internal */
/** @internal */
AgmRectangle.prototype.ngOnInit = /** @internal */
function () {
AgmRectangle.prototype.ngOnInit = function () {
this._manager.addRectangle(this);

@@ -95,5 +103,3 @@ this._rectangleAddedToManager = true;

/** @internal */
/** @internal */
AgmRectangle.prototype.ngOnChanges = /** @internal */
function (changes) {
AgmRectangle.prototype.ngOnChanges = function (changes) {
if (!this._rectangleAddedToManager) {

@@ -121,3 +127,3 @@ return;

var options = {};
var optionKeys = Object.keys(changes).filter(function (k) { return AgmRectangle._mapOptions.indexOf(k) !== -1; });
var optionKeys = Object.keys(changes).filter(function (k) { return AgmRectangle_1._mapOptions.indexOf(k) !== -1; });
optionKeys.forEach(function (k) {

@@ -169,5 +175,3 @@ options[k] = changes[k].currentValue;

/** @internal */
/** @internal */
AgmRectangle.prototype.ngOnDestroy = /** @internal */
function () {
AgmRectangle.prototype.ngOnDestroy = function () {
this._eventSubscriptions.forEach(function (s) {

@@ -182,11 +186,6 @@ s.unsubscribe();

*/
/**
* Gets the LatLngBounds of this Rectangle.
*/
AgmRectangle.prototype.getBounds = /**
* Gets the LatLngBounds of this Rectangle.
*/
function () {
AgmRectangle.prototype.getBounds = function () {
return this._manager.getBounds(this);
};
var AgmRectangle_1;
AgmRectangle._mapOptions = [

@@ -203,40 +202,116 @@ 'fillColor',

];
AgmRectangle.decorators = [
{ type: Directive, args: [{
selector: 'agm-rectangle'
},] },
];
/** @nocollapse */
AgmRectangle.ctorParameters = function () { return [
{ type: RectangleManager, },
]; };
AgmRectangle.propDecorators = {
"north": [{ type: Input },],
"east": [{ type: Input },],
"south": [{ type: Input },],
"west": [{ type: Input },],
"clickable": [{ type: Input },],
"draggable": [{ type: Input, args: ['rectangleDraggable',] },],
"editable": [{ type: Input },],
"fillColor": [{ type: Input },],
"fillOpacity": [{ type: Input },],
"strokeColor": [{ type: Input },],
"strokeOpacity": [{ type: Input },],
"strokePosition": [{ type: Input },],
"strokeWeight": [{ type: Input },],
"visible": [{ type: Input },],
"zIndex": [{ type: Input },],
"boundsChange": [{ type: Output },],
"rectangleClick": [{ type: Output },],
"rectangleDblClick": [{ type: Output },],
"drag": [{ type: Output },],
"dragEnd": [{ type: Output },],
"dragStart": [{ type: Output },],
"mouseDown": [{ type: Output },],
"mouseMove": [{ type: Output },],
"mouseOut": [{ type: Output },],
"mouseOver": [{ type: Output },],
"mouseUp": [{ type: Output },],
"rightClick": [{ type: Output },],
};
__decorate([
Input(),
__metadata("design:type", Number)
], AgmRectangle.prototype, "north", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmRectangle.prototype, "east", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmRectangle.prototype, "south", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmRectangle.prototype, "west", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmRectangle.prototype, "clickable", void 0);
__decorate([
Input('rectangleDraggable'),
__metadata("design:type", Boolean)
], AgmRectangle.prototype, "draggable", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmRectangle.prototype, "editable", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmRectangle.prototype, "fillColor", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmRectangle.prototype, "fillOpacity", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmRectangle.prototype, "strokeColor", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmRectangle.prototype, "strokeOpacity", void 0);
__decorate([
Input(),
__metadata("design:type", String)
], AgmRectangle.prototype, "strokePosition", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmRectangle.prototype, "strokeWeight", void 0);
__decorate([
Input(),
__metadata("design:type", Boolean)
], AgmRectangle.prototype, "visible", void 0);
__decorate([
Input(),
__metadata("design:type", Number)
], AgmRectangle.prototype, "zIndex", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmRectangle.prototype, "boundsChange", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmRectangle.prototype, "rectangleClick", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmRectangle.prototype, "rectangleDblClick", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmRectangle.prototype, "drag", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmRectangle.prototype, "dragEnd", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmRectangle.prototype, "dragStart", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmRectangle.prototype, "mouseDown", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmRectangle.prototype, "mouseMove", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmRectangle.prototype, "mouseOut", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmRectangle.prototype, "mouseOver", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmRectangle.prototype, "mouseUp", void 0);
__decorate([
Output(),
__metadata("design:type", EventEmitter)
], AgmRectangle.prototype, "rightClick", void 0);
AgmRectangle = AgmRectangle_1 = __decorate([
Directive({
selector: 'agm-rectangle'
}),
__metadata("design:paramtypes", [RectangleManager])
], AgmRectangle);
return AgmRectangle;

@@ -243,0 +318,0 @@ }());

@@ -0,4 +1,8 @@

// main modules
export * from './directives';
export * from './services';
// core module
// we explicitly export the module here to prevent this Ionic 2 bug:
// http://stevemichelotti.com/integrate-angular-2-google-maps-into-ionic-2/
export { AgmCoreModule } from './core.module';
//# sourceMappingURL=index.js.map
{
"name": "@agm/core",
"version": "1.0.0-beta.5",
"version": "1.0.0-beta.6",
"description": "Angular components for Google Maps",

@@ -25,4 +25,4 @@ "repository": {

"peerDependencies": {
"@angular/common": "^5.0.0 || ^6.0.0",
"@angular/core": "^5.0.0 || ^6.0.0"
"@angular/common": "^6.0.0 || ^7.0.0 || ^8.0.0",
"@angular/core": "^6.0.0 || ^7.0.0 || ^8.0.0"
},

@@ -32,4 +32,4 @@ "jspm": {

"dependencies": {
"@angular/common": "^5.0.0 || ^6.0.0",
"@angular/core": "^5.0.0 || ^6.0.0"
"@angular/common": "^6.0.0 || ^7.0.0 || ^8.0.0",
"@angular/core": "^6.0.0 || ^7.0.0 || ^8.0.0"
}

@@ -36,0 +36,0 @@ },

@@ -26,3 +26,3 @@ import { BehaviorSubject, Observable } from 'rxjs';

constructor(loader: MapsAPILoader);
private _generateBounds(includeInBounds);
private _generateBounds;
addToBounds(latLng: LatLng | LatLngLiteral): void;

@@ -29,0 +29,0 @@ removeFromBounds(latLng: LatLng | LatLngLiteral): void;

@@ -0,1 +1,10 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Injectable } from '@angular/core';

@@ -9,7 +18,3 @@ import { BehaviorSubject, from, timer } from 'rxjs';

*/
var /**
* Class to implement when you what to be able to make it work with the auto fit bounds feature
* of AGM.
*/
FitBoundsAccessor = /** @class */ (function () {
var FitBoundsAccessor = /** @class */ (function () {
function FitBoundsAccessor() {

@@ -19,6 +24,2 @@ }

}());
/**
* Class to implement when you what to be able to make it work with the auto fit bounds feature
* of AGM.
*/
export { FitBoundsAccessor };

@@ -63,9 +64,6 @@ /**

};
FitBoundsService.decorators = [
{ type: Injectable },
];
/** @nocollapse */
FitBoundsService.ctorParameters = function () { return [
{ type: MapsAPILoader, },
]; };
FitBoundsService = __decorate([
Injectable(),
__metadata("design:paramtypes", [MapsAPILoader])
], FitBoundsService);
return FitBoundsService;

@@ -72,0 +70,0 @@ }());

@@ -0,1 +1,10 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Injectable, NgZone } from '@angular/core';

@@ -32,9 +41,3 @@ import { Observable } from 'rxjs';

*/
/**
* Creates a google map marker with the map context
*/
GoogleMapsAPIWrapper.prototype.createMarker = /**
* Creates a google map marker with the map context
*/
function (options, addToMap) {
GoogleMapsAPIWrapper.prototype.createMarker = function (options, addToMap) {
if (options === void 0) { options = {}; }

@@ -55,9 +58,3 @@ if (addToMap === void 0) { addToMap = true; }

*/
/**
* Creates a google.map.Circle for the current map.
*/
GoogleMapsAPIWrapper.prototype.createCircle = /**
* Creates a google.map.Circle for the current map.
*/
function (options) {
GoogleMapsAPIWrapper.prototype.createCircle = function (options) {
return this._map.then(function (map) {

@@ -71,9 +68,3 @@ options.map = map;

*/
/**
* Creates a google.map.Rectangle for the current map.
*/
GoogleMapsAPIWrapper.prototype.createRectangle = /**
* Creates a google.map.Rectangle for the current map.
*/
function (options) {
GoogleMapsAPIWrapper.prototype.createRectangle = function (options) {
return this._map.then(function (map) {

@@ -101,9 +92,3 @@ options.map = map;

*/
/**
* Creates a new google.map.Data layer for the current map
*/
GoogleMapsAPIWrapper.prototype.createDataLayer = /**
* Creates a new google.map.Data layer for the current map
*/
function (options) {
GoogleMapsAPIWrapper.prototype.createDataLayer = function (options) {
return this._map.then(function (m) {

@@ -118,9 +103,3 @@ var data = new google.maps.Data(options);

*/
/**
* Determines if given coordinates are insite a Polygon path.
*/
GoogleMapsAPIWrapper.prototype.containsLocation = /**
* Determines if given coordinates are insite a Polygon path.
*/
function (latLng, polygon) {
GoogleMapsAPIWrapper.prototype.containsLocation = function (latLng, polygon) {
return google.maps.geometry.poly.containsLocation(latLng, polygon);

@@ -172,29 +151,13 @@ };

*/
GoogleMapsAPIWrapper.prototype.getNativeMap = function () { return this._map; };
/**
* Returns the native Google Maps Map instance. Be careful when using this instance directly.
*/
GoogleMapsAPIWrapper.prototype.getNativeMap = /**
* Returns the native Google Maps Map instance. Be careful when using this instance directly.
*/
function () { return this._map; };
/**
* Triggers the given event name on the map instance.
*/
/**
* Triggers the given event name on the map instance.
*/
GoogleMapsAPIWrapper.prototype.triggerMapEvent = /**
* Triggers the given event name on the map instance.
*/
function (eventName) {
GoogleMapsAPIWrapper.prototype.triggerMapEvent = function (eventName) {
return this._map.then(function (m) { return google.maps.event.trigger(m, eventName); });
};
GoogleMapsAPIWrapper.decorators = [
{ type: Injectable },
];
/** @nocollapse */
GoogleMapsAPIWrapper.ctorParameters = function () { return [
{ type: MapsAPILoader, },
{ type: NgZone, },
]; };
GoogleMapsAPIWrapper = __decorate([
Injectable(),
__metadata("design:paramtypes", [MapsAPILoader, NgZone])
], GoogleMapsAPIWrapper);
return GoogleMapsAPIWrapper;

@@ -201,0 +164,0 @@ }());

@@ -21,2 +21,3 @@ export declare var google: any;

lng(): number;
toJSON(): any;
toString(): string;

@@ -178,2 +179,3 @@ }

gestureHandling?: 'cooperative' | 'greedy' | 'none' | 'auto';
restriction?: MapRestriction;
}

@@ -213,2 +215,14 @@ export interface MapTypeStyle {

}
export interface MVCArray<T> extends MVCObject {
clear(): void;
getArray(): Array<T>;
getAt(i: number): T;
getLength(): number;
insertAt(i: number, elem: T): void;
pop(): T;
push(elem: T): number;
removeAt(i: number): T;
setAt(i: number, elem: T): void;
forEach(callback: (elem: T, i: number) => void): void;
}
export interface MapsEventListener {

@@ -274,3 +288,3 @@ remove(): void;

getMap(): GoogleMap;
getPath(): Array<LatLng>;
getPath(): MVCArray<LatLng>;
getVisible(): boolean;

@@ -312,4 +326,4 @@ setDraggable(draggable: boolean): void;

getMap(): GoogleMap;
getPath(): Array<LatLng>;
getPaths(): Array<Array<LatLng>>;
getPath(): MVCArray<LatLng>;
getPaths(): MVCArray<MVCArray<LatLng>>;
getVisible(): boolean;

@@ -428,3 +442,3 @@ setDraggable(draggable: boolean): void;

BOTTOM_LEFT = 10,
BOTTOM_CENTER = 11,
BOTTOM_CENTER = 11
}

@@ -439,3 +453,3 @@ export declare enum MapTypeId {

/** This map type displays maps with physical features such as terrain and vegetation. */
TERRAIN = 3,
TERRAIN = 3
}

@@ -458,3 +472,3 @@ /***** Controls *****/

DROPDOWN_MENU = 1,
HORIZONTAL_BAR = 2,
HORIZONTAL_BAR = 2
}

@@ -486,3 +500,3 @@ export interface OverviewMapControlOptions {

export declare enum ScaleControlStyle {
DEFAULT = 0,
DEFAULT = 0
}

@@ -513,3 +527,3 @@ /** Options for the rendering of the Street View pegman control on the map. */

LARGE = 1,
SMALL = 2,
SMALL = 2
}

@@ -524,1 +538,6 @@ /** Options for the rendering of the fullscreen control. */

}
/** Options for the restricting the bounds of the map. */
export interface MapRestriction {
latLngBounds: LatLngBounds | LatLngBoundsLiteral;
strictBounds?: boolean;
}

@@ -7,13 +7,3 @@ export var google;

*/
/**
* Identifiers used to specify the placement of controls on the map. Controls are
* positioned relative to other controls in the same layout position. Controls that
* are added first are positioned closer to the edge of the map.
*/
export var ControlPosition;
/**
* Identifiers used to specify the placement of controls on the map. Controls are
* positioned relative to other controls in the same layout position. Controls that
* are added first are positioned closer to the edge of the map.
*/
(function (ControlPosition) {

@@ -20,0 +10,0 @@ ControlPosition[ControlPosition["RIGHT_BOTTOM"] = 0] = "RIGHT_BOTTOM";

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":4,"metadata":{"google":{"__symbolic":"error","message":"Variable not initialized","line":0,"character":11},"GoogleMap":{"__symbolic":"interface"},"LatLng":{"__symbolic":"interface"},"Marker":{"__symbolic":"interface"},"MarkerOptions":{"__symbolic":"interface"},"MarkerLabel":{"__symbolic":"interface"},"Circle":{"__symbolic":"interface"},"CircleOptions":{"__symbolic":"interface"},"Rectangle":{"__symbolic":"interface"},"RectangleOptions":{"__symbolic":"interface"},"LatLngBounds":{"__symbolic":"interface"},"LatLngBoundsLiteral":{"__symbolic":"interface"},"LatLngLiteral":{"__symbolic":"interface"},"MouseEvent":{"__symbolic":"interface"},"MapOptions":{"__symbolic":"interface"},"MapTypeStyle":{"__symbolic":"interface"},"MapTypeStyler":{"__symbolic":"interface"},"InfoWindow":{"__symbolic":"interface"},"MVCObject":{"__symbolic":"interface"},"MapsEventListener":{"__symbolic":"interface"},"Size":{"__symbolic":"interface"},"InfoWindowOptions":{"__symbolic":"interface"},"Point":{"__symbolic":"interface"},"GoogleSymbol":{"__symbolic":"interface"},"IconSequence":{"__symbolic":"interface"},"PolylineOptions":{"__symbolic":"interface"},"Polyline":{"__symbolic":"interface"},"PolyMouseEvent":{"__symbolic":"interface"},"PolygonOptions":{"__symbolic":"interface"},"Polygon":{"__symbolic":"interface"},"KmlLayer":{"__symbolic":"interface"},"KmlLayerStatus":{"__symbolic":"interface"},"KmlLayerMetadata":{"__symbolic":"interface"},"KmlAuthor":{"__symbolic":"interface"},"KmlLayerOptions":{"__symbolic":"interface"},"KmlFeatureData":{"__symbolic":"interface"},"KmlMouseEvent":{"__symbolic":"interface"},"Data":{"__symbolic":"interface"},"Feature":{"__symbolic":"interface"},"DataOptions":{"__symbolic":"interface"},"DataMouseEvent":{"__symbolic":"interface"},"GeoJsonOptions":{"__symbolic":"interface"},"Geometry":{"__symbolic":"interface"},"ControlPosition":{"RIGHT_BOTTOM":0,"TOP_LEFT":1,"TOP_CENTER":2,"TOP_RIGHT":3,"LEFT_CENTER":4,"LEFT_TOP":5,"LEFT_BOTTOM":6,"RIGHT_TOP":7,"RIGHT_CENTER":8,"BOTTOM_RIGHT":9,"BOTTOM_LEFT":10,"BOTTOM_CENTER":11},"MapTypeId":{"HYBRID":0,"ROADMAP":1,"SATELLITE":2,"TERRAIN":3},"MapTypeControlOptions":{"__symbolic":"interface"},"MapTypeControlStyle":{"DEFAULT":0,"DROPDOWN_MENU":1,"HORIZONTAL_BAR":2},"OverviewMapControlOptions":{"__symbolic":"interface"},"PanControlOptions":{"__symbolic":"interface"},"RotateControlOptions":{"__symbolic":"interface"},"ScaleControlOptions":{"__symbolic":"interface"},"ScaleControlStyle":{"DEFAULT":0},"StreetViewControlOptions":{"__symbolic":"interface"},"ZoomControlOptions":{"__symbolic":"interface"},"ZoomControlStyle":{"DEFAULT":0,"LARGE":1,"SMALL":2},"FullscreenControlOptions":{"__symbolic":"interface"}}}]
[{"__symbolic":"module","version":4,"metadata":{"google":{"__symbolic":"error","message":"Variable not initialized","line":0,"character":11},"GoogleMap":{"__symbolic":"interface"},"LatLng":{"__symbolic":"interface"},"Marker":{"__symbolic":"interface"},"MarkerOptions":{"__symbolic":"interface"},"MarkerLabel":{"__symbolic":"interface"},"Circle":{"__symbolic":"interface"},"CircleOptions":{"__symbolic":"interface"},"Rectangle":{"__symbolic":"interface"},"RectangleOptions":{"__symbolic":"interface"},"LatLngBounds":{"__symbolic":"interface"},"LatLngBoundsLiteral":{"__symbolic":"interface"},"LatLngLiteral":{"__symbolic":"interface"},"MouseEvent":{"__symbolic":"interface"},"MapOptions":{"__symbolic":"interface"},"MapTypeStyle":{"__symbolic":"interface"},"MapTypeStyler":{"__symbolic":"interface"},"InfoWindow":{"__symbolic":"interface"},"MVCObject":{"__symbolic":"interface"},"MVCArray":{"__symbolic":"interface"},"MapsEventListener":{"__symbolic":"interface"},"Size":{"__symbolic":"interface"},"InfoWindowOptions":{"__symbolic":"interface"},"Point":{"__symbolic":"interface"},"GoogleSymbol":{"__symbolic":"interface"},"IconSequence":{"__symbolic":"interface"},"PolylineOptions":{"__symbolic":"interface"},"Polyline":{"__symbolic":"interface"},"PolyMouseEvent":{"__symbolic":"interface"},"PolygonOptions":{"__symbolic":"interface"},"Polygon":{"__symbolic":"interface"},"KmlLayer":{"__symbolic":"interface"},"KmlLayerStatus":{"__symbolic":"interface"},"KmlLayerMetadata":{"__symbolic":"interface"},"KmlAuthor":{"__symbolic":"interface"},"KmlLayerOptions":{"__symbolic":"interface"},"KmlFeatureData":{"__symbolic":"interface"},"KmlMouseEvent":{"__symbolic":"interface"},"Data":{"__symbolic":"interface"},"Feature":{"__symbolic":"interface"},"DataOptions":{"__symbolic":"interface"},"DataMouseEvent":{"__symbolic":"interface"},"GeoJsonOptions":{"__symbolic":"interface"},"Geometry":{"__symbolic":"interface"},"ControlPosition":{"RIGHT_BOTTOM":0,"TOP_LEFT":1,"TOP_CENTER":2,"TOP_RIGHT":3,"LEFT_CENTER":4,"LEFT_TOP":5,"LEFT_BOTTOM":6,"RIGHT_TOP":7,"RIGHT_CENTER":8,"BOTTOM_RIGHT":9,"BOTTOM_LEFT":10,"BOTTOM_CENTER":11},"MapTypeId":{"HYBRID":0,"ROADMAP":1,"SATELLITE":2,"TERRAIN":3},"MapTypeControlOptions":{"__symbolic":"interface"},"MapTypeControlStyle":{"DEFAULT":0,"DROPDOWN_MENU":1,"HORIZONTAL_BAR":2},"OverviewMapControlOptions":{"__symbolic":"interface"},"PanControlOptions":{"__symbolic":"interface"},"RotateControlOptions":{"__symbolic":"interface"},"ScaleControlOptions":{"__symbolic":"interface"},"ScaleControlStyle":{"DEFAULT":0},"StreetViewControlOptions":{"__symbolic":"interface"},"ZoomControlOptions":{"__symbolic":"interface"},"ZoomControlStyle":{"DEFAULT":0,"LARGE":1,"SMALL":2},"FullscreenControlOptions":{"__symbolic":"interface"},"MapRestriction":{"__symbolic":"interface"}}}]

@@ -1,1 +0,1 @@

{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"error","message":"Variable not initialized","fileName":"packages/core/services/google-maps-types.ts"}},{"symbol":{"__symbol":1,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":2,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":3,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":4,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":5,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":6,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":7,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":8,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":9,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":10,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":11,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":12,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":13,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":14,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":15,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":16,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":17,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":18,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":19,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":20,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":21,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":22,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":23,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":24,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":25,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":26,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":27,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":28,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":29,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":30,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":31,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":32,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":33,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":34,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":35,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":36,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":37,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":38,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":39,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":40,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":41,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":42,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":43,"members":[]},"metadata":{"RIGHT_BOTTOM":0,"TOP_LEFT":1,"TOP_CENTER":2,"TOP_RIGHT":3,"LEFT_CENTER":4,"LEFT_TOP":5,"LEFT_BOTTOM":6,"RIGHT_TOP":7,"RIGHT_CENTER":8,"BOTTOM_RIGHT":9,"BOTTOM_LEFT":10,"BOTTOM_CENTER":11}},{"symbol":{"__symbol":44,"members":[]},"metadata":{"HYBRID":0,"ROADMAP":1,"SATELLITE":2,"TERRAIN":3}},{"symbol":{"__symbol":45,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":46,"members":[]},"metadata":{"DEFAULT":0,"DROPDOWN_MENU":1,"HORIZONTAL_BAR":2}},{"symbol":{"__symbol":47,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":48,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":49,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":50,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":51,"members":[]},"metadata":{"DEFAULT":0}},{"symbol":{"__symbol":52,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":53,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":54,"members":[]},"metadata":{"DEFAULT":0,"LARGE":1,"SMALL":2}},{"symbol":{"__symbol":55,"members":[]},"metadata":{"__symbolic":"interface"}}],"symbols":[{"__symbol":0,"name":"google","filePath":"./google-maps-types"},{"__symbol":1,"name":"GoogleMap","filePath":"./google-maps-types"},{"__symbol":2,"name":"LatLng","filePath":"./google-maps-types"},{"__symbol":3,"name":"Marker","filePath":"./google-maps-types"},{"__symbol":4,"name":"MarkerOptions","filePath":"./google-maps-types"},{"__symbol":5,"name":"MarkerLabel","filePath":"./google-maps-types"},{"__symbol":6,"name":"Circle","filePath":"./google-maps-types"},{"__symbol":7,"name":"CircleOptions","filePath":"./google-maps-types"},{"__symbol":8,"name":"Rectangle","filePath":"./google-maps-types"},{"__symbol":9,"name":"RectangleOptions","filePath":"./google-maps-types"},{"__symbol":10,"name":"LatLngBounds","filePath":"./google-maps-types"},{"__symbol":11,"name":"LatLngBoundsLiteral","filePath":"./google-maps-types"},{"__symbol":12,"name":"LatLngLiteral","filePath":"./google-maps-types"},{"__symbol":13,"name":"MouseEvent","filePath":"./google-maps-types"},{"__symbol":14,"name":"MapOptions","filePath":"./google-maps-types"},{"__symbol":15,"name":"MapTypeStyle","filePath":"./google-maps-types"},{"__symbol":16,"name":"MapTypeStyler","filePath":"./google-maps-types"},{"__symbol":17,"name":"InfoWindow","filePath":"./google-maps-types"},{"__symbol":18,"name":"MVCObject","filePath":"./google-maps-types"},{"__symbol":19,"name":"MapsEventListener","filePath":"./google-maps-types"},{"__symbol":20,"name":"Size","filePath":"./google-maps-types"},{"__symbol":21,"name":"InfoWindowOptions","filePath":"./google-maps-types"},{"__symbol":22,"name":"Point","filePath":"./google-maps-types"},{"__symbol":23,"name":"GoogleSymbol","filePath":"./google-maps-types"},{"__symbol":24,"name":"IconSequence","filePath":"./google-maps-types"},{"__symbol":25,"name":"PolylineOptions","filePath":"./google-maps-types"},{"__symbol":26,"name":"Polyline","filePath":"./google-maps-types"},{"__symbol":27,"name":"PolyMouseEvent","filePath":"./google-maps-types"},{"__symbol":28,"name":"PolygonOptions","filePath":"./google-maps-types"},{"__symbol":29,"name":"Polygon","filePath":"./google-maps-types"},{"__symbol":30,"name":"KmlLayer","filePath":"./google-maps-types"},{"__symbol":31,"name":"KmlLayerStatus","filePath":"./google-maps-types"},{"__symbol":32,"name":"KmlLayerMetadata","filePath":"./google-maps-types"},{"__symbol":33,"name":"KmlAuthor","filePath":"./google-maps-types"},{"__symbol":34,"name":"KmlLayerOptions","filePath":"./google-maps-types"},{"__symbol":35,"name":"KmlFeatureData","filePath":"./google-maps-types"},{"__symbol":36,"name":"KmlMouseEvent","filePath":"./google-maps-types"},{"__symbol":37,"name":"Data","filePath":"./google-maps-types"},{"__symbol":38,"name":"Feature","filePath":"./google-maps-types"},{"__symbol":39,"name":"DataOptions","filePath":"./google-maps-types"},{"__symbol":40,"name":"DataMouseEvent","filePath":"./google-maps-types"},{"__symbol":41,"name":"GeoJsonOptions","filePath":"./google-maps-types"},{"__symbol":42,"name":"Geometry","filePath":"./google-maps-types"},{"__symbol":43,"name":"ControlPosition","filePath":"./google-maps-types"},{"__symbol":44,"name":"MapTypeId","filePath":"./google-maps-types"},{"__symbol":45,"name":"MapTypeControlOptions","filePath":"./google-maps-types"},{"__symbol":46,"name":"MapTypeControlStyle","filePath":"./google-maps-types"},{"__symbol":47,"name":"OverviewMapControlOptions","filePath":"./google-maps-types"},{"__symbol":48,"name":"PanControlOptions","filePath":"./google-maps-types"},{"__symbol":49,"name":"RotateControlOptions","filePath":"./google-maps-types"},{"__symbol":50,"name":"ScaleControlOptions","filePath":"./google-maps-types"},{"__symbol":51,"name":"ScaleControlStyle","filePath":"./google-maps-types"},{"__symbol":52,"name":"StreetViewControlOptions","filePath":"./google-maps-types"},{"__symbol":53,"name":"ZoomControlOptions","filePath":"./google-maps-types"},{"__symbol":54,"name":"ZoomControlStyle","filePath":"./google-maps-types"},{"__symbol":55,"name":"FullscreenControlOptions","filePath":"./google-maps-types"}]}
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"error","message":"Variable not initialized","fileName":"packages/core/services/google-maps-types.ts"}},{"symbol":{"__symbol":1,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":2,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":3,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":4,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":5,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":6,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":7,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":8,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":9,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":10,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":11,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":12,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":13,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":14,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":15,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":16,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":17,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":18,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":19,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":20,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":21,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":22,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":23,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":24,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":25,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":26,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":27,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":28,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":29,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":30,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":31,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":32,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":33,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":34,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":35,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":36,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":37,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":38,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":39,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":40,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":41,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":42,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":43,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":44,"members":[]},"metadata":{"RIGHT_BOTTOM":0,"TOP_LEFT":1,"TOP_CENTER":2,"TOP_RIGHT":3,"LEFT_CENTER":4,"LEFT_TOP":5,"LEFT_BOTTOM":6,"RIGHT_TOP":7,"RIGHT_CENTER":8,"BOTTOM_RIGHT":9,"BOTTOM_LEFT":10,"BOTTOM_CENTER":11}},{"symbol":{"__symbol":45,"members":[]},"metadata":{"HYBRID":0,"ROADMAP":1,"SATELLITE":2,"TERRAIN":3}},{"symbol":{"__symbol":46,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":47,"members":[]},"metadata":{"DEFAULT":0,"DROPDOWN_MENU":1,"HORIZONTAL_BAR":2}},{"symbol":{"__symbol":48,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":49,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":50,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":51,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":52,"members":[]},"metadata":{"DEFAULT":0}},{"symbol":{"__symbol":53,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":54,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":55,"members":[]},"metadata":{"DEFAULT":0,"LARGE":1,"SMALL":2}},{"symbol":{"__symbol":56,"members":[]},"metadata":{"__symbolic":"interface"}},{"symbol":{"__symbol":57,"members":[]},"metadata":{"__symbolic":"interface"}}],"symbols":[{"__symbol":0,"name":"google","filePath":"./google-maps-types"},{"__symbol":1,"name":"GoogleMap","filePath":"./google-maps-types"},{"__symbol":2,"name":"LatLng","filePath":"./google-maps-types"},{"__symbol":3,"name":"Marker","filePath":"./google-maps-types"},{"__symbol":4,"name":"MarkerOptions","filePath":"./google-maps-types"},{"__symbol":5,"name":"MarkerLabel","filePath":"./google-maps-types"},{"__symbol":6,"name":"Circle","filePath":"./google-maps-types"},{"__symbol":7,"name":"CircleOptions","filePath":"./google-maps-types"},{"__symbol":8,"name":"Rectangle","filePath":"./google-maps-types"},{"__symbol":9,"name":"RectangleOptions","filePath":"./google-maps-types"},{"__symbol":10,"name":"LatLngBounds","filePath":"./google-maps-types"},{"__symbol":11,"name":"LatLngBoundsLiteral","filePath":"./google-maps-types"},{"__symbol":12,"name":"LatLngLiteral","filePath":"./google-maps-types"},{"__symbol":13,"name":"MouseEvent","filePath":"./google-maps-types"},{"__symbol":14,"name":"MapOptions","filePath":"./google-maps-types"},{"__symbol":15,"name":"MapTypeStyle","filePath":"./google-maps-types"},{"__symbol":16,"name":"MapTypeStyler","filePath":"./google-maps-types"},{"__symbol":17,"name":"InfoWindow","filePath":"./google-maps-types"},{"__symbol":18,"name":"MVCObject","filePath":"./google-maps-types"},{"__symbol":19,"name":"MVCArray","filePath":"./google-maps-types"},{"__symbol":20,"name":"MapsEventListener","filePath":"./google-maps-types"},{"__symbol":21,"name":"Size","filePath":"./google-maps-types"},{"__symbol":22,"name":"InfoWindowOptions","filePath":"./google-maps-types"},{"__symbol":23,"name":"Point","filePath":"./google-maps-types"},{"__symbol":24,"name":"GoogleSymbol","filePath":"./google-maps-types"},{"__symbol":25,"name":"IconSequence","filePath":"./google-maps-types"},{"__symbol":26,"name":"PolylineOptions","filePath":"./google-maps-types"},{"__symbol":27,"name":"Polyline","filePath":"./google-maps-types"},{"__symbol":28,"name":"PolyMouseEvent","filePath":"./google-maps-types"},{"__symbol":29,"name":"PolygonOptions","filePath":"./google-maps-types"},{"__symbol":30,"name":"Polygon","filePath":"./google-maps-types"},{"__symbol":31,"name":"KmlLayer","filePath":"./google-maps-types"},{"__symbol":32,"name":"KmlLayerStatus","filePath":"./google-maps-types"},{"__symbol":33,"name":"KmlLayerMetadata","filePath":"./google-maps-types"},{"__symbol":34,"name":"KmlAuthor","filePath":"./google-maps-types"},{"__symbol":35,"name":"KmlLayerOptions","filePath":"./google-maps-types"},{"__symbol":36,"name":"KmlFeatureData","filePath":"./google-maps-types"},{"__symbol":37,"name":"KmlMouseEvent","filePath":"./google-maps-types"},{"__symbol":38,"name":"Data","filePath":"./google-maps-types"},{"__symbol":39,"name":"Feature","filePath":"./google-maps-types"},{"__symbol":40,"name":"DataOptions","filePath":"./google-maps-types"},{"__symbol":41,"name":"DataMouseEvent","filePath":"./google-maps-types"},{"__symbol":42,"name":"GeoJsonOptions","filePath":"./google-maps-types"},{"__symbol":43,"name":"Geometry","filePath":"./google-maps-types"},{"__symbol":44,"name":"ControlPosition","filePath":"./google-maps-types"},{"__symbol":45,"name":"MapTypeId","filePath":"./google-maps-types"},{"__symbol":46,"name":"MapTypeControlOptions","filePath":"./google-maps-types"},{"__symbol":47,"name":"MapTypeControlStyle","filePath":"./google-maps-types"},{"__symbol":48,"name":"OverviewMapControlOptions","filePath":"./google-maps-types"},{"__symbol":49,"name":"PanControlOptions","filePath":"./google-maps-types"},{"__symbol":50,"name":"RotateControlOptions","filePath":"./google-maps-types"},{"__symbol":51,"name":"ScaleControlOptions","filePath":"./google-maps-types"},{"__symbol":52,"name":"ScaleControlStyle","filePath":"./google-maps-types"},{"__symbol":53,"name":"StreetViewControlOptions","filePath":"./google-maps-types"},{"__symbol":54,"name":"ZoomControlOptions","filePath":"./google-maps-types"},{"__symbol":55,"name":"ZoomControlStyle","filePath":"./google-maps-types"},{"__symbol":56,"name":"FullscreenControlOptions","filePath":"./google-maps-types"},{"__symbol":57,"name":"MapRestriction","filePath":"./google-maps-types"}]}

@@ -0,1 +1,10 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Injectable, NgZone } from '@angular/core';

@@ -30,9 +39,3 @@ import { Observable } from 'rxjs';

*/
/**
* Removes the given circle from the map.
*/
CircleManager.prototype.removeCircle = /**
* Removes the given circle from the map.
*/
function (circle) {
CircleManager.prototype.removeCircle = function (circle) {
var _this = this;

@@ -85,10 +88,6 @@ return this._circles.get(circle).then(function (c) {

};
CircleManager.decorators = [
{ type: Injectable },
];
/** @nocollapse */
CircleManager.ctorParameters = function () { return [
{ type: GoogleMapsAPIWrapper, },
{ type: NgZone, },
]; };
CircleManager = __decorate([
Injectable(),
__metadata("design:paramtypes", [GoogleMapsAPIWrapper, NgZone])
], CircleManager);
return CircleManager;

@@ -95,0 +94,0 @@ }());

@@ -0,1 +1,10 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Injectable, NgZone } from '@angular/core';

@@ -16,9 +25,3 @@ import { Observable } from 'rxjs';

*/
/**
* Adds a new Data Layer to the map.
*/
DataLayerManager.prototype.addDataLayer = /**
* Adds a new Data Layer to the map.
*/
function (layer) {
DataLayerManager.prototype.addDataLayer = function (layer) {
var _this = this;

@@ -67,9 +70,3 @@ var newLayer = this._wrapper.createDataLayer({

*/
/**
* Creates a Google Maps event listener for the given DataLayer as an Observable
*/
DataLayerManager.prototype.createEventObservable = /**
* Creates a Google Maps event listener for the given DataLayer as an Observable
*/
function (eventName, layer) {
DataLayerManager.prototype.createEventObservable = function (eventName, layer) {
var _this = this;

@@ -87,13 +84,3 @@ return new Observable(function (observer) {

*/
/**
* Extract features from a geoJson using google.maps Data Class
* @param d : google.maps.Data class instance
* @param geoJson : url or geojson object
*/
DataLayerManager.prototype.getDataFeatures = /**
* Extract features from a geoJson using google.maps Data Class
* @param d : google.maps.Data class instance
* @param geoJson : url or geojson object
*/
function (d, geoJson) {
DataLayerManager.prototype.getDataFeatures = function (d, geoJson) {
return new Promise(function (resolve, reject) {

@@ -117,10 +104,6 @@ if (typeof geoJson === 'object') {

};
DataLayerManager.decorators = [
{ type: Injectable },
];
/** @nocollapse */
DataLayerManager.ctorParameters = function () { return [
{ type: GoogleMapsAPIWrapper, },
{ type: NgZone, },
]; };
DataLayerManager = __decorate([
Injectable(),
__metadata("design:paramtypes", [GoogleMapsAPIWrapper, NgZone])
], DataLayerManager);
return DataLayerManager;

@@ -127,0 +110,0 @@ }());

@@ -0,1 +1,10 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Observable } from 'rxjs';

@@ -27,8 +36,6 @@ import { Injectable, NgZone } from '@angular/core';

InfoWindowManager.prototype.setPosition = function (infoWindow) {
return this._infoWindows.get(infoWindow).then(function (i) {
return i.setPosition({
lat: infoWindow.latitude,
lng: infoWindow.longitude
});
});
return this._infoWindows.get(infoWindow).then(function (i) { return i.setPosition({
lat: infoWindow.latitude,
lng: infoWindow.longitude
}); });
};

@@ -72,9 +79,3 @@ InfoWindowManager.prototype.setZIndex = function (infoWindow) {

*/
/**
* Creates a Google Maps event listener for the given InfoWindow as an Observable
*/
InfoWindowManager.prototype.createEventObservable = /**
* Creates a Google Maps event listener for the given InfoWindow as an Observable
*/
function (eventName, infoWindow) {
InfoWindowManager.prototype.createEventObservable = function (eventName, infoWindow) {
var _this = this;

@@ -87,11 +88,7 @@ return new Observable(function (observer) {

};
InfoWindowManager.decorators = [
{ type: Injectable },
];
/** @nocollapse */
InfoWindowManager.ctorParameters = function () { return [
{ type: GoogleMapsAPIWrapper, },
{ type: NgZone, },
{ type: MarkerManager, },
]; };
InfoWindowManager = __decorate([
Injectable(),
__metadata("design:paramtypes", [GoogleMapsAPIWrapper, NgZone,
MarkerManager])
], InfoWindowManager);
return InfoWindowManager;

@@ -98,0 +95,0 @@ }());

@@ -0,1 +1,10 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Injectable, NgZone } from '@angular/core';

@@ -16,9 +25,3 @@ import { Observable } from 'rxjs';

*/
/**
* Adds a new KML Layer to the map.
*/
KmlLayerManager.prototype.addKmlLayer = /**
* Adds a new KML Layer to the map.
*/
function (layer) {
KmlLayerManager.prototype.addKmlLayer = function (layer) {
var newLayer = this._wrapper.getNativeMap().then(function (m) {

@@ -50,9 +53,3 @@ return new google.maps.KmlLayer({

*/
/**
* Creates a Google Maps event listener for the given KmlLayer as an Observable
*/
KmlLayerManager.prototype.createEventObservable = /**
* Creates a Google Maps event listener for the given KmlLayer as an Observable
*/
function (eventName, layer) {
KmlLayerManager.prototype.createEventObservable = function (eventName, layer) {
var _this = this;

@@ -65,10 +62,6 @@ return new Observable(function (observer) {

};
KmlLayerManager.decorators = [
{ type: Injectable },
];
/** @nocollapse */
KmlLayerManager.ctorParameters = function () { return [
{ type: GoogleMapsAPIWrapper, },
{ type: NgZone, },
]; };
KmlLayerManager = __decorate([
Injectable(),
__metadata("design:paramtypes", [GoogleMapsAPIWrapper, NgZone])
], KmlLayerManager);
return KmlLayerManager;

@@ -75,0 +68,0 @@ }());

@@ -0,1 +1,10 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Injectable, NgZone } from '@angular/core';

@@ -87,10 +96,6 @@ import { Observable } from 'rxjs';

};
MarkerManager.decorators = [
{ type: Injectable },
];
/** @nocollapse */
MarkerManager.ctorParameters = function () { return [
{ type: GoogleMapsAPIWrapper, },
{ type: NgZone, },
]; };
MarkerManager = __decorate([
Injectable(),
__metadata("design:paramtypes", [GoogleMapsAPIWrapper, NgZone])
], MarkerManager);
return MarkerManager;

@@ -97,0 +102,0 @@ }());

import { NgZone } from '@angular/core';
import { Observable } from 'rxjs';
import { AgmPolygon } from '../../directives/polygon';
import { AgmPolygon, PolygonPathEvent } from '../../directives/polygon';
import { GoogleMapsAPIWrapper } from '../google-maps-api-wrapper';
import { LatLng } from '../google-maps-types';
export declare class PolygonManager {

@@ -16,3 +17,6 @@ private _mapsWrapper;

deletePolygon(paths: AgmPolygon): Promise<void>;
getPath(polygon: AgmPolygon): Promise<Array<LatLng>>;
getPaths(polygon: AgmPolygon): Promise<Array<Array<LatLng>>>;
createEventObservable<T>(eventName: string, path: AgmPolygon): Observable<T>;
createPathEventObservable(agmPolygon: AgmPolygon): Promise<Observable<PolygonPathEvent<any>>>;
}

@@ -0,4 +1,50 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
import { Injectable, NgZone } from '@angular/core';
import { Observable } from 'rxjs';
import { Observable, merge } from 'rxjs';
import { startWith, map, switchMap, skip } from 'rxjs/operators';
import { GoogleMapsAPIWrapper } from '../google-maps-api-wrapper';
import { createMVCEventObservable } from '../../utils/mvcarray-utils';
var PolygonManager = /** @class */ (function () {

@@ -51,2 +97,10 @@ function PolygonManager(_mapsWrapper, _zone) {

};
PolygonManager.prototype.getPath = function (polygon) {
return this._polygons.get(polygon)
.then(function (polygon) { return polygon.getPath().getArray(); });
};
PolygonManager.prototype.getPaths = function (polygon) {
return this._polygons.get(polygon)
.then(function (polygon) { return polygon.getPaths().getArray().map(function (p) { return p.getArray(); }); });
};
PolygonManager.prototype.createEventObservable = function (eventName, path) {

@@ -60,10 +114,53 @@ var _this = this;

};
PolygonManager.decorators = [
{ type: Injectable },
];
/** @nocollapse */
PolygonManager.ctorParameters = function () { return [
{ type: GoogleMapsAPIWrapper, },
{ type: NgZone, },
]; };
PolygonManager.prototype.createPathEventObservable = function (agmPolygon) {
return __awaiter(this, void 0, void 0, function () {
var polygon, paths, pathsChanges$;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, this._polygons.get(agmPolygon)];
case 1:
polygon = _a.sent();
paths = polygon.getPaths();
pathsChanges$ = createMVCEventObservable(paths);
return [2 /*return*/, pathsChanges$.pipe(startWith({ newArr: paths.getArray() }), // in order to subscribe to them all
switchMap(function (parentMVEvent) { return merge.apply(void 0, // rest parameter
parentMVEvent.newArr.map(function (chMVC, index) {
return createMVCEventObservable(chMVC)
.pipe(map(function (chMVCEvent) { return ({ parentMVEvent: parentMVEvent, chMVCEvent: chMVCEvent, pathIndex: index }); }));
})).pipe(startWith({ parentMVEvent: parentMVEvent, chMVCEvent: null, pathIndex: null })); }), // start the merged ob with an event signinifing change to parent
skip(1), // skip the manually added event
map(function (_a) {
var parentMVEvent = _a.parentMVEvent, chMVCEvent = _a.chMVCEvent, pathIndex = _a.pathIndex;
var retVal;
if (!chMVCEvent) {
retVal = {
newArr: parentMVEvent.newArr.map(function (subArr) { return subArr.getArray().map(function (latLng) { return latLng.toJSON(); }); }),
eventName: parentMVEvent.evName,
index: parentMVEvent.index,
};
if (parentMVEvent.previous) {
retVal.previous = parentMVEvent.previous.getArray();
}
}
else {
retVal = {
newArr: parentMVEvent.newArr.map(function (subArr) { return subArr.getArray().map(function (latLng) { return latLng.toJSON(); }); }),
pathIndex: pathIndex,
eventName: chMVCEvent.evName,
index: chMVCEvent.index
};
if (chMVCEvent.previous) {
retVal.previous = chMVCEvent.previous;
}
}
return retVal;
}))];
}
});
});
};
PolygonManager = __decorate([
Injectable(),
__metadata("design:paramtypes", [GoogleMapsAPIWrapper, NgZone])
], PolygonManager);
return PolygonManager;

@@ -70,0 +167,0 @@ }());

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":4,"metadata":{"PolygonManager":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../google-maps-api-wrapper","name":"GoogleMapsAPIWrapper","line":12,"character":36},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":12,"character":73}]}],"addPolygon":[{"__symbolic":"method"}],"updatePolygon":[{"__symbolic":"method"}],"setPolygonOptions":[{"__symbolic":"method"}],"deletePolygon":[{"__symbolic":"method"}],"createEventObservable":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":4,"metadata":{"PolygonManager":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":9,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../google-maps-api-wrapper","name":"GoogleMapsAPIWrapper","line":14,"character":36},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":14,"character":73}]}],"addPolygon":[{"__symbolic":"method"}],"updatePolygon":[{"__symbolic":"method"}],"setPolygonOptions":[{"__symbolic":"method"}],"deletePolygon":[{"__symbolic":"method"}],"getPath":[{"__symbolic":"method"}],"getPaths":[{"__symbolic":"method"}],"createEventObservable":[{"__symbolic":"method"}],"createPathEventObservable":[{"__symbolic":"method"}]}}}}]

@@ -1,1 +0,1 @@

{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":1,"members":[]},{"__symbol":2,"members":[]}]}],"addPolygon":[{"__symbolic":"method"}],"updatePolygon":[{"__symbolic":"method"}],"setPolygonOptions":[{"__symbolic":"method"}],"deletePolygon":[{"__symbolic":"method"}],"createEventObservable":[{"__symbolic":"method"}]}},"type":{"summaryKind":3,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":1,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":2,"members":[]}}}}],"lifecycleHooks":[]}}}],"symbols":[{"__symbol":0,"name":"PolygonManager","filePath":"./polygon-manager"},{"__symbol":1,"name":"GoogleMapsAPIWrapper","filePath":"../google-maps-api-wrapper"},{"__symbol":2,"name":"NgZone","filePath":"@angular/core"}]}
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":1,"members":[]},{"__symbol":2,"members":[]}]}],"addPolygon":[{"__symbolic":"method"}],"updatePolygon":[{"__symbolic":"method"}],"setPolygonOptions":[{"__symbolic":"method"}],"deletePolygon":[{"__symbolic":"method"}],"getPath":[{"__symbolic":"method"}],"getPaths":[{"__symbolic":"method"}],"createEventObservable":[{"__symbolic":"method"}],"createPathEventObservable":[{"__symbolic":"method"}]}},"type":{"summaryKind":3,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":1,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":2,"members":[]}}}}],"lifecycleHooks":[]}}}],"symbols":[{"__symbol":0,"name":"PolygonManager","filePath":"./polygon-manager"},{"__symbol":1,"name":"GoogleMapsAPIWrapper","filePath":"../google-maps-api-wrapper"},{"__symbol":2,"name":"NgZone","filePath":"@angular/core"}]}

@@ -0,1 +1,12 @@

var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
import { NgZone } from '@angular/core';

@@ -6,2 +17,3 @@ import { TestBed, inject } from '@angular/core/testing';

import { PolygonManager } from './polygon-manager';
import { MvcArrayMock } from '../../utils/mvcarray-utils';
describe('PolygonManager', function () {

@@ -54,3 +66,180 @@ beforeEach(function () {

});
describe('Path changes', function () {
var newPolygon;
var paths;
var initLatLng = { lat: function () { return 15; }, lng: function () { return 15; }, toJSON: function () { return ({ lat: 15, lng: 15 }); } };
beforeEach(inject([PolygonManager, GoogleMapsAPIWrapper], function (polygonManager, apiWrapper) {
paths = new MvcArrayMock();
var path = new MvcArrayMock();
path.push(initLatLng);
paths.push(path);
var polygonInstance = {
getPaths: function () { return paths; },
setMap: jest.fn(),
};
apiWrapper.createPolygon.mockReturnValue(Promise.resolve(polygonInstance));
newPolygon = new AgmPolygon(polygonManager);
polygonManager.addPolygon(newPolygon);
}));
afterEach(function (done) {
inject([PolygonManager], function (polygonManager) {
polygonManager.deletePolygon(newPolygon)
.then(done);
})();
});
it('should emit a path change when a path is added', function (done) {
inject([PolygonManager], function (polygonManager) {
var expectations = [1, 2];
var expectationIndex = 0;
expect.assertions(expectations.length);
polygonManager.createPathEventObservable(newPolygon)
.then(function (paths$) {
paths$.subscribe(function (polygonPathEvent) {
expect(polygonPathEvent).toEqual({
newArr: [[{ lat: 15, lng: 15 }]].concat(Array(expectationIndex + 1).fill([])),
eventName: 'insert_at',
index: expectations[expectationIndex++],
});
if (expectationIndex === expectations.length) {
done();
}
}, fail /* shouldn't have errors */, fail /* shouldn't finish */);
paths.push(new MvcArrayMock());
paths.push(new MvcArrayMock());
});
})();
});
it('should emit a path change when a path is removed', function (done) {
inject([PolygonManager], function (polygonManager) {
var expectations = [{ index: 2, previous: [], newArr: [[{ lat: 15, lng: 15 }], []] },
{ index: 0, previous: [initLatLng], newArr: [[]] }];
var expectationIndex = 0;
expect.assertions(expectations.length);
// prepare the array
paths.push(new MvcArrayMock());
paths.push(new MvcArrayMock());
polygonManager.createPathEventObservable(newPolygon)
.then(function (paths$) {
paths$.subscribe(function (polygonPathEvent) {
expect(polygonPathEvent).toEqual(__assign({ eventName: 'remove_at' }, expectations[expectationIndex++]));
if (expectationIndex === expectations.length) {
done();
}
}, fail /* shouldn't have errors */, fail /* shouldn't finish */);
paths.pop();
paths.removeAt(0);
});
})();
});
it('should emit a path change when a path is set', function (done) {
inject([PolygonManager], function (polygonManager) {
var expectations = [{ index: 0, previous: [initLatLng], newArr: [Array(2).fill({ lat: 15, lng: 15 }), []] },
{ index: 1, previous: [], newArr: [Array(2).fill({ lat: 15, lng: 15 }), [{ lat: 15, lng: 15 }]] }];
var expectationIndex = 0;
expect.assertions(expectations.length);
// prepare the array
paths.push(new MvcArrayMock());
polygonManager.createPathEventObservable(newPolygon)
.then(function (paths$) {
paths$.subscribe(function (polygonPathEvent) {
expect(polygonPathEvent).toEqual(__assign({ eventName: 'set_at' }, expectations[expectationIndex++]));
if (expectationIndex === expectations.length) {
done();
}
}, fail /* shouldn't have errors */, fail /* shouldn't finish */);
var firstMvcArray = new MvcArrayMock();
firstMvcArray.push(initLatLng);
firstMvcArray.push(initLatLng);
paths.setAt(0, firstMvcArray);
var secondMvcArray = new MvcArrayMock();
secondMvcArray.push(initLatLng);
paths.setAt(1, secondMvcArray);
});
})();
});
it('should emit a path change when a point is added to a path', function (done) {
inject([PolygonManager], function (polygonManager) {
var expectations = [
{ pathIndex: 0, index: 1, newArr: [Array(2).fill({ lat: 15, lng: 15 })] },
{ pathIndex: 0, index: 2, newArr: [Array(3).fill({ lat: 15, lng: 15 })] }
];
var expectationIndex = 0;
expect.assertions(expectations.length);
polygonManager.createPathEventObservable(newPolygon)
.then(function (paths$) {
paths$.subscribe(function (polygonPathEvent) {
expect(polygonPathEvent).toEqual(__assign({ eventName: 'insert_at' }, expectations[expectationIndex++]));
if (expectationIndex === expectations.length) {
done();
}
}, fail /* shouldn't have errors */, fail /* shouldn't finish */);
paths.getAt(0).push(initLatLng);
paths.getAt(0).push(initLatLng);
});
})();
});
it('should emit a path change when a point is removed from a path', function (done) {
inject([PolygonManager], function (polygonManager) {
var expectations = [
{ pathIndex: 0, index: 1, previous: initLatLng, newArr: [[{ lat: 15, lng: 15 }]] },
{ pathIndex: 0, index: 0, previous: initLatLng, newArr: [[]] }
];
var expectationIndex = 0;
expect.assertions(expectations.length);
// prepare the array
paths.getAt(0).push(initLatLng);
polygonManager.createPathEventObservable(newPolygon)
.then(function (paths$) {
paths$.subscribe(function (polygonPathEvent) {
expect(polygonPathEvent).toEqual(__assign({ eventName: 'remove_at' }, expectations[expectationIndex++]));
if (expectationIndex === expectations.length) {
done();
}
}, fail /* shouldn't have errors */, fail /* shouldn't finish */);
paths.getAt(0).pop();
paths.getAt(0).removeAt(0);
});
})();
});
it('should emit a path change when a point is added to an added path', function (done) {
inject([PolygonManager], function (polygonManager) {
var expectations = [
{ index: 1, newArr: [[{ lat: 15, lng: 15 }], []] },
{ pathIndex: 1, index: 0, newArr: [[{ lat: 15, lng: 15 }], [{ lat: 15, lng: 15 }]] }
];
var expectationIndex = 0;
expect.assertions(expectations.length);
// prepare the array
polygonManager.createPathEventObservable(newPolygon)
.then(function (paths$) {
paths$.subscribe(function (polygonPathEvent) {
expect(polygonPathEvent).toEqual(__assign({ eventName: 'insert_at' }, expectations[expectationIndex++]));
if (expectationIndex === expectations.length) {
done();
}
}, fail /* shouldn't have errors */, fail /* shouldn't finish */);
paths.push(new MvcArrayMock());
paths.getAt(1).push(initLatLng);
});
})();
});
it('should not emit a path change when a point is added to a removed path', function (done) {
inject([PolygonManager], function (polygonManager) {
var expectations = [{ index: 0, newArr: [[]] }];
var expectationIndex = 0;
expect.assertions(expectations.length);
// prepare the array
polygonManager.createPathEventObservable(newPolygon)
.then(function (paths$) {
paths$.subscribe(function (polygonPathEvent) {
expect(polygonPathEvent).toEqual(__assign({ eventName: 'removed_at' }, expectations[expectationIndex++]));
}, fail /* shouldn't have errors */, fail /* shouldn't finish */);
var removedPath = paths.pop();
removedPath.pop();
done();
});
})();
});
});
});
//# sourceMappingURL=polygon-manager.spec.js.map
import { NgZone } from '@angular/core';
import { Observable } from 'rxjs';
import { AgmPolyline } from '../../directives/polyline';
import { AgmPolyline, PathEvent } from '../../directives/polyline';
import { GoogleMapsAPIWrapper } from '../google-maps-api-wrapper';
import { LatLng } from '../google-maps-types';
export declare class PolylineManager {

@@ -10,3 +11,3 @@ private _mapsWrapper;

constructor(_mapsWrapper: GoogleMapsAPIWrapper, _zone: NgZone);
private static _convertPoints(line);
private static _convertPoints;
addPolyline(line: AgmPolyline): void;

@@ -18,3 +19,6 @@ updatePolylinePoints(line: AgmPolyline): Promise<void>;

deletePolyline(line: AgmPolyline): Promise<void>;
private getMVCPath;
getPath(agmPolyline: AgmPolyline): Promise<Array<LatLng>>;
createEventObservable<T>(eventName: string, line: AgmPolyline): Observable<T>;
createPathEventObservable(line: AgmPolyline): Promise<Observable<PathEvent>>;
}

@@ -0,4 +1,49 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
import { Injectable, NgZone } from '@angular/core';
import { Observable } from 'rxjs';
import { GoogleMapsAPIWrapper } from '../google-maps-api-wrapper';
import { createMVCEventObservable } from '../../utils/mvcarray-utils';
var PolylineManager = /** @class */ (function () {

@@ -10,2 +55,3 @@ function PolylineManager(_mapsWrapper, _zone) {

}
PolylineManager_1 = PolylineManager;
PolylineManager._convertPoints = function (line) {

@@ -18,3 +64,3 @@ var path = line._getPoints().map(function (point) {

PolylineManager.prototype.addPolyline = function (line) {
var path = PolylineManager._convertPoints(line);
var path = PolylineManager_1._convertPoints(line);
var polylinePromise = this._mapsWrapper.createPolyline({

@@ -36,3 +82,3 @@ clickable: line.clickable,

var _this = this;
var path = PolylineManager._convertPoints(line);
var path = PolylineManager_1._convertPoints(line);
var m = this._polylines.get(line);

@@ -60,2 +106,25 @@ if (m == null) {

};
PolylineManager.prototype.getMVCPath = function (agmPolyline) {
return __awaiter(this, void 0, void 0, function () {
var polyline;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, this._polylines.get(agmPolyline)];
case 1:
polyline = _a.sent();
return [2 /*return*/, polyline.getPath()];
}
});
});
};
PolylineManager.prototype.getPath = function (agmPolyline) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, this.getMVCPath(agmPolyline)];
case 1: return [2 /*return*/, (_a.sent()).getArray()];
}
});
});
};
PolylineManager.prototype.createEventObservable = function (eventName, line) {

@@ -69,10 +138,20 @@ var _this = this;

};
PolylineManager.decorators = [
{ type: Injectable },
];
/** @nocollapse */
PolylineManager.ctorParameters = function () { return [
{ type: GoogleMapsAPIWrapper, },
{ type: NgZone, },
]; };
PolylineManager.prototype.createPathEventObservable = function (line) {
return __awaiter(this, void 0, void 0, function () {
var mvcPath;
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, this.getMVCPath(line)];
case 1:
mvcPath = _a.sent();
return [2 /*return*/, createMVCEventObservable(mvcPath)];
}
});
});
};
var PolylineManager_1;
PolylineManager = PolylineManager_1 = __decorate([
Injectable(),
__metadata("design:paramtypes", [GoogleMapsAPIWrapper, NgZone])
], PolylineManager);
return PolylineManager;

@@ -79,0 +158,0 @@ }());

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":4,"metadata":{"PolylineManager":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":8,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../google-maps-api-wrapper","name":"GoogleMapsAPIWrapper","line":13,"character":36},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":13,"character":73}]}],"addPolyline":[{"__symbolic":"method"}],"updatePolylinePoints":[{"__symbolic":"method"}],"setPolylineOptions":[{"__symbolic":"method"}],"deletePolyline":[{"__symbolic":"method"}],"createEventObservable":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":4,"metadata":{"PolylineManager":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":9,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../google-maps-api-wrapper","name":"GoogleMapsAPIWrapper","line":14,"character":36},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":14,"character":73}]}],"addPolyline":[{"__symbolic":"method"}],"updatePolylinePoints":[{"__symbolic":"method"}],"setPolylineOptions":[{"__symbolic":"method"}],"deletePolyline":[{"__symbolic":"method"}],"getMVCPath":[{"__symbolic":"method"}],"getPath":[{"__symbolic":"method"}],"createEventObservable":[{"__symbolic":"method"}],"createPathEventObservable":[{"__symbolic":"method"}]}}}}]

@@ -1,1 +0,1 @@

{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":1,"members":[]},{"__symbol":2,"members":[]}]}],"addPolyline":[{"__symbolic":"method"}],"updatePolylinePoints":[{"__symbolic":"method"}],"setPolylineOptions":[{"__symbolic":"method"}],"deletePolyline":[{"__symbolic":"method"}],"createEventObservable":[{"__symbolic":"method"}]}},"type":{"summaryKind":3,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":1,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":2,"members":[]}}}}],"lifecycleHooks":[]}}}],"symbols":[{"__symbol":0,"name":"PolylineManager","filePath":"./polyline-manager"},{"__symbol":1,"name":"GoogleMapsAPIWrapper","filePath":"../google-maps-api-wrapper"},{"__symbol":2,"name":"NgZone","filePath":"@angular/core"}]}
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":1,"members":[]},{"__symbol":2,"members":[]}]}],"addPolyline":[{"__symbolic":"method"}],"updatePolylinePoints":[{"__symbolic":"method"}],"setPolylineOptions":[{"__symbolic":"method"}],"deletePolyline":[{"__symbolic":"method"}],"getMVCPath":[{"__symbolic":"method"}],"getPath":[{"__symbolic":"method"}],"createEventObservable":[{"__symbolic":"method"}],"createPathEventObservable":[{"__symbolic":"method"}]}},"type":{"summaryKind":3,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":1,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":2,"members":[]}}}}],"lifecycleHooks":[]}}}],"symbols":[{"__symbol":0,"name":"PolylineManager","filePath":"./polyline-manager"},{"__symbol":1,"name":"GoogleMapsAPIWrapper","filePath":"../google-maps-api-wrapper"},{"__symbol":2,"name":"NgZone","filePath":"@angular/core"}]}

@@ -0,1 +1,10 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Injectable, NgZone } from '@angular/core';

@@ -34,9 +43,3 @@ import { Observable } from 'rxjs';

*/
/**
* Removes the given rectangle from the map.
*/
RectangleManager.prototype.removeRectangle = /**
* Removes the given rectangle from the map.
*/
function (rectangle) {
RectangleManager.prototype.removeRectangle = function (rectangle) {
var _this = this;

@@ -93,10 +96,6 @@ return this._rectangles.get(rectangle).then(function (r) {

};
RectangleManager.decorators = [
{ type: Injectable },
];
/** @nocollapse */
RectangleManager.ctorParameters = function () { return [
{ type: GoogleMapsAPIWrapper, },
{ type: NgZone, },
]; };
RectangleManager = __decorate([
Injectable(),
__metadata("design:paramtypes", [GoogleMapsAPIWrapper, NgZone])
], RectangleManager);
return RectangleManager;

@@ -103,0 +102,0 @@ }());

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":4,"metadata":{"RectangleManager":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":9,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../google-maps-api-wrapper","name":"GoogleMapsAPIWrapper","line":14,"character":35},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":14,"character":72}]}],"addRectangle":[{"__symbolic":"method"}],"removeRectangle":[{"__symbolic":"method"}],"setOptions":[{"__symbolic":"method"}],"getBounds":[{"__symbolic":"method"}],"setBounds":[{"__symbolic":"method"}],"setEditable":[{"__symbolic":"method"}],"setDraggable":[{"__symbolic":"method"}],"setVisible":[{"__symbolic":"method"}],"createEventObservable":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":4,"metadata":{"RectangleManager":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":8,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../google-maps-api-wrapper","name":"GoogleMapsAPIWrapper","line":13,"character":35},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":13,"character":72}]}],"addRectangle":[{"__symbolic":"method"}],"removeRectangle":[{"__symbolic":"method"}],"setOptions":[{"__symbolic":"method"}],"getBounds":[{"__symbolic":"method"}],"setBounds":[{"__symbolic":"method"}],"setEditable":[{"__symbolic":"method"}],"setDraggable":[{"__symbolic":"method"}],"setVisible":[{"__symbolic":"method"}],"createEventObservable":[{"__symbolic":"method"}]}}}}]

@@ -7,3 +7,3 @@ import { InjectionToken } from '@angular/core';

HTTPS = 2,
AUTO = 3,
AUTO = 3
}

@@ -77,4 +77,4 @@ /**

load(): Promise<void>;
private _assignScriptLoadingPromise(scriptElem);
private _assignScriptLoadingPromise;
protected _getScriptSrc(callbackName: string): string;
}
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {

@@ -11,2 +14,14 @@ extendStatics(d, b);

})();
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
var __param = (this && this.__param) || function (paramIndex, decorator) {
return function (target, key) { decorator(target, key, paramIndex); }
};
import { Inject, Injectable, InjectionToken, Optional } from '@angular/core';

@@ -90,3 +105,3 @@ import { DocumentRef, WindowRef } from '../../utils/browser-globals';

var queryParams = {
v: this._config.apiVersion || '3',
v: this._config.apiVersion || 'quarterly',
callback: callbackName,

@@ -121,11 +136,7 @@ key: this._config.apiKey,

};
LazyMapsAPILoader.decorators = [
{ type: Injectable },
];
/** @nocollapse */
LazyMapsAPILoader.ctorParameters = function () { return [
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [LAZY_MAPS_API_CONFIG,] },] },
{ type: WindowRef, },
{ type: DocumentRef, },
]; };
LazyMapsAPILoader = __decorate([
Injectable(),
__param(0, Optional()), __param(0, Inject(LAZY_MAPS_API_CONFIG)),
__metadata("design:paramtypes", [Object, WindowRef, DocumentRef])
], LazyMapsAPILoader);
return LazyMapsAPILoader;

@@ -132,0 +143,0 @@ }(MapsAPILoader));

@@ -44,3 +44,3 @@ import { TestBed, inject } from '@angular/core/testing';

expect(scriptElem.src).toContain('https://maps.googleapis.com/maps/api/js');
expect(scriptElem.src).toContain('v=3');
expect(scriptElem.src).toContain('v=quarterly');
expect(scriptElem.src).toContain('callback=agmLazyMapsAPILoader');

@@ -47,0 +47,0 @@ expect(doc.body.appendChild).toHaveBeenCalledWith(scriptElem);

@@ -0,1 +1,7 @@

var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { Injectable } from '@angular/core';

@@ -5,5 +11,5 @@ var MapsAPILoader = /** @class */ (function () {

}
MapsAPILoader.decorators = [
{ type: Injectable },
];
MapsAPILoader = __decorate([
Injectable()
], MapsAPILoader);
return MapsAPILoader;

@@ -10,0 +16,0 @@ }());

@@ -6,8 +6,3 @@ /**

*/
var /**
* When using the NoOpMapsAPILoader, the Google Maps API must be added to the page via a `<script>`
* Tag.
* It's important that the Google Maps API script gets loaded first on the page.
*/
NoOpMapsAPILoader = /** @class */ (function () {
var NoOpMapsAPILoader = /** @class */ (function () {
function NoOpMapsAPILoader() {

@@ -23,8 +18,3 @@ }

}());
/**
* When using the NoOpMapsAPILoader, the Google Maps API must be added to the page via a `<script>`
* Tag.
* It's important that the Google Maps API script gets loaded first on the page.
*/
export { NoOpMapsAPILoader };
//# sourceMappingURL=noop-maps-api-loader.js.map

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

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

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 not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc