angular8-yandex-maps
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -5,5 +5,6 @@ /** | ||
export * from './public-api'; | ||
export { YandexGeoobjectComponent as ɵd } from './lib/components/yandex-geoobject-component/yandex-geoobject.component'; | ||
export { YandexMapComponent as ɵa } from './lib/components/yandex-map-component/yandex-map.component'; | ||
export { YandexMultirouteComponent as ɵc } from './lib/components/yandex-multiroute-component/yandex-multiroute.component'; | ||
export { YandexPlacemarkComponent as ɵb } from './lib/components/yandex-placemark-component/yandex-placemark.component'; | ||
export { YandexMapService as ɵd } from './lib/services/yandex-map/yandex-map.service'; | ||
export { YandexMapService as ɵe } from './lib/services/yandex-map/yandex-map.service'; |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"exports":[{"export":[{"name":"YandexMapModule","as":"YandexMapModule"}],"from":"./lib/types/yandex-map.type"}],"metadata":{"AngularYandexMapsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":7,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵc"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":14,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵc"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["apiKey"],"value":{"ngModule":{"__symbolic":"reference","name":"AngularYandexMapsModule"},"providers":[{"provide":"API_KEY","useValue":{"__symbolic":"reference","name":"apiKey"}}]}}}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"angular-yandex-map","template":"<div class=\"map-container\" #mapContainer></div>","styles":[".map-container{width:100%;height:100%}"]}]}],"members":{"mapContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":13,"character":3},"arguments":["mapContainer",{"static":true}]}]}],"placemarks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":14,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵb"}]}]}],"multiroutes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":15,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵc"}]}]}],"center":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"zoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"mapState":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"mapOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵd"}]}],"ngOnInit":[{"__symbolic":"method"}],"_combineInputs":[{"__symbolic":"method"}],"_setUniqueMapIdOfMap":[{"__symbolic":"method"}],"_createMapWithObjects":[{"__symbolic":"method"}],"_setPlacemarks":[{"__symbolic":"method"}],"_createMultiroute":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"angular-yandex-placemark","template":"","styles":[""]}]}],"members":{"geometry":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"placemarkProperties":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"placemarkOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"angular-yandex-multiroute","template":"","styles":[""]}]}],"members":{"referencePoints":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":3}}]}],"multirouteModel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"multirouteOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":17,"character":33}]}],"initMap":[{"__symbolic":"method"}],"_loadScript":[{"__symbolic":"method"}],"createMap":[{"__symbolic":"method"}],"createPlacemark":[{"__symbolic":"method"}],"createMultiroute":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}}},"origins":{"AngularYandexMapsModule":"./lib/angular-yandex-maps.module","ɵa":"./lib/components/yandex-map-component/yandex-map.component","ɵb":"./lib/components/yandex-placemark-component/yandex-placemark.component","ɵc":"./lib/components/yandex-multiroute-component/yandex-multiroute.component","ɵd":"./lib/services/yandex-map/yandex-map.service"},"importAs":"angular8-yandex-maps"} | ||
{"__symbolic":"module","version":4,"metadata":{"AngularYandexMapsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":8,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":16,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["apiKey"],"value":{"ngModule":{"__symbolic":"reference","name":"AngularYandexMapsModule"},"providers":[{"provide":"API_KEY","useValue":{"__symbolic":"reference","name":"apiKey"}}]}}}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"angular-yandex-map","template":"<div class=\"map-container\" #mapContainer></div>","styles":[".map-container{width:100%;height:100%}"]}]}],"members":{"mapContainer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":13,"character":3},"arguments":["mapContainer",{"static":true}]}]}],"placemarks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":14,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵb"}]}]}],"multiroutes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":15,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵc"}]}]}],"geoObjects":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":16,"character":3},"arguments":[{"__symbolic":"reference","name":"ɵd"}]}]}],"center":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":3}}]}],"zoom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"mapState":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"mapOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵe"}]}],"ngOnInit":[{"__symbolic":"method"}],"_logErrors":[{"__symbolic":"method"}],"_setUniqueMapIdOfMap":[{"__symbolic":"method"}],"_createMapWithObjects":[{"__symbolic":"method"}],"_combineInputs":[{"__symbolic":"method"}],"_addObjectsOnMap":[{"__symbolic":"method"}],"_setPlacemarks":[{"__symbolic":"method"}],"_createMultiroute":[{"__symbolic":"method"}],"_createGeoObject":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"angular-yandex-placemark","template":"","styles":[""]}]}],"members":{"geometry":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":3}}]}],"placemarkProperties":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"placemarkOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"_logErrors":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"angular-yandex-multiroute","template":"","styles":[""]}]}],"members":{"referencePoints":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":3}}]}],"multirouteModel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"multirouteOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"_logErrors":[{"__symbolic":"method"}]}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"angular-yandex-geoobject","template":"","styles":[""]}]}],"members":{"feature":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":6,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":16,"character":33}]}],"initMap":[{"__symbolic":"method"}],"_loadScript":[{"__symbolic":"method"}],"createMap":[{"__symbolic":"method"}],"createPlacemark":[{"__symbolic":"method"}],"createMultiroute":[{"__symbolic":"method"}],"createGeoObject":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}}},"origins":{"AngularYandexMapsModule":"./lib/angular-yandex-maps.module","ɵa":"./lib/components/yandex-map-component/yandex-map.component","ɵb":"./lib/components/yandex-placemark-component/yandex-placemark.component","ɵc":"./lib/components/yandex-multiroute-component/yandex-multiroute.component","ɵd":"./lib/components/yandex-geoobject-component/yandex-geoobject.component","ɵe":"./lib/services/yandex-map/yandex-map.service"},"importAs":"angular8-yandex-maps"} |
@@ -72,4 +72,4 @@ (function (global, factory) { | ||
* @param {?} geometry | ||
* @param {?=} properties | ||
* @param {?=} options | ||
* @param {?} properties | ||
* @param {?} options | ||
* @return {?} | ||
@@ -79,9 +79,7 @@ */ | ||
* @param {?} geometry | ||
* @param {?=} properties | ||
* @param {?=} options | ||
* @param {?} properties | ||
* @param {?} options | ||
* @return {?} | ||
*/ | ||
function (geometry, properties, options) { | ||
if (properties === void 0) { properties = {}; } | ||
if (options === void 0) { options = {}; } | ||
this._map.geoObjects | ||
@@ -104,2 +102,16 @@ .add(new ymaps.Placemark(geometry, properties, options)); | ||
}; | ||
/** | ||
* @param {?} feature | ||
* @param {?} options | ||
* @return {?} | ||
*/ | ||
YandexMapService.prototype.createGeoObject = /** | ||
* @param {?} feature | ||
* @param {?} options | ||
* @return {?} | ||
*/ | ||
function (feature, options) { | ||
this._map.geoObjects | ||
.add(new ymaps.GeoObject(feature, options)); | ||
}; | ||
YandexMapService.decorators = [ | ||
@@ -124,2 +136,3 @@ { type: core.Injectable, args: [{ | ||
function YandexPlacemarkComponent() { | ||
this.geometry = []; | ||
} | ||
@@ -132,3 +145,17 @@ /** | ||
*/ | ||
function () { }; | ||
function () { | ||
this._logErrors(); | ||
}; | ||
/** | ||
* @private | ||
* @return {?} | ||
*/ | ||
YandexPlacemarkComponent.prototype._logErrors = /** | ||
* @private | ||
* @return {?} | ||
*/ | ||
function () { | ||
if (!this.geometry.length) | ||
console.error('Placemark: geometry is required'); | ||
}; | ||
YandexPlacemarkComponent.decorators = [ | ||
@@ -157,2 +184,3 @@ { type: core.Component, args: [{ | ||
function YandexMultirouteComponent() { | ||
this.referencePoints = []; | ||
} | ||
@@ -165,3 +193,17 @@ /** | ||
*/ | ||
function () { }; | ||
function () { | ||
this._logErrors(); | ||
}; | ||
/** | ||
* @private | ||
* @return {?} | ||
*/ | ||
YandexMultirouteComponent.prototype._logErrors = /** | ||
* @private | ||
* @return {?} | ||
*/ | ||
function () { | ||
if (!this.referencePoints.length) | ||
console.error('Multiroute: referencePoints is required'); | ||
}; | ||
YandexMultirouteComponent.decorators = [ | ||
@@ -188,7 +230,38 @@ { type: core.Component, args: [{ | ||
*/ | ||
var YandexGeoobjectComponent = /** @class */ (function () { | ||
function YandexGeoobjectComponent() { | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
YandexGeoobjectComponent.prototype.ngOnInit = /** | ||
* @return {?} | ||
*/ | ||
function () { }; | ||
YandexGeoobjectComponent.decorators = [ | ||
{ type: core.Component, args: [{ | ||
selector: 'angular-yandex-geoobject', | ||
template: "", | ||
styles: [""] | ||
}] } | ||
]; | ||
/** @nocollapse */ | ||
YandexGeoobjectComponent.ctorParameters = function () { return []; }; | ||
YandexGeoobjectComponent.propDecorators = { | ||
feature: [{ type: core.Input }], | ||
options: [{ type: core.Input }] | ||
}; | ||
return YandexGeoobjectComponent; | ||
}()); | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
var YandexMapComponent = /** @class */ (function () { | ||
function YandexMapComponent(_yandexMapService) { | ||
this._yandexMapService = _yandexMapService; | ||
this.center = []; | ||
this.zoom = 10; | ||
this.mapState = {}; | ||
this.mapOptions = {}; | ||
} | ||
@@ -202,2 +275,3 @@ /** | ||
function () { | ||
this._logErrors(); | ||
this._setUniqueMapIdOfMap(); | ||
@@ -210,3 +284,3 @@ this._createMapWithObjects(); | ||
*/ | ||
YandexMapComponent.prototype._combineInputs = /** | ||
YandexMapComponent.prototype._logErrors = /** | ||
* @private | ||
@@ -216,15 +290,4 @@ * @return {?} | ||
function () { | ||
// Map | ||
this.mapState.zoom = this.zoom; | ||
this.mapState.center = this.center; | ||
// Multiroute | ||
this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
function (multiroute) { | ||
if (!multiroute.multirouteModel) | ||
multiroute.multirouteModel = {}; | ||
multiroute.multirouteModel.referencePoints = multiroute.referencePoints; | ||
})); | ||
if (!this.center.length) | ||
console.error('Map: center is required'); | ||
}; | ||
@@ -261,20 +324,71 @@ /** | ||
_this._yandexMapService.createMap(_this._uniqueMapId, _this.mapState, _this.mapOptions); | ||
_this.placemarks.forEach((/** | ||
* @param {?} placemark | ||
* @return {?} | ||
*/ | ||
function (placemark) { | ||
_this._setPlacemarks(placemark); | ||
})); | ||
_this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
function (multiroute) { | ||
_this._createMultiroute(multiroute); | ||
})); | ||
_this._addObjectsOnMap(); | ||
})); | ||
}; | ||
/** | ||
* Combine separated inputs in objects required for API | ||
*/ | ||
/** | ||
* Combine separated inputs in objects required for API | ||
* @private | ||
* @return {?} | ||
*/ | ||
YandexMapComponent.prototype._combineInputs = /** | ||
* Combine separated inputs in objects required for API | ||
* @private | ||
* @return {?} | ||
*/ | ||
function () { | ||
// Map | ||
this.mapState.zoom = this.zoom; | ||
this.mapState.center = this.center; | ||
// Multiroute | ||
this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
function (multiroute) { | ||
if (!multiroute.multirouteModel) | ||
multiroute.multirouteModel = {}; | ||
multiroute.multirouteModel.referencePoints = multiroute.referencePoints; | ||
})); | ||
}; | ||
/** | ||
* @private | ||
* @return {?} | ||
*/ | ||
YandexMapComponent.prototype._addObjectsOnMap = /** | ||
* @private | ||
* @return {?} | ||
*/ | ||
function () { | ||
var _this = this; | ||
this.placemarks.forEach((/** | ||
* @param {?} placemark | ||
* @return {?} | ||
*/ | ||
function (placemark) { | ||
_this._setPlacemarks(placemark); | ||
})); | ||
this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
function (multiroute) { | ||
_this._createMultiroute(multiroute); | ||
})); | ||
this.geoObjects.forEach((/** | ||
* @param {?} geoObject | ||
* @return {?} | ||
*/ | ||
function (geoObject) { | ||
_this._createGeoObject(geoObject); | ||
})); | ||
}; | ||
/** | ||
* Add objects with params in map.geoObjects | ||
*/ | ||
/** | ||
* Add objects with params in map.geoObjects | ||
* @private | ||
* @param {?} placemark | ||
@@ -284,2 +398,3 @@ * @return {?} | ||
YandexMapComponent.prototype._setPlacemarks = /** | ||
* Add objects with params in map.geoObjects | ||
* @private | ||
@@ -305,2 +420,15 @@ * @param {?} placemark | ||
}; | ||
/** | ||
* @private | ||
* @param {?} geoObject | ||
* @return {?} | ||
*/ | ||
YandexMapComponent.prototype._createGeoObject = /** | ||
* @private | ||
* @param {?} geoObject | ||
* @return {?} | ||
*/ | ||
function (geoObject) { | ||
this._yandexMapService.createGeoObject(geoObject.feature, geoObject.options); | ||
}; | ||
YandexMapComponent.decorators = [ | ||
@@ -321,2 +449,3 @@ { type: core.Component, args: [{ | ||
multiroutes: [{ type: core.ContentChildren, args: [YandexMultirouteComponent,] }], | ||
geoObjects: [{ type: core.ContentChildren, args: [YandexGeoobjectComponent,] }], | ||
center: [{ type: core.Input }], | ||
@@ -358,3 +487,4 @@ zoom: [{ type: core.Input }], | ||
YandexPlacemarkComponent, | ||
YandexMultirouteComponent | ||
YandexMultirouteComponent, | ||
YandexGeoobjectComponent | ||
], | ||
@@ -367,3 +497,4 @@ imports: [ | ||
YandexPlacemarkComponent, | ||
YandexMultirouteComponent | ||
YandexMultirouteComponent, | ||
YandexGeoobjectComponent | ||
] | ||
@@ -379,3 +510,4 @@ },] } | ||
exports.ɵc = YandexMultirouteComponent; | ||
exports.ɵd = YandexMapService; | ||
exports.ɵd = YandexGeoobjectComponent; | ||
exports.ɵe = YandexMapService; | ||
@@ -382,0 +514,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("angular8-yandex-maps",["exports","@angular/core","@angular/common","rxjs","rxjs/operators"],e):e((t=t||self)["angular8-yandex-maps"]={},t.ng.core,t.ng.common,t.rxjs,t.rxjs.operators)}(this,function(t,e,n,r,o){"use strict";var a=function(){function t(t){this._injector=t,this._isMapInited$=new r.Subject,this._apiKey=this._injector.get("API_KEY")}return t.prototype.initMap=function(){var t=this;return this._isScriptInited||(this._isScriptInited=!0,this._loadScript()),this._scriptYmaps.onload=function(){ymaps.ready(function(){t._isMapInited$.next(!0)})},this._isMapInited$},t.prototype._loadScript=function(){this._scriptYmaps=document.createElement("script"),this._scriptYmaps.src="https://api-maps.yandex.ru/2.1/?apikey="+this._apiKey+"&lang=ru_RU",document.body.appendChild(this._scriptYmaps)},t.prototype.createMap=function(t,e,n){this._map=new ymaps.Map(t,e,n)},t.prototype.createPlacemark=function(t,e,n){void 0===e&&(e={}),void 0===n&&(n={}),this._map.geoObjects.add(new ymaps.Placemark(t,e,n))},t.prototype.createMultiroute=function(t,e){this._map.geoObjects.add(new ymaps.multiRouter.MultiRoute(t,e))},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:e.Injector}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(e.INJECTOR))},token:t,providedIn:"root"}),t}(),i=function(){function t(){}return t.prototype.ngOnInit=function(){},t.decorators=[{type:e.Component,args:[{selector:"angular-yandex-placemark",template:"",styles:[""]}]}],t.ctorParameters=function(){return[]},t.propDecorators={geometry:[{type:e.Input}],placemarkProperties:[{type:e.Input}],placemarkOptions:[{type:e.Input}]},t}(),p=function(){function t(){}return t.prototype.ngOnInit=function(){},t.decorators=[{type:e.Component,args:[{selector:"angular-yandex-multiroute",template:"",styles:[""]}]}],t.ctorParameters=function(){return[]},t.propDecorators={referencePoints:[{type:e.Input}],multirouteModel:[{type:e.Input}],multirouteOptions:[{type:e.Input}]},t}(),s=function(){function t(t){this._yandexMapService=t,this.mapState={},this.mapOptions={}}return t.prototype.ngOnInit=function(){this._setUniqueMapIdOfMap(),this._createMapWithObjects()},t.prototype._combineInputs=function(){this.mapState.zoom=this.zoom,this.mapState.center=this.center,this.multiroutes.forEach(function(t){t.multirouteModel||(t.multirouteModel={}),t.multirouteModel.referencePoints=t.referencePoints})},t.prototype._setUniqueMapIdOfMap=function(){this._uniqueMapId="f"+(~~(1e8*Math.random())).toString(16),this.mapContainer.nativeElement.setAttribute("id",this._uniqueMapId)},t.prototype._createMapWithObjects=function(){var t=this;this._yandexMapService.initMap().pipe(o.take(1)).subscribe(function(){t._combineInputs(),t._yandexMapService.createMap(t._uniqueMapId,t.mapState,t.mapOptions),t.placemarks.forEach(function(e){t._setPlacemarks(e)}),t.multiroutes.forEach(function(e){t._createMultiroute(e)})})},t.prototype._setPlacemarks=function(t){this._yandexMapService.createPlacemark(t.geometry,t.placemarkProperties,t.placemarkOptions)},t.prototype._createMultiroute=function(t){this._yandexMapService.createMultiroute(t.multirouteModel,t.multirouteOptions)},t.decorators=[{type:e.Component,args:[{selector:"angular-yandex-map",template:'<div class="map-container" #mapContainer></div>',styles:[".map-container{width:100%;height:100%}"]}]}],t.ctorParameters=function(){return[{type:a}]},t.propDecorators={mapContainer:[{type:e.ViewChild,args:["mapContainer",{"static":!0}]}],placemarks:[{type:e.ContentChildren,args:[i]}],multiroutes:[{type:e.ContentChildren,args:[p]}],center:[{type:e.Input}],zoom:[{type:e.Input}],mapState:[{type:e.Input}],mapOptions:[{type:e.Input}]},t}(),u=function(){function t(){}return t.forRoot=function(e){return{ngModule:t,providers:[{provide:"API_KEY",useValue:e}]}},t.decorators=[{type:e.NgModule,args:[{declarations:[s,i,p],imports:[n.CommonModule],exports:[s,i,p]}]}],t}();t.AngularYandexMapsModule=u,t.ɵa=s,t.ɵb=i,t.ɵc=p,t.ɵd=a,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("angular8-yandex-maps",["exports","@angular/core","@angular/common","rxjs","rxjs/operators"],e):e((t=t||self)["angular8-yandex-maps"]={},t.ng.core,t.ng.common,t.rxjs,t.rxjs.operators)}(this,function(t,e,r,o,n){"use strict";var i=function(){function t(t){this._injector=t,this._isMapInited$=new o.Subject,this._apiKey=this._injector.get("API_KEY")}return t.prototype.initMap=function(){var t=this;return this._isScriptInited||(this._isScriptInited=!0,this._loadScript()),this._scriptYmaps.onload=function(){ymaps.ready(function(){t._isMapInited$.next(!0)})},this._isMapInited$},t.prototype._loadScript=function(){this._scriptYmaps=document.createElement("script"),this._scriptYmaps.src="https://api-maps.yandex.ru/2.1/?apikey="+this._apiKey+"&lang=ru_RU",document.body.appendChild(this._scriptYmaps)},t.prototype.createMap=function(t,e,r){this._map=new ymaps.Map(t,e,r)},t.prototype.createPlacemark=function(t,e,r){this._map.geoObjects.add(new ymaps.Placemark(t,e,r))},t.prototype.createMultiroute=function(t,e){this._map.geoObjects.add(new ymaps.multiRouter.MultiRoute(t,e))},t.prototype.createGeoObject=function(t,e){this._map.geoObjects.add(new ymaps.GeoObject(t,e))},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:e.Injector}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(e.INJECTOR))},token:t,providedIn:"root"}),t}(),a=function(){function t(){this.geometry=[]}return t.prototype.ngOnInit=function(){this._logErrors()},t.prototype._logErrors=function(){this.geometry.length||console.error("Placemark: geometry is required")},t.decorators=[{type:e.Component,args:[{selector:"angular-yandex-placemark",template:"",styles:[""]}]}],t.ctorParameters=function(){return[]},t.propDecorators={geometry:[{type:e.Input}],placemarkProperties:[{type:e.Input}],placemarkOptions:[{type:e.Input}]},t}(),p=function(){function t(){this.referencePoints=[]}return t.prototype.ngOnInit=function(){this._logErrors()},t.prototype._logErrors=function(){this.referencePoints.length||console.error("Multiroute: referencePoints is required")},t.decorators=[{type:e.Component,args:[{selector:"angular-yandex-multiroute",template:"",styles:[""]}]}],t.ctorParameters=function(){return[]},t.propDecorators={referencePoints:[{type:e.Input}],multirouteModel:[{type:e.Input}],multirouteOptions:[{type:e.Input}]},t}(),s=function(){function t(){}return t.prototype.ngOnInit=function(){},t.decorators=[{type:e.Component,args:[{selector:"angular-yandex-geoobject",template:"",styles:[""]}]}],t.ctorParameters=function(){return[]},t.propDecorators={feature:[{type:e.Input}],options:[{type:e.Input}]},t}(),c=function(){function t(t){this._yandexMapService=t,this.center=[],this.zoom=10,this.mapState={}}return t.prototype.ngOnInit=function(){this._logErrors(),this._setUniqueMapIdOfMap(),this._createMapWithObjects()},t.prototype._logErrors=function(){this.center.length||console.error("Map: center is required")},t.prototype._setUniqueMapIdOfMap=function(){this._uniqueMapId="f"+(~~(1e8*Math.random())).toString(16),this.mapContainer.nativeElement.setAttribute("id",this._uniqueMapId)},t.prototype._createMapWithObjects=function(){var t=this;this._yandexMapService.initMap().pipe(n.take(1)).subscribe(function(){t._combineInputs(),t._yandexMapService.createMap(t._uniqueMapId,t.mapState,t.mapOptions),t._addObjectsOnMap()})},t.prototype._combineInputs=function(){this.mapState.zoom=this.zoom,this.mapState.center=this.center,this.multiroutes.forEach(function(t){t.multirouteModel||(t.multirouteModel={}),t.multirouteModel.referencePoints=t.referencePoints})},t.prototype._addObjectsOnMap=function(){var t=this;this.placemarks.forEach(function(e){t._setPlacemarks(e)}),this.multiroutes.forEach(function(e){t._createMultiroute(e)}),this.geoObjects.forEach(function(e){t._createGeoObject(e)})},t.prototype._setPlacemarks=function(t){this._yandexMapService.createPlacemark(t.geometry,t.placemarkProperties,t.placemarkOptions)},t.prototype._createMultiroute=function(t){this._yandexMapService.createMultiroute(t.multirouteModel,t.multirouteOptions)},t.prototype._createGeoObject=function(t){this._yandexMapService.createGeoObject(t.feature,t.options)},t.decorators=[{type:e.Component,args:[{selector:"angular-yandex-map",template:'<div class="map-container" #mapContainer></div>',styles:[".map-container{width:100%;height:100%}"]}]}],t.ctorParameters=function(){return[{type:i}]},t.propDecorators={mapContainer:[{type:e.ViewChild,args:["mapContainer",{"static":!0}]}],placemarks:[{type:e.ContentChildren,args:[a]}],multiroutes:[{type:e.ContentChildren,args:[p]}],geoObjects:[{type:e.ContentChildren,args:[s]}],center:[{type:e.Input}],zoom:[{type:e.Input}],mapState:[{type:e.Input}],mapOptions:[{type:e.Input}]},t}(),u=function(){function t(){}return t.forRoot=function(e){return{ngModule:t,providers:[{provide:"API_KEY",useValue:e}]}},t.decorators=[{type:e.NgModule,args:[{declarations:[c,a,p,s],imports:[r.CommonModule],exports:[c,a,p,s]}]}],t}();t.AngularYandexMapsModule=u,t.ɵa=c,t.ɵb=a,t.ɵc=p,t.ɵd=s,t.ɵe=i,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=angular8-yandex-maps.umd.min.js.map |
@@ -9,6 +9,7 @@ /** | ||
export { AngularYandexMapsModule } from './public-api'; | ||
export { YandexGeoobjectComponent as ɵd } from './lib/components/yandex-geoobject-component/yandex-geoobject.component'; | ||
export { YandexMapComponent as ɵa } from './lib/components/yandex-map-component/yandex-map.component'; | ||
export { YandexMultirouteComponent as ɵc } from './lib/components/yandex-multiroute-component/yandex-multiroute.component'; | ||
export { YandexPlacemarkComponent as ɵb } from './lib/components/yandex-placemark-component/yandex-placemark.component'; | ||
export { YandexMapService as ɵd } from './lib/services/yandex-map/yandex-map.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ndWxhcjgteWFuZGV4LW1hcHMuanMiLCJzb3VyY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nQge1lhbmRleE1hcFNlcnZpY2UgYXMgybVkfSBmcm9tICcuL2xpYi9zZXJ2aWNlcy95YW5kZXgtbWFwL3lhbmRleC1tYXAuc2VydmljZSc7Il19 | ||
export { YandexMapService as ɵe } from './lib/services/yandex-map/yandex-map.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ndWxhcjgteWFuZGV4LW1hcHMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9hbmd1bGFyOC15YW5kZXgtbWFwcy8iLCJzb3VyY2VzIjpbImFuZ3VsYXI4LXlhbmRleC1tYXBzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSx3Q0FBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLHdCQUF3QixJQUFJLEVBQUUsRUFBQyxNQUFNLHdFQUF3RSxDQUFDO0FBQ3RILE9BQU8sRUFBQyxrQkFBa0IsSUFBSSxFQUFFLEVBQUMsTUFBTSw0REFBNEQsQ0FBQztBQUNwRyxPQUFPLEVBQUMseUJBQXlCLElBQUksRUFBRSxFQUFDLE1BQU0sMEVBQTBFLENBQUM7QUFDekgsT0FBTyxFQUFDLHdCQUF3QixJQUFJLEVBQUUsRUFBQyxNQUFNLHdFQUF3RSxDQUFDO0FBQ3RILE9BQU8sRUFBQyxnQkFBZ0IsSUFBSSxFQUFFLEVBQUMsTUFBTSw4Q0FBOEMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcblxuZXhwb3J0IHtZYW5kZXhHZW9vYmplY3RDb21wb25lbnQgYXMgybVkfSBmcm9tICcuL2xpYi9jb21wb25lbnRzL3lhbmRleC1nZW9vYmplY3QtY29tcG9uZW50L3lhbmRleC1nZW9vYmplY3QuY29tcG9uZW50JztcbmV4cG9ydCB7WWFuZGV4TWFwQ29tcG9uZW50IGFzIMm1YX0gZnJvbSAnLi9saWIvY29tcG9uZW50cy95YW5kZXgtbWFwLWNvbXBvbmVudC95YW5kZXgtbWFwLmNvbXBvbmVudCc7XG5leHBvcnQge1lhbmRleE11bHRpcm91dGVDb21wb25lbnQgYXMgybVjfSBmcm9tICcuL2xpYi9jb21wb25lbnRzL3lhbmRleC1tdWx0aXJvdXRlLWNvbXBvbmVudC95YW5kZXgtbXVsdGlyb3V0ZS5jb21wb25lbnQnO1xuZXhwb3J0IHtZYW5kZXhQbGFjZW1hcmtDb21wb25lbnQgYXMgybVifSBmcm9tICcuL2xpYi9jb21wb25lbnRzL3lhbmRleC1wbGFjZW1hcmstY29tcG9uZW50L3lhbmRleC1wbGFjZW1hcmsuY29tcG9uZW50JztcbmV4cG9ydCB7WWFuZGV4TWFwU2VydmljZSBhcyDJtWV9IGZyb20gJy4vbGliL3NlcnZpY2VzL3lhbmRleC1tYXAveWFuZGV4LW1hcC5zZXJ2aWNlJzsiXX0= |
@@ -10,2 +10,3 @@ /** | ||
import { YandexMultirouteComponent } from './components/yandex-multiroute-component/yandex-multiroute.component'; | ||
import { YandexGeoobjectComponent } from './components/yandex-geoobject-component/yandex-geoobject.component'; | ||
export class AngularYandexMapsModule { | ||
@@ -30,3 +31,4 @@ /** | ||
YandexPlacemarkComponent, | ||
YandexMultirouteComponent | ||
YandexMultirouteComponent, | ||
YandexGeoobjectComponent | ||
], | ||
@@ -39,6 +41,7 @@ imports: [ | ||
YandexPlacemarkComponent, | ||
YandexMultirouteComponent | ||
YandexMultirouteComponent, | ||
YandexGeoobjectComponent | ||
] | ||
},] } | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ndWxhci15YW5kZXgtbWFwcy5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9hbmd1bGFyOC15YW5kZXgtbWFwcy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1nZW9vYmplY3QuY29tcG9uZW50JztcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgZGVjbGFyYXRpb25zOiBbXHJcbiAgICBZYW5kZXhNYXBDb21wb25lbnQsXHJcbiAgICBZYW5kZXhQbGFjZW1hcmtDb21wb25lbnQsXHJcbiAgICBZYW5kZXhNdWx0aXJvdXRlQ29tcG9uZW50LFxyXG4gICAgWWFuZGV4R2Vvb2JqZWN0Q29tcG9uZW50XHJcbiAgXSxcclxuICBpbXBvcnRzOiBbXHJcbiAgICBDb21tb25Nb2R1bGVcclxuICBdLFxyXG4gIGV4cG9ydHM6IFtcclxuICAgIFlhbmRleE1hcENvbXBvbmVudCxcclxuICAgIFlhbmRleFBsYWNlbWFya0NvbXBvbmVudCxcclxuICAgIFlhbmRleE11bHRpcm91dGVDb21wb25lbnQsXHJcbiAgICBZYW5kZXhHZW9vYmplY3RDb21wb25lbnRcclxuICBdXHJcbn0pXHJcblxyXG5leHBvcnQgY2xhc3MgQW5ndWxhcllhbmRleE1hcHNNb2R1bGUge1xyXG4gIHN0YXRpYyBmb3JSb290KGFwaUtleTogc3RyaW5nKTogTW9kdWxlV2l0aFByb3ZpZGVycyB7XHJcbiAgICByZXR1cm4ge1xyXG4gICAgICBuZ01vZHVsZTogQW5ndWxhcllhbmRleE1hcHNNb2R1bGUsXHJcbiAgICAgIHByb3ZpZGVyczogW1xyXG4gICAgICAgIHsgcHJvdmlkZTogJ0FQSV9LRVknLCB1c2VWYWx1ZTogYXBpS2V5IH1cclxuICAgICAgXVxyXG4gICAgfTtcclxuICB9XHJcbn1cclxuIl19 |
@@ -10,2 +10,3 @@ /** | ||
import { YandexMultirouteComponent } from '../yandex-multiroute-component/yandex-multiroute.component'; | ||
import { YandexGeoobjectComponent } from '../yandex-geoobject-component/yandex-geoobject.component'; | ||
export class YandexMapComponent { | ||
@@ -17,4 +18,5 @@ /** | ||
this._yandexMapService = _yandexMapService; | ||
this.center = []; | ||
this.zoom = 10; | ||
this.mapState = {}; | ||
this.mapOptions = {}; | ||
} | ||
@@ -25,2 +27,3 @@ /** | ||
ngOnInit() { | ||
this._logErrors(); | ||
this._setUniqueMapIdOfMap(); | ||
@@ -33,16 +36,5 @@ this._createMapWithObjects(); | ||
*/ | ||
_combineInputs() { | ||
// Map | ||
this.mapState.zoom = this.zoom; | ||
this.mapState.center = this.center; | ||
// Multiroute | ||
this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
(multiroute) => { | ||
if (!multiroute.multirouteModel) | ||
multiroute.multirouteModel = {}; | ||
multiroute.multirouteModel.referencePoints = multiroute.referencePoints; | ||
})); | ||
_logErrors() { | ||
if (!this.center.length) | ||
console.error('Map: center is required'); | ||
} | ||
@@ -70,20 +62,55 @@ /** | ||
this._yandexMapService.createMap(this._uniqueMapId, this.mapState, this.mapOptions); | ||
this.placemarks.forEach((/** | ||
* @param {?} placemark | ||
* @return {?} | ||
*/ | ||
(placemark) => { | ||
this._setPlacemarks(placemark); | ||
})); | ||
this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
(multiroute) => { | ||
this._createMultiroute(multiroute); | ||
})); | ||
this._addObjectsOnMap(); | ||
})); | ||
} | ||
/** | ||
* Combine separated inputs in objects required for API | ||
* @private | ||
* @return {?} | ||
*/ | ||
_combineInputs() { | ||
// Map | ||
this.mapState.zoom = this.zoom; | ||
this.mapState.center = this.center; | ||
// Multiroute | ||
this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
(multiroute) => { | ||
if (!multiroute.multirouteModel) | ||
multiroute.multirouteModel = {}; | ||
multiroute.multirouteModel.referencePoints = multiroute.referencePoints; | ||
})); | ||
} | ||
/** | ||
* @private | ||
* @return {?} | ||
*/ | ||
_addObjectsOnMap() { | ||
this.placemarks.forEach((/** | ||
* @param {?} placemark | ||
* @return {?} | ||
*/ | ||
(placemark) => { | ||
this._setPlacemarks(placemark); | ||
})); | ||
this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
(multiroute) => { | ||
this._createMultiroute(multiroute); | ||
})); | ||
this.geoObjects.forEach((/** | ||
* @param {?} geoObject | ||
* @return {?} | ||
*/ | ||
(geoObject) => { | ||
this._createGeoObject(geoObject); | ||
})); | ||
} | ||
/** | ||
* Add objects with params in map.geoObjects | ||
* @private | ||
* @param {?} placemark | ||
@@ -103,2 +130,10 @@ * @return {?} | ||
} | ||
/** | ||
* @private | ||
* @param {?} geoObject | ||
* @return {?} | ||
*/ | ||
_createGeoObject(geoObject) { | ||
this._yandexMapService.createGeoObject(geoObject.feature, geoObject.options); | ||
} | ||
} | ||
@@ -120,2 +155,3 @@ YandexMapComponent.decorators = [ | ||
multiroutes: [{ type: ContentChildren, args: [YandexMultirouteComponent,] }], | ||
geoObjects: [{ type: ContentChildren, args: [YandexGeoobjectComponent,] }], | ||
center: [{ type: Input }], | ||
@@ -134,2 +170,4 @@ zoom: [{ type: Input }], | ||
/** @type {?} */ | ||
YandexMapComponent.prototype.geoObjects; | ||
/** @type {?} */ | ||
YandexMapComponent.prototype.center; | ||
@@ -153,2 +191,2 @@ /** @type {?} */ | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieWFuZGV4LW1hcC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9hbmd1bGFyOC15YW5kZXgtbWFwcy8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL3lhbmRleC1tYXAtY29tcG9uZW50L3lhbmRleC1tYXAuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLGVBQWUsRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDNUcsT0FBTyxFQUFFLGdCQ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JcbiAgICAgIHRoaXMuX2NyZWF0ZUdlb09iamVjdChnZW9PYmplY3QpO1xyXG4gICAgfSk7XHJcbiAgfVxyXG5cclxuICAvKipcclxuICAgKiBBZGQgb2JqZWN0cyB3aXRoIHBhcmFtcyBpbiBtYXAuZ2VvT2JqZWN0c1xyXG4gICAqL1xyXG4gIHByaXZhdGUgX3NldFBsYWNlbWFya3MocGxhY2VtYXJrOiBZYW5kZXhQbGFjZW1hcmtDb21wb25lbnQpOiB2b2lkIHtcclxuICAgIHRoaXMuX3lhbmRleE1hcFNlcnZpY2UuY3JlYXRlUGxhY2VtYXJrKHBsYWNlbWFyay5nZW9tZXRyeSwgcGxhY2VtYXJrLnBsYWNlbWFya1Byb3BlcnRpZXMsIHBsYWNlbWFyay5wbGFjZW1hcmtPcHRpb25zKTtcclxuICB9XHJcblxyXG4gIHByaXZhdGUgX2NyZWF0ZU11bHRpcm91dGUobXVsdGlyb3V0ZTogWWFuZGV4TXVsdGlyb3V0ZUNvbXBvbmVudCk6IHZvaWQge1xyXG4gICAgdGhpcy5feWFuZGV4TWFwU2VydmljZS5jcmVhdGVNdWx0aXJvdXRlKG11bHRpcm91dGUubXVsdGlyb3V0ZU1vZGVsLCBtdWx0aXJvdXRlLm11bHRpcm91dGVPcHRpb25zKTtcclxuICB9XHJcblxyXG4gIHByaXZhdGUgX2NyZWF0ZUdlb09iamVjdChnZW9PYmplY3Q6IFlhbmRleEdlb29iamVjdENvbXBvbmVudCk6IHZvaWQge1xyXG4gICAgdGhpcy5feWFuZGV4TWFwU2VydmljZS5jcmVhdGVHZW9PYmplY3QoZ2VvT2JqZWN0LmZlYXR1cmUsIGdlb09iamVjdC5vcHRpb25zKTtcclxuICB9XHJcbn1cclxuIl19 |
@@ -7,7 +7,19 @@ /** | ||
export class YandexMultirouteComponent { | ||
constructor() { } | ||
constructor() { | ||
this.referencePoints = []; | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
ngOnInit() { } | ||
ngOnInit() { | ||
this._logErrors(); | ||
} | ||
/** | ||
* @private | ||
* @return {?} | ||
*/ | ||
_logErrors() { | ||
if (!this.referencePoints.length) | ||
console.error('Multiroute: referencePoints is required'); | ||
} | ||
} | ||
@@ -36,2 +48,2 @@ YandexMultirouteComponent.decorators = [ | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieWFuZGV4LW11bHRpcm91dGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vYW5ndWxhcjgteWFuZGV4LW1hcHMvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy95YW5kZXgtbXVsdGlyb3V0ZS1jb21wb25lbnQveWFuZGV4LW11bHRpcm91dGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQU96RCxNQUFNLE9BQU8seUJBQXlCO0lBS3BDLGdCQUFlLENBQUM7Ozs7SUFDVCxRQUFRLEtBQVUsQ0FBQzs7O1lBWDNCLFNBQVMsU0FBQztnQkFDVCxRQUFRLEVBQUUsMkJBQTJCO2dCQUNyQyxZQUFpRDs7YUFFbEQ7Ozs7OzhCQUVFLEtBQUs7OEJBQ0wsS0FBSztnQ0FDTCxLQUFLOzs7O0lBRk4sb0RBQTRDOztJQUM1QyxvREFBcUM7O0lBQ3JDLHNEQUF1QyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgT25Jbml0LCBJbnB1dCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdhbmd1bGFyLXlhbmRleC1tdWx0aXJvdXRlJyxcclxuICB0ZW1wbGF0ZVVybDogJy4veWFuZGV4LW11bHRpcm91dGUuY29tcG9uZW50Lmh0bWwnLFxyXG4gIHN0eW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XRlOiByZWZlcmVuY2VQb2ludHMgaXMgcmVxdWlyZWQnKTtcclxuICB9XHJcbn1cclxuIl19 |
@@ -7,7 +7,19 @@ /** | ||
export class YandexPlacemarkComponent { | ||
constructor() { } | ||
constructor() { | ||
this.geometry = []; | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
ngOnInit() { } | ||
ngOnInit() { | ||
this._logErrors(); | ||
} | ||
/** | ||
* @private | ||
* @return {?} | ||
*/ | ||
_logErrors() { | ||
if (!this.geometry.length) | ||
console.error('Placemark: geometry is required'); | ||
} | ||
} | ||
@@ -36,2 +48,2 @@ YandexPlacemarkComponent.decorators = [ | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieWFuZGV4LXBsYWNlbWFyay5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9hbmd1bGFyOC15YW5kZXgtbWFwcy8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL3lhbmRleC1wbGFjZW1hcmstY29tcG9uZW50L3lhbmRleC1wbGFjZW1hcmsuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQVF6RCxNQUFNLE9BQU8sd0JBQXdCO0lBS25DLGdCQUFlLENBQUM7Ozs7SUFDVCxRQUFRLEtBQVUsQ0FBQzs7O1lBWDNCLFNBQVMsU0FBQztnQkFDVCxRQUFRLEVBQUUsMEJBQTBCO2dCQUNwQyxZQUFnRDs7YUFFakQ7Ozs7O3VCQUVFLEtBQUs7a0NBQ0wsS0FBSzsrQkFDTCxLQUFLOzs7O0lBRk4sNENBQThCOztJQUM5Qix1REFBeUM7O0lBQ3pDLG9EQUFvRSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgT25Jbml0LCBJbnB1dCB9IGZ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YmxpYyBwbGFjZW1hcmtPcHRpb25zOiBhbnk7XHJcblxyXG4gIGNvbnN0cnVjdG9yKCkge31cclxuXHJcbiAgcHVibGljIG5nT25Jbml0KCk6IHZvaWQge1xyXG4gICAgdGhpcy5fbG9nRXJyb3JzKCk7XHJcbiAgfVxyXG5cclxuICBwcml2YXRlIF9sb2dFcnJvcnMoKTogdm9pZCB7XHJcbiAgICBpZiAoIXRoaXMuZ2VvbWV0cnkubGVuZ3RoKSBjb25zb2xlLmVycm9yKCdQbGFjZW1hcms6IGdlb21ldHJ5IGlzIHJlcXVpcmVkJyk7XHJcbiAgfVxyXG59XHJcbiJdfQ== |
@@ -58,7 +58,7 @@ /** | ||
* @param {?} geometry | ||
* @param {?=} properties | ||
* @param {?=} options | ||
* @param {?} properties | ||
* @param {?} options | ||
* @return {?} | ||
*/ | ||
createPlacemark(geometry, properties = {}, options = {}) { | ||
createPlacemark(geometry, properties, options) { | ||
this._map.geoObjects | ||
@@ -76,2 +76,11 @@ .add(new ymaps.Placemark(geometry, properties, options)); | ||
} | ||
/** | ||
* @param {?} feature | ||
* @param {?} options | ||
* @return {?} | ||
*/ | ||
createGeoObject(feature, options) { | ||
this._map.geoObjects | ||
.add(new ymaps.GeoObject(feature, options)); | ||
} | ||
} | ||
@@ -120,2 +129,2 @@ YandexMapService.decorators = [ | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieWFuZGV4LW1hcC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vYW5ndWxhcjgteWFuZGV4LW1hcHMvIiwic291cmNlcyI6WyJsaWIvc2VydmljZXMveWFuZGV4LW1hcC95YW5kZXgtbWFwLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3JELE9BQU8sRUFBRSxPQU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50LmJvZHkuYXBwZW5kQ2hpbGQodGhpcy5fc2NyaXB0WW1hcHMpO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGNyZWF0ZU1hcChtYXBJZDogc3RyaW5nLCBzdGF0ZTogYW55LCBvcHRpb25zOiBhbnkpOiB2b2lkIHtcclxuICAgIHRoaXMuX21hcCA9IG5ldyB5bWFwcy5NYXAobWFwSWQsIHN0YXRlLCBvcHRpb25zKTtcclxuICB9XHJcblxyXG4gIHB1YmxpYyBjcmVhdGVQbGFjZW1hcmsoZ2VvbWV0cnk6IGFueSwgcHJvcGVydGllczogYW55LCBvcHRpb25zOiBhbnkpOiB2b2lkIHtcclxuICAgIHRoaXMuX21hcC5nZW9PYmplY3RzXHJcbiAgICAgIC5hZGQobmV3IHltYXBzLlBsYWNlbWFyayhnZW9tZXRyeSwgcHJvcGVydGllcywgb3B0aW9ucykpO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGNyZWF0ZU11bHRpcm91dGUobW9kZWw6IGFueSwgb3B0aW9uczogYW55KTogdm9pZCB7XHJcbiAgICB0aGlzLl9tYXAuZ2VvT2JqZWN0c1xyXG4gICAgICAuYWRkKG5ldyB5bWFwcy5tdWx0aVJvdXRlci5NdWx0aVJvdXRlKG1vZGVsLCBvcHRpb25zKSk7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgY3JlYXRlR2VvT2JqZWN0KGZlYXR1cmU6IGFueSwgb3B0aW9uczogYW55KTogdm9pZCB7XHJcbiAgICB0aGlzLl9tYXAuZ2VvT2JqZWN0c1xyXG4gICAgICAuYWRkKG5ldyB5bWFwcy5HZW9PYmplY3QoZmVhdHVyZSwgb3B0aW9ucykpO1xyXG4gIH1cclxufVxyXG4iXX0= |
@@ -9,2 +9,2 @@ /** | ||
export { AngularYandexMapsModule } from './lib/angular-yandex-maps.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL2FuZ3VsYXI4LXlhbmRleC1tYXBzLyIsInNvdXJjZXMiOlsicHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBS0Esd0NBQWMsa0NBQWtDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxyXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgYW5ndWxhcjgteWFuZGV4LW1hcHNcclxuICovXHJcblxyXG5leHBvcnQgeyBZYW5kZXhNYXBNb2R1bGUgfSBmcm9tICcuL2xpYi90eXBlcy95YW5kZXgtbWFwLnR5cGUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9hbmd1bGFyLXlhbmRleC1tYXBzLm1vZHVsZSc7XHJcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL2FuZ3VsYXI4LXlhbmRleC1tYXBzLyIsInNvdXJjZXMiOlsicHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsd0NBQWMsa0NBQWtDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxyXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgYW5ndWxhcjgteWFuZGV4LW1hcHNcclxuICovXHJcblxyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9hbmd1bGFyLXlhbmRleC1tYXBzLm1vZHVsZSc7XHJcbiJdfQ== |
@@ -9,6 +9,7 @@ /** | ||
export { AngularYandexMapsModule } from './public-api'; | ||
export { YandexGeoobjectComponent as ɵd } from './lib/components/yandex-geoobject-component/yandex-geoobject.component'; | ||
export { YandexMapComponent as ɵa } from './lib/components/yandex-map-component/yandex-map.component'; | ||
export { YandexMultirouteComponent as ɵc } from './lib/components/yandex-multiroute-component/yandex-multiroute.component'; | ||
export { YandexPlacemarkComponent as ɵb } from './lib/components/yandex-placemark-component/yandex-placemark.component'; | ||
export { YandexMapService as ɵd } from './lib/services/yandex-map/yandex-map.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ndWxhcjgteWFuZGV4LW1hcHMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9hbmd1bGFyOC15YW5kZXgtbWFwcy8iLCJzb3VyY2VzIjpbImFuZ3VsYXI4LXlhbmRleC1tYXBzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSx3Q0FBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLGtCQUFrQixJQUFJLEVBQUUsRUFBQyxNQUFNLDREQUE0RCxDQUFDO0FBQ3BHLE9BQU8sRUFBQyx5QkFBeUIsSUFBSSxFQUFFLEVBQUMsTUFBTSwwRUFBMEUsQ0FBQztBQUN6SCxPQUFPLEVBQUMsd0JBQXdCLElBQUksRUFBRSxFQUFDLE1BQU0sd0VBQXdFLENBQUM7QUFDdEgsT0FBTyxFQUFDLGdCQUFnQixJQUFJLEVBQUUsRUFBQyxNQUFNLDhDQUE4QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuXG5leHBvcnQge1lhbmRleE1hcENvbXBvbmVudCBhcyDJtWF9IGZyb20gJy4vbGliL2NvbXBvbmVudHMveWFuZGV4LW1hcC1jb21wb25lbnQveWFuZGV4LW1hcC5jb21wb25lbnQnO1xuZXhwb3J0IHtZYW5kZXhNdWx0aXJvdXRlQ29tcG9uZW50IGFzIMm1Y30gZnJvbSAnLi9saWIvY29tcG9uZW50cy95YW5kZXgtbXVsdGlyb3V0ZS1jb21wb25lbnQveWFuZGV4LW11bHRpcm91dGUuY29tcG9uZW50JztcbmV4cG9ydCB7WWFuZGV4UGxhY2VtYXJrQ29tcG9uZW50IGFzIMm1Yn0gZnJvbSAnLi9saWIvY29tcG9uZW50cy95YW5kZXgtcGxhY2VtYXJrLWNvbXBvbmVudC95YW5kZXgtcGxhY2VtYXJrLmNvbXBvbmVudCc7XG5leHBvcnQge1lhbmRleE1hcFNlcnZpY2UgYXMgybVkfSBmcm9tICcuL2xpYi9zZXJ2aWNlcy95YW5kZXgtbWFwL3lhbmRleC1tYXAuc2VydmljZSc7Il19 | ||
export { YandexMapService as ɵe } from './lib/services/yandex-map/yandex-map.service'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ndWxhcjgteWFuZGV4LW1hcHMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9hbmd1bGFyOC15YW5kZXgtbWFwcy8iLCJzb3VyY2VzIjpbImFuZ3VsYXI4LXlhbmRleC1tYXBzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSx3Q0FBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLHdCQUF3QixJQUFJLEVBQUUsRUFBQyxNQUFNLHdFQUF3RSxDQUFDO0FBQ3RILE9BQU8sRUFBQyxrQkFBa0IsSUFBSSxFQUFFLEVBQUMsTUFBTSw0REFBNEQsQ0FBQztBQUNwRyxPQUFPLEVBQUMseUJBQXlCLElBQUksRUFBRSxFQUFDLE1BQU0sMEVBQTBFLENBQUM7QUFDekgsT0FBTyxFQUFDLHdCQUF3QixJQUFJLEVBQUUsRUFBQyxNQUFNLHdFQUF3RSxDQUFDO0FBQ3RILE9BQU8sRUFBQyxnQkFBZ0IsSUFBSSxFQUFFLEVBQUMsTUFBTSw4Q0FBOEMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcblxuZXhwb3J0IHtZYW5kZXhHZW9vYmplY3RDb21wb25lbnQgYXMgybVkfSBmcm9tICcuL2xpYi9jb21wb25lbnRzL3lhbmRleC1nZW9vYmplY3QtY29tcG9uZW50L3lhbmRleC1nZW9vYmplY3QuY29tcG9uZW50JztcbmV4cG9ydCB7WWFuZGV4TWFwQ29tcG9uZW50IGFzIMm1YX0gZnJvbSAnLi9saWIvY29tcG9uZW50cy95YW5kZXgtbWFwLWNvbXBvbmVudC95YW5kZXgtbWFwLmNvbXBvbmVudCc7XG5leHBvcnQge1lhbmRleE11bHRpcm91dGVDb21wb25lbnQgYXMgybVjfSBmcm9tICcuL2xpYi9jb21wb25lbnRzL3lhbmRleC1tdWx0aXJvdXRlLWNvbXBvbmVudC95YW5kZXgtbXVsdGlyb3V0ZS5jb21wb25lbnQnO1xuZXhwb3J0IHtZYW5kZXhQbGFjZW1hcmtDb21wb25lbnQgYXMgybVifSBmcm9tICcuL2xpYi9jb21wb25lbnRzL3lhbmRleC1wbGFjZW1hcmstY29tcG9uZW50L3lhbmRleC1wbGFjZW1hcmsuY29tcG9uZW50JztcbmV4cG9ydCB7WWFuZGV4TWFwU2VydmljZSBhcyDJtWV9IGZyb20gJy4vbGliL3NlcnZpY2VzL3lhbmRleC1tYXAveWFuZGV4LW1hcC5zZXJ2aWNlJzsiXX0= |
@@ -10,2 +10,3 @@ /** | ||
import { YandexMultirouteComponent } from './components/yandex-multiroute-component/yandex-multiroute.component'; | ||
import { YandexGeoobjectComponent } from './components/yandex-geoobject-component/yandex-geoobject.component'; | ||
var AngularYandexMapsModule = /** @class */ (function () { | ||
@@ -35,3 +36,4 @@ function AngularYandexMapsModule() { | ||
YandexPlacemarkComponent, | ||
YandexMultirouteComponent | ||
YandexMultirouteComponent, | ||
YandexGeoobjectComponent | ||
], | ||
@@ -44,3 +46,4 @@ imports: [ | ||
YandexPlacemarkComponent, | ||
YandexMultirouteComponent | ||
YandexMultirouteComponent, | ||
YandexGeoobjectComponent | ||
] | ||
@@ -52,2 +55,2 @@ },] } | ||
export { AngularYandexMapsModule }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ndWxhci15YW5kZXgtbWFwcy5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9hbmd1bGFyOC15YW5kZXgtbWFwcy8iLCJzb3VyY2VzIjpbImxpYi9hbmd1bGFyLXlhbmRleC1tYXBzLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sd0RBQXdELENBQUM7QUFFNUYsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sb0VBQW9FLENBQUM7QUFDOUcsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sc0VBQXNFLENBQUM7QUFFakg7SUFBQTtJQXlCQSxDQUFDOzs7OztJQVJRLCtCQUFPOzs7O0lBQWQsVUFBZSxNQUFjO1FBQzNCLE9BQU87WUFDTCxRQUFRLEVBQUUsdUJBQXVCO1lBQ2pDLFNBQVMsRUFBRTtnQkFDVCxFQUFFLE9BQU8sRUFBRSxTQUFTLEVBQUUsUUFBUSxFQUFFLE1BQU0sRUFBRTthQUN6QztTQUNGLENBQUM7SUFDSixDQUFDOztnQkF4QkYsUUFBUSxTQUFDO29CQUNSLFlBQVksRUFBRTt3QkFDWixrQkFBa0I7d0JBQ2xCLHdCQUF3Qjt3QkFDeEIseUJBQXlCO3FCQUMxQjtvQkFDRCxPQUFPLEVBQUU7d0JBQ1AsWUFBWTtxQkFDYjtvQkFDRCxPQUFPLEVBQUU7d0JBQ1As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BbXHJcbiAgICAgICAgeyBwcm92aWRlOiAnQVBJX0tFWScsIHVzZVZhbHVlOiBhcGlLZXkgfVxyXG4gICAgICBdXHJcbiAgICB9O1xyXG4gIH1cclxufVxyXG4iXX0= |
@@ -10,7 +10,9 @@ /** | ||
import { YandexMultirouteComponent } from '../yandex-multiroute-component/yandex-multiroute.component'; | ||
import { YandexGeoobjectComponent } from '../yandex-geoobject-component/yandex-geoobject.component'; | ||
var YandexMapComponent = /** @class */ (function () { | ||
function YandexMapComponent(_yandexMapService) { | ||
this._yandexMapService = _yandexMapService; | ||
this.center = []; | ||
this.zoom = 10; | ||
this.mapState = {}; | ||
this.mapOptions = {}; | ||
} | ||
@@ -24,2 +26,3 @@ /** | ||
function () { | ||
this._logErrors(); | ||
this._setUniqueMapIdOfMap(); | ||
@@ -32,3 +35,3 @@ this._createMapWithObjects(); | ||
*/ | ||
YandexMapComponent.prototype._combineInputs = /** | ||
YandexMapComponent.prototype._logErrors = /** | ||
* @private | ||
@@ -38,15 +41,4 @@ * @return {?} | ||
function () { | ||
// Map | ||
this.mapState.zoom = this.zoom; | ||
this.mapState.center = this.center; | ||
// Multiroute | ||
this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
function (multiroute) { | ||
if (!multiroute.multirouteModel) | ||
multiroute.multirouteModel = {}; | ||
multiroute.multirouteModel.referencePoints = multiroute.referencePoints; | ||
})); | ||
if (!this.center.length) | ||
console.error('Map: center is required'); | ||
}; | ||
@@ -83,20 +75,71 @@ /** | ||
_this._yandexMapService.createMap(_this._uniqueMapId, _this.mapState, _this.mapOptions); | ||
_this.placemarks.forEach((/** | ||
* @param {?} placemark | ||
* @return {?} | ||
*/ | ||
function (placemark) { | ||
_this._setPlacemarks(placemark); | ||
})); | ||
_this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
function (multiroute) { | ||
_this._createMultiroute(multiroute); | ||
})); | ||
_this._addObjectsOnMap(); | ||
})); | ||
}; | ||
/** | ||
* Combine separated inputs in objects required for API | ||
*/ | ||
/** | ||
* Combine separated inputs in objects required for API | ||
* @private | ||
* @return {?} | ||
*/ | ||
YandexMapComponent.prototype._combineInputs = /** | ||
* Combine separated inputs in objects required for API | ||
* @private | ||
* @return {?} | ||
*/ | ||
function () { | ||
// Map | ||
this.mapState.zoom = this.zoom; | ||
this.mapState.center = this.center; | ||
// Multiroute | ||
this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
function (multiroute) { | ||
if (!multiroute.multirouteModel) | ||
multiroute.multirouteModel = {}; | ||
multiroute.multirouteModel.referencePoints = multiroute.referencePoints; | ||
})); | ||
}; | ||
/** | ||
* @private | ||
* @return {?} | ||
*/ | ||
YandexMapComponent.prototype._addObjectsOnMap = /** | ||
* @private | ||
* @return {?} | ||
*/ | ||
function () { | ||
var _this = this; | ||
this.placemarks.forEach((/** | ||
* @param {?} placemark | ||
* @return {?} | ||
*/ | ||
function (placemark) { | ||
_this._setPlacemarks(placemark); | ||
})); | ||
this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
function (multiroute) { | ||
_this._createMultiroute(multiroute); | ||
})); | ||
this.geoObjects.forEach((/** | ||
* @param {?} geoObject | ||
* @return {?} | ||
*/ | ||
function (geoObject) { | ||
_this._createGeoObject(geoObject); | ||
})); | ||
}; | ||
/** | ||
* Add objects with params in map.geoObjects | ||
*/ | ||
/** | ||
* Add objects with params in map.geoObjects | ||
* @private | ||
* @param {?} placemark | ||
@@ -106,2 +149,3 @@ * @return {?} | ||
YandexMapComponent.prototype._setPlacemarks = /** | ||
* Add objects with params in map.geoObjects | ||
* @private | ||
@@ -127,2 +171,15 @@ * @param {?} placemark | ||
}; | ||
/** | ||
* @private | ||
* @param {?} geoObject | ||
* @return {?} | ||
*/ | ||
YandexMapComponent.prototype._createGeoObject = /** | ||
* @private | ||
* @param {?} geoObject | ||
* @return {?} | ||
*/ | ||
function (geoObject) { | ||
this._yandexMapService.createGeoObject(geoObject.feature, geoObject.options); | ||
}; | ||
YandexMapComponent.decorators = [ | ||
@@ -143,2 +200,3 @@ { type: Component, args: [{ | ||
multiroutes: [{ type: ContentChildren, args: [YandexMultirouteComponent,] }], | ||
geoObjects: [{ type: ContentChildren, args: [YandexGeoobjectComponent,] }], | ||
center: [{ type: Input }], | ||
@@ -160,2 +218,4 @@ zoom: [{ type: Input }], | ||
/** @type {?} */ | ||
YandexMapComponent.prototype.geoObjects; | ||
/** @type {?} */ | ||
YandexMapComponent.prototype.center; | ||
@@ -179,2 +239,2 @@ /** @type {?} */ | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieWFuZGV4LW1hcC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9hbmd1bGFyOC15YW5kZXgtbWFwcy8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL3lhbmRleC1tYXAtY29tcG9uZW50L3lhbmRleC1tYXAuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLGVBQWUsRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDNUcsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sOENBQThDLENBQUM7QUFDaEYsT0FBTyxFQUFFLElBQUksRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRXRDLE9BQU8sRUFBRSx3QkFBd0IsRUFBRSxNQUFNLDBEQUEwRCxDQUFDO0FBQ3BHLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLDREQUE0RCxDQUFDO0FBRXZHO0lBaUJFLDRCQUFvQixpQkFBbUM7UUFBbkMsc0JBQWlCLEdBQWpCLGlCQUFpQixDQUFrQjtRQUx2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C8qKlxyXG4gICAqIEFkZCBvYmplY3RzIHdpdGggcGFyYW1zIGluIG1hcC5nZW9PYmplY3RzXHJcbiAgICovXHJcbiAgcHJpdmF0ZSBfc2V0UGxhY2VtYXJrcyhwbGFjZW1hcms6IFlhbmRleFBsYWNlbWFya0NvbXBvbmVudCk6IHZvaWQge1xyXG4gICAgdGhpcy5feWFuZGV4TWFwU2VydmljZS5jcmVhdGVQbGFjZW1hcmsocGxhY2VtYXJrLmdlb21ldHJ5LCBwbGFjZW1hcmsucGxhY2VtYXJrUHJvcGVydGllcywgcGxhY2VtYXJrLnBsYWNlbWFya09wdGlvbnMpO1xyXG4gIH1cclxuXHJcbiAgcHJpdmF0ZSBfY3JlYXRlTXVsdGlyb3V0ZShtdWx0aXJvdXRlOiBZYW5kZXhNdWx0aXJvdXRlQ29tcG9uZW50KTogdm9pZCB7XHJcbiAgICB0aGlzLl95YW5kZXhNYXBTZXJ2aWNlLmNyZWF0ZU11bHRpcm91dGUobXVsdGlyb3V0ZS5tdWx0aXJvdXRlTW9kZWwsIG11bHRpcm91dGUubXVsdGlyb3V0ZU9wdGlvbnMpO1xyXG4gIH1cclxuXHJcbiAgcHJpdmF0ZSBfY3JlYXRlR2VvT2JqZWN0KGdlb09iamVjdDogWWFuZGV4R2Vvb2JqZWN0Q29tcG9uZW50KTogdm9pZCB7XHJcbiAgICB0aGlzLl95YW5kZXhNYXBTZXJ2aWNlLmNyZWF0ZUdlb09iamVjdChnZW9PYmplY3QuZmVhdHVyZSwgZ2VvT2JqZWN0Lm9wdGlvbnMpO1xyXG4gIH1cclxufVxyXG4iXX0= |
@@ -8,2 +8,3 @@ /** | ||
function YandexMultirouteComponent() { | ||
this.referencePoints = []; | ||
} | ||
@@ -16,3 +17,17 @@ /** | ||
*/ | ||
function () { }; | ||
function () { | ||
this._logErrors(); | ||
}; | ||
/** | ||
* @private | ||
* @return {?} | ||
*/ | ||
YandexMultirouteComponent.prototype._logErrors = /** | ||
* @private | ||
* @return {?} | ||
*/ | ||
function () { | ||
if (!this.referencePoints.length) | ||
console.error('Multiroute: referencePoints is required'); | ||
}; | ||
YandexMultirouteComponent.decorators = [ | ||
@@ -43,2 +58,2 @@ { type: Component, args: [{ | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieWFuZGV4LW11bHRpcm91dGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vYW5ndWxhcjgteWFuZGV4LW1hcHMvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy95YW5kZXgtbXVsdGlyb3V0ZS1jb21wb25lbnQveWFuZGV4LW11bHRpcm91dGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6RDtJQVVFO0lBQWUsQ0FBQzs7OztJQUNULDRDQUFROzs7SUFBZixjQUF5QixDQUFDOztnQkFYM0IsU0FBUyxTQUFDO29CQUNULFFBQVEsRUFBRSwyQkFBMkI7b0JBQ3JDLFlBQWlEOztpQkFFbEQ7Ozs7O2tDQUVFLEtBQUs7a0NBQ0wsS0FBSztvQ0FDTCxLQUFLOztJQUlSLGdDQUFDO0NBQUEsQUFaRCxJQVlDO1NBUFkseUJBQXlCOzs7SUFDcEMsb0RBQTRDOztJQUM1QyxvREFBcUM7O0lBQ3JDLHNEQUF1QyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgT25Jbml0LCBJbnB1dCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdhbmd1bGFyLXlhbmRleC1tdWx0aXJvdXRlJyxcclxuICB0ZW1wbGF0ZVVybDogJy4veWFuZGV4LW11bHRpcm91dGUuY29tcG9uZW50Lmh0bWwnLFxyXG4gIH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LnJlZmVyZW5jZVBvaW50cy5sZW5ndGgpIGNvbnNvbGUuZXJyb3IoJ011bHRpcm91dGU6IHJlZmVyZW5jZVBvaW50cyBpcyByZXF1aXJlZCcpO1xyXG4gIH1cclxufVxyXG4iXX0= |
@@ -8,2 +8,3 @@ /** | ||
function YandexPlacemarkComponent() { | ||
this.geometry = []; | ||
} | ||
@@ -16,3 +17,17 @@ /** | ||
*/ | ||
function () { }; | ||
function () { | ||
this._logErrors(); | ||
}; | ||
/** | ||
* @private | ||
* @return {?} | ||
*/ | ||
YandexPlacemarkComponent.prototype._logErrors = /** | ||
* @private | ||
* @return {?} | ||
*/ | ||
function () { | ||
if (!this.geometry.length) | ||
console.error('Placemark: geometry is required'); | ||
}; | ||
YandexPlacemarkComponent.decorators = [ | ||
@@ -43,2 +58,2 @@ { type: Component, args: [{ | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieWFuZGV4LXBsYWNlbWFyay5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9hbmd1bGFyOC15YW5kZXgtbWFwcy8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL3lhbmRleC1wbGFjZW1hcmstY29tcG9uZW50L3lhbmRleC1wbGFjZW1hcmsuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUd6RDtJQVVFO0lBQWUsQ0FBQzs7OztJQUNULDJDQUFROzs7SUFBZixjQUF5QixDQUFDOztnQkFYM0IsU0FBUyxTQUFDO29CQUNULFFBQVEsRUFBRSwwQkFBMEI7b0JBQ3BDLFlBQWdEOztpQkFFakQ7Ozs7OzJCQUVFLEtBQUs7c0NBQ0wsS0FBSzttQ0FDTCxLQUFLOztJQUlSLCtCQUFDO0NBQUEsQUFaRCxJQVlDO1NBUF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3MgWWFuZGV4UGxhY2VtYXJrQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcclxuICBASW5wdXQoKSBwdWJsaWMgZ2VvbWV0cnk6IGFueSA9IFtdO1xyXG4gIEBJbnB1dCgpIHB1YmxpYyBwbGFjZW1hcmtQcm9wZXJ0aWVzOiBhbnk7XHJcbiAgQElucHV0KCkgcHVibGljIHBsYWNlbWFya09wdGlvbnM6IGFueTtcclxuXHJcbiAgY29uc3RydWN0b3IoKSB7fVxyXG5cclxuICBwdWJsaWMgbmdPbkluaXQoKTogdm9pZCB7XHJcbiAgICB0aGlzLl9sb2dFcnJvcnMoKTtcclxuICB9XHJcblxyXG4gIHByaXZhdGUgX2xvZ0Vycm9ycygpOiB2b2lkIHtcclxuICAgIGlmICghdGhpcy5nZW9tZXRyeS5sZW5ndGgpIGNvbnNvbGUuZXJyb3IoJ1BsYWNlbWFyazogZ2VvbWV0cnkgaXMgcmVxdWlyZWQnKTtcclxuICB9XHJcbn1cclxuIl19 |
@@ -69,4 +69,4 @@ /** | ||
* @param {?} geometry | ||
* @param {?=} properties | ||
* @param {?=} options | ||
* @param {?} properties | ||
* @param {?} options | ||
* @return {?} | ||
@@ -76,9 +76,7 @@ */ | ||
* @param {?} geometry | ||
* @param {?=} properties | ||
* @param {?=} options | ||
* @param {?} properties | ||
* @param {?} options | ||
* @return {?} | ||
*/ | ||
function (geometry, properties, options) { | ||
if (properties === void 0) { properties = {}; } | ||
if (options === void 0) { options = {}; } | ||
this._map.geoObjects | ||
@@ -101,2 +99,16 @@ .add(new ymaps.Placemark(geometry, properties, options)); | ||
}; | ||
/** | ||
* @param {?} feature | ||
* @param {?} options | ||
* @return {?} | ||
*/ | ||
YandexMapService.prototype.createGeoObject = /** | ||
* @param {?} feature | ||
* @param {?} options | ||
* @return {?} | ||
*/ | ||
function (feature, options) { | ||
this._map.geoObjects | ||
.add(new ymaps.GeoObject(feature, options)); | ||
}; | ||
YandexMapService.decorators = [ | ||
@@ -147,2 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3B0aW9ucykpO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGNyZWF0ZU11bHRpcm91dGUobW9kZWw6IGFueSwgb3B0aW9uczogYW55KTogdm9pZCB7XHJcbiAgICB0aGlzLl9tYXAuZ2VvT2JqZWN0c1xyXG4gICAgICAuYWRkKG5ldyB5bWFwcy5tdWx0aVJvdXRlci5NdWx0aVJvdXRlKG1vZGVsLCBvcHRpb25zKSk7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgY3JlYXRlR2VvT2JqZWN0KGZlYXR1cmU6IGFueSwgb3B0aW9uczogYW55KTogdm9pZCB7XHJcbiAgICB0aGlzLl9tYXAuZ2VvT2JqZWN0c1xyXG4gICAgICAuYWRkKG5ldyB5bWFwcy5HZW9PYmplY3QoZmVhdHVyZSwgb3B0aW9ucykpO1xyXG4gIH1cclxufVxyXG4iXX0= |
@@ -9,2 +9,2 @@ /** | ||
export { AngularYandexMapsModule } from './lib/angular-yandex-maps.module'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL2FuZ3VsYXI4LXlhbmRleC1tYXBzLyIsInNvdXJjZXMiOlsicHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBS0Esd0NBQWMsa0NBQWtDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxyXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgYW5ndWxhcjgteWFuZGV4LW1hcHNcclxuICovXHJcblxyXG5leHBvcnQgeyBZYW5kZXhNYXBNb2R1bGUgfSBmcm9tICcuL2xpYi90eXBlcy95YW5kZXgtbWFwLnR5cGUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9hbmd1bGFyLXlhbmRleC1tYXBzLm1vZHVsZSc7XHJcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL2FuZ3VsYXI4LXlhbmRleC1tYXBzLyIsInNvdXJjZXMiOlsicHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsd0NBQWMsa0NBQWtDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxyXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2YgYW5ndWxhcjgteWFuZGV4LW1hcHNcclxuICovXHJcblxyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9hbmd1bGFyLXlhbmRleC1tYXBzLm1vZHVsZSc7XHJcbiJdfQ== |
@@ -60,7 +60,7 @@ import { Injectable, Injector, ɵɵdefineInjectable, ɵɵinject, INJECTOR, Component, Input, ViewChild, ContentChildren, NgModule } from '@angular/core'; | ||
* @param {?} geometry | ||
* @param {?=} properties | ||
* @param {?=} options | ||
* @param {?} properties | ||
* @param {?} options | ||
* @return {?} | ||
*/ | ||
createPlacemark(geometry, properties = {}, options = {}) { | ||
createPlacemark(geometry, properties, options) { | ||
this._map.geoObjects | ||
@@ -78,2 +78,11 @@ .add(new ymaps.Placemark(geometry, properties, options)); | ||
} | ||
/** | ||
* @param {?} feature | ||
* @param {?} options | ||
* @return {?} | ||
*/ | ||
createGeoObject(feature, options) { | ||
this._map.geoObjects | ||
.add(new ymaps.GeoObject(feature, options)); | ||
} | ||
} | ||
@@ -96,7 +105,19 @@ YandexMapService.decorators = [ | ||
class YandexPlacemarkComponent { | ||
constructor() { } | ||
constructor() { | ||
this.geometry = []; | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
ngOnInit() { } | ||
ngOnInit() { | ||
this._logErrors(); | ||
} | ||
/** | ||
* @private | ||
* @return {?} | ||
*/ | ||
_logErrors() { | ||
if (!this.geometry.length) | ||
console.error('Placemark: geometry is required'); | ||
} | ||
} | ||
@@ -123,7 +144,19 @@ YandexPlacemarkComponent.decorators = [ | ||
class YandexMultirouteComponent { | ||
constructor() { } | ||
constructor() { | ||
this.referencePoints = []; | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
ngOnInit() { } | ||
ngOnInit() { | ||
this._logErrors(); | ||
} | ||
/** | ||
* @private | ||
* @return {?} | ||
*/ | ||
_logErrors() { | ||
if (!this.referencePoints.length) | ||
console.error('Multiroute: referencePoints is required'); | ||
} | ||
} | ||
@@ -149,2 +182,27 @@ YandexMultirouteComponent.decorators = [ | ||
*/ | ||
class YandexGeoobjectComponent { | ||
constructor() { } | ||
/** | ||
* @return {?} | ||
*/ | ||
ngOnInit() { } | ||
} | ||
YandexGeoobjectComponent.decorators = [ | ||
{ type: Component, args: [{ | ||
selector: 'angular-yandex-geoobject', | ||
template: "", | ||
styles: [""] | ||
}] } | ||
]; | ||
/** @nocollapse */ | ||
YandexGeoobjectComponent.ctorParameters = () => []; | ||
YandexGeoobjectComponent.propDecorators = { | ||
feature: [{ type: Input }], | ||
options: [{ type: Input }] | ||
}; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
class YandexMapComponent { | ||
@@ -156,4 +214,5 @@ /** | ||
this._yandexMapService = _yandexMapService; | ||
this.center = []; | ||
this.zoom = 10; | ||
this.mapState = {}; | ||
this.mapOptions = {}; | ||
} | ||
@@ -164,2 +223,3 @@ /** | ||
ngOnInit() { | ||
this._logErrors(); | ||
this._setUniqueMapIdOfMap(); | ||
@@ -172,16 +232,5 @@ this._createMapWithObjects(); | ||
*/ | ||
_combineInputs() { | ||
// Map | ||
this.mapState.zoom = this.zoom; | ||
this.mapState.center = this.center; | ||
// Multiroute | ||
this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
(multiroute) => { | ||
if (!multiroute.multirouteModel) | ||
multiroute.multirouteModel = {}; | ||
multiroute.multirouteModel.referencePoints = multiroute.referencePoints; | ||
})); | ||
_logErrors() { | ||
if (!this.center.length) | ||
console.error('Map: center is required'); | ||
} | ||
@@ -209,20 +258,55 @@ /** | ||
this._yandexMapService.createMap(this._uniqueMapId, this.mapState, this.mapOptions); | ||
this.placemarks.forEach((/** | ||
* @param {?} placemark | ||
* @return {?} | ||
*/ | ||
(placemark) => { | ||
this._setPlacemarks(placemark); | ||
})); | ||
this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
(multiroute) => { | ||
this._createMultiroute(multiroute); | ||
})); | ||
this._addObjectsOnMap(); | ||
})); | ||
} | ||
/** | ||
* Combine separated inputs in objects required for API | ||
* @private | ||
* @return {?} | ||
*/ | ||
_combineInputs() { | ||
// Map | ||
this.mapState.zoom = this.zoom; | ||
this.mapState.center = this.center; | ||
// Multiroute | ||
this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
(multiroute) => { | ||
if (!multiroute.multirouteModel) | ||
multiroute.multirouteModel = {}; | ||
multiroute.multirouteModel.referencePoints = multiroute.referencePoints; | ||
})); | ||
} | ||
/** | ||
* @private | ||
* @return {?} | ||
*/ | ||
_addObjectsOnMap() { | ||
this.placemarks.forEach((/** | ||
* @param {?} placemark | ||
* @return {?} | ||
*/ | ||
(placemark) => { | ||
this._setPlacemarks(placemark); | ||
})); | ||
this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
(multiroute) => { | ||
this._createMultiroute(multiroute); | ||
})); | ||
this.geoObjects.forEach((/** | ||
* @param {?} geoObject | ||
* @return {?} | ||
*/ | ||
(geoObject) => { | ||
this._createGeoObject(geoObject); | ||
})); | ||
} | ||
/** | ||
* Add objects with params in map.geoObjects | ||
* @private | ||
* @param {?} placemark | ||
@@ -242,2 +326,10 @@ * @return {?} | ||
} | ||
/** | ||
* @private | ||
* @param {?} geoObject | ||
* @return {?} | ||
*/ | ||
_createGeoObject(geoObject) { | ||
this._yandexMapService.createGeoObject(geoObject.feature, geoObject.options); | ||
} | ||
} | ||
@@ -259,2 +351,3 @@ YandexMapComponent.decorators = [ | ||
multiroutes: [{ type: ContentChildren, args: [YandexMultirouteComponent,] }], | ||
geoObjects: [{ type: ContentChildren, args: [YandexGeoobjectComponent,] }], | ||
center: [{ type: Input }], | ||
@@ -289,3 +382,4 @@ zoom: [{ type: Input }], | ||
YandexPlacemarkComponent, | ||
YandexMultirouteComponent | ||
YandexMultirouteComponent, | ||
YandexGeoobjectComponent | ||
], | ||
@@ -298,3 +392,4 @@ imports: [ | ||
YandexPlacemarkComponent, | ||
YandexMultirouteComponent | ||
YandexMultirouteComponent, | ||
YandexGeoobjectComponent | ||
] | ||
@@ -304,3 +399,3 @@ },] } | ||
export { AngularYandexMapsModule, YandexMapComponent as ɵa, YandexPlacemarkComponent as ɵb, YandexMultirouteComponent as ɵc, YandexMapService as ɵd }; | ||
export { AngularYandexMapsModule, YandexMapComponent as ɵa, YandexPlacemarkComponent as ɵb, YandexMultirouteComponent as ɵc, YandexGeoobjectComponent as ɵd, YandexMapService as ɵe }; | ||
//# sourceMappingURL=angular8-yandex-maps.js.map |
@@ -71,4 +71,4 @@ import { Injectable, Injector, ɵɵdefineInjectable, ɵɵinject, INJECTOR, Component, Input, ViewChild, ContentChildren, NgModule } from '@angular/core'; | ||
* @param {?} geometry | ||
* @param {?=} properties | ||
* @param {?=} options | ||
* @param {?} properties | ||
* @param {?} options | ||
* @return {?} | ||
@@ -78,9 +78,7 @@ */ | ||
* @param {?} geometry | ||
* @param {?=} properties | ||
* @param {?=} options | ||
* @param {?} properties | ||
* @param {?} options | ||
* @return {?} | ||
*/ | ||
function (geometry, properties, options) { | ||
if (properties === void 0) { properties = {}; } | ||
if (options === void 0) { options = {}; } | ||
this._map.geoObjects | ||
@@ -103,2 +101,16 @@ .add(new ymaps.Placemark(geometry, properties, options)); | ||
}; | ||
/** | ||
* @param {?} feature | ||
* @param {?} options | ||
* @return {?} | ||
*/ | ||
YandexMapService.prototype.createGeoObject = /** | ||
* @param {?} feature | ||
* @param {?} options | ||
* @return {?} | ||
*/ | ||
function (feature, options) { | ||
this._map.geoObjects | ||
.add(new ymaps.GeoObject(feature, options)); | ||
}; | ||
YandexMapService.decorators = [ | ||
@@ -123,2 +135,3 @@ { type: Injectable, args: [{ | ||
function YandexPlacemarkComponent() { | ||
this.geometry = []; | ||
} | ||
@@ -131,3 +144,17 @@ /** | ||
*/ | ||
function () { }; | ||
function () { | ||
this._logErrors(); | ||
}; | ||
/** | ||
* @private | ||
* @return {?} | ||
*/ | ||
YandexPlacemarkComponent.prototype._logErrors = /** | ||
* @private | ||
* @return {?} | ||
*/ | ||
function () { | ||
if (!this.geometry.length) | ||
console.error('Placemark: geometry is required'); | ||
}; | ||
YandexPlacemarkComponent.decorators = [ | ||
@@ -156,2 +183,3 @@ { type: Component, args: [{ | ||
function YandexMultirouteComponent() { | ||
this.referencePoints = []; | ||
} | ||
@@ -164,3 +192,17 @@ /** | ||
*/ | ||
function () { }; | ||
function () { | ||
this._logErrors(); | ||
}; | ||
/** | ||
* @private | ||
* @return {?} | ||
*/ | ||
YandexMultirouteComponent.prototype._logErrors = /** | ||
* @private | ||
* @return {?} | ||
*/ | ||
function () { | ||
if (!this.referencePoints.length) | ||
console.error('Multiroute: referencePoints is required'); | ||
}; | ||
YandexMultirouteComponent.decorators = [ | ||
@@ -187,7 +229,38 @@ { type: Component, args: [{ | ||
*/ | ||
var YandexGeoobjectComponent = /** @class */ (function () { | ||
function YandexGeoobjectComponent() { | ||
} | ||
/** | ||
* @return {?} | ||
*/ | ||
YandexGeoobjectComponent.prototype.ngOnInit = /** | ||
* @return {?} | ||
*/ | ||
function () { }; | ||
YandexGeoobjectComponent.decorators = [ | ||
{ type: Component, args: [{ | ||
selector: 'angular-yandex-geoobject', | ||
template: "", | ||
styles: [""] | ||
}] } | ||
]; | ||
/** @nocollapse */ | ||
YandexGeoobjectComponent.ctorParameters = function () { return []; }; | ||
YandexGeoobjectComponent.propDecorators = { | ||
feature: [{ type: Input }], | ||
options: [{ type: Input }] | ||
}; | ||
return YandexGeoobjectComponent; | ||
}()); | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc | ||
*/ | ||
var YandexMapComponent = /** @class */ (function () { | ||
function YandexMapComponent(_yandexMapService) { | ||
this._yandexMapService = _yandexMapService; | ||
this.center = []; | ||
this.zoom = 10; | ||
this.mapState = {}; | ||
this.mapOptions = {}; | ||
} | ||
@@ -201,2 +274,3 @@ /** | ||
function () { | ||
this._logErrors(); | ||
this._setUniqueMapIdOfMap(); | ||
@@ -209,3 +283,3 @@ this._createMapWithObjects(); | ||
*/ | ||
YandexMapComponent.prototype._combineInputs = /** | ||
YandexMapComponent.prototype._logErrors = /** | ||
* @private | ||
@@ -215,15 +289,4 @@ * @return {?} | ||
function () { | ||
// Map | ||
this.mapState.zoom = this.zoom; | ||
this.mapState.center = this.center; | ||
// Multiroute | ||
this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
function (multiroute) { | ||
if (!multiroute.multirouteModel) | ||
multiroute.multirouteModel = {}; | ||
multiroute.multirouteModel.referencePoints = multiroute.referencePoints; | ||
})); | ||
if (!this.center.length) | ||
console.error('Map: center is required'); | ||
}; | ||
@@ -260,20 +323,71 @@ /** | ||
_this._yandexMapService.createMap(_this._uniqueMapId, _this.mapState, _this.mapOptions); | ||
_this.placemarks.forEach((/** | ||
* @param {?} placemark | ||
* @return {?} | ||
*/ | ||
function (placemark) { | ||
_this._setPlacemarks(placemark); | ||
})); | ||
_this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
function (multiroute) { | ||
_this._createMultiroute(multiroute); | ||
})); | ||
_this._addObjectsOnMap(); | ||
})); | ||
}; | ||
/** | ||
* Combine separated inputs in objects required for API | ||
*/ | ||
/** | ||
* Combine separated inputs in objects required for API | ||
* @private | ||
* @return {?} | ||
*/ | ||
YandexMapComponent.prototype._combineInputs = /** | ||
* Combine separated inputs in objects required for API | ||
* @private | ||
* @return {?} | ||
*/ | ||
function () { | ||
// Map | ||
this.mapState.zoom = this.zoom; | ||
this.mapState.center = this.center; | ||
// Multiroute | ||
this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
function (multiroute) { | ||
if (!multiroute.multirouteModel) | ||
multiroute.multirouteModel = {}; | ||
multiroute.multirouteModel.referencePoints = multiroute.referencePoints; | ||
})); | ||
}; | ||
/** | ||
* @private | ||
* @return {?} | ||
*/ | ||
YandexMapComponent.prototype._addObjectsOnMap = /** | ||
* @private | ||
* @return {?} | ||
*/ | ||
function () { | ||
var _this = this; | ||
this.placemarks.forEach((/** | ||
* @param {?} placemark | ||
* @return {?} | ||
*/ | ||
function (placemark) { | ||
_this._setPlacemarks(placemark); | ||
})); | ||
this.multiroutes.forEach((/** | ||
* @param {?} multiroute | ||
* @return {?} | ||
*/ | ||
function (multiroute) { | ||
_this._createMultiroute(multiroute); | ||
})); | ||
this.geoObjects.forEach((/** | ||
* @param {?} geoObject | ||
* @return {?} | ||
*/ | ||
function (geoObject) { | ||
_this._createGeoObject(geoObject); | ||
})); | ||
}; | ||
/** | ||
* Add objects with params in map.geoObjects | ||
*/ | ||
/** | ||
* Add objects with params in map.geoObjects | ||
* @private | ||
* @param {?} placemark | ||
@@ -283,2 +397,3 @@ * @return {?} | ||
YandexMapComponent.prototype._setPlacemarks = /** | ||
* Add objects with params in map.geoObjects | ||
* @private | ||
@@ -304,2 +419,15 @@ * @param {?} placemark | ||
}; | ||
/** | ||
* @private | ||
* @param {?} geoObject | ||
* @return {?} | ||
*/ | ||
YandexMapComponent.prototype._createGeoObject = /** | ||
* @private | ||
* @param {?} geoObject | ||
* @return {?} | ||
*/ | ||
function (geoObject) { | ||
this._yandexMapService.createGeoObject(geoObject.feature, geoObject.options); | ||
}; | ||
YandexMapComponent.decorators = [ | ||
@@ -320,2 +448,3 @@ { type: Component, args: [{ | ||
multiroutes: [{ type: ContentChildren, args: [YandexMultirouteComponent,] }], | ||
geoObjects: [{ type: ContentChildren, args: [YandexGeoobjectComponent,] }], | ||
center: [{ type: Input }], | ||
@@ -357,3 +486,4 @@ zoom: [{ type: Input }], | ||
YandexPlacemarkComponent, | ||
YandexMultirouteComponent | ||
YandexMultirouteComponent, | ||
YandexGeoobjectComponent | ||
], | ||
@@ -366,3 +496,4 @@ imports: [ | ||
YandexPlacemarkComponent, | ||
YandexMultirouteComponent | ||
YandexMultirouteComponent, | ||
YandexGeoobjectComponent | ||
] | ||
@@ -374,3 +505,3 @@ },] } | ||
export { AngularYandexMapsModule, YandexMapComponent as ɵa, YandexPlacemarkComponent as ɵb, YandexMultirouteComponent as ɵc, YandexMapService as ɵd }; | ||
export { AngularYandexMapsModule, YandexMapComponent as ɵa, YandexPlacemarkComponent as ɵb, YandexMultirouteComponent as ɵc, YandexGeoobjectComponent as ɵd, YandexMapService as ɵe }; | ||
//# sourceMappingURL=angular8-yandex-maps.js.map |
import { OnInit, ElementRef, QueryList } from '@angular/core'; | ||
import { YandexMapService } from '../../services/yandex-map/yandex-map.service'; | ||
import { YandexMapModule } from '../../types/yandex-map.type'; | ||
import { YandexPlacemarkComponent } from '../yandex-placemark-component/yandex-placemark.component'; | ||
import { YandexMultirouteComponent } from '../yandex-multiroute-component/yandex-multiroute.component'; | ||
import { YandexGeoobjectComponent } from '../yandex-geoobject-component/yandex-geoobject.component'; | ||
export declare class YandexMapComponent implements OnInit { | ||
@@ -11,14 +11,24 @@ private _yandexMapService; | ||
multiroutes: QueryList<YandexMultirouteComponent>; | ||
geoObjects: QueryList<YandexGeoobjectComponent>; | ||
center: Array<number>; | ||
zoom: number; | ||
mapState: YandexMapModule.IYandexMapState; | ||
mapOptions: YandexMapModule.IYandexMapOptions; | ||
mapState: any; | ||
mapOptions: any; | ||
private _uniqueMapId; | ||
constructor(_yandexMapService: YandexMapService); | ||
ngOnInit(): void; | ||
private _combineInputs; | ||
private _logErrors; | ||
private _setUniqueMapIdOfMap; | ||
private _createMapWithObjects; | ||
/** | ||
* Combine separated inputs in objects required for API | ||
*/ | ||
private _combineInputs; | ||
private _addObjectsOnMap; | ||
/** | ||
* Add objects with params in map.geoObjects | ||
*/ | ||
private _setPlacemarks; | ||
private _createMultiroute; | ||
private _createGeoObject; | ||
} |
@@ -8,2 +8,3 @@ import { OnInit } from '@angular/core'; | ||
ngOnInit(): void; | ||
private _logErrors; | ||
} |
import { OnInit } from '@angular/core'; | ||
import { YandexMapModule } from '../../types/yandex-map.type'; | ||
export declare class YandexPlacemarkComponent implements OnInit { | ||
geometry: any; | ||
placemarkProperties: any; | ||
placemarkOptions: YandexMapModule.IPlacemarkOptions; | ||
placemarkOptions: any; | ||
constructor(); | ||
ngOnInit(): void; | ||
private _logErrors; | ||
} |
import { Injector } from '@angular/core'; | ||
import { Subject } from 'rxjs'; | ||
import { YandexMapModule } from '../../types/yandex-map.type'; | ||
import { IYandexMapService } from '../../types/yandex-service.type'; | ||
import { IYandexMapService } from './yandex-service.type'; | ||
export declare class YandexMapService implements IYandexMapService { | ||
@@ -15,5 +14,6 @@ private _injector; | ||
private _loadScript; | ||
createMap(mapId: string, state: YandexMapModule.IYandexMapState, options: YandexMapModule.IYandexMapOptions): void; | ||
createPlacemark(geometry: any, properties?: any, options?: YandexMapModule.IPlacemarkOptions): void; | ||
createMap(mapId: string, state: any, options: any): void; | ||
createPlacemark(geometry: any, properties: any, options: any): void; | ||
createMultiroute(model: any, options: any): void; | ||
createGeoObject(feature: any, options: any): void; | ||
} |
{ | ||
"name": "angular8-yandex-maps", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "Angular module for Yandex Maps", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -1,2 +0,1 @@ | ||
export { YandexMapModule } from './lib/types/yandex-map.type'; | ||
export * from './lib/angular-yandex-maps.module'; |
# Angular8-yandex-maps | ||
- [Map with custom placemark](https://stackblitz.com/edit/custom-placemark "Custom placemark") | ||
- [Custom multiroute (need API key)](https://stackblitz.com/edit/multiroute "Custom multiroute") | ||
Angular 2+ module for Yandex.Maps | ||
## Examples | ||
- [Map with custom placemark](https://stackblitz.com/edit/custom-placemark) | ||
- [Custom multiroute (need API key)](https://stackblitz.com/edit/multiroute) | ||
- [Rectangle](https://stackblitz.com/edit/rectangle) | ||
- [Polygon](https://stackblitz.com/edit/geoobject-polygon) | ||
## Installation | ||
@@ -48,5 +54,5 @@ | ||
- center: Number[] | ||
- zoom: Number | ||
Optional: | ||
- zoom: Number; default = 10 | ||
- mapState: [Interface](https://tech.yandex.ru/maps/jsapi/doc/2.1/ref/reference/Map-docpage/#Map__param-state) | ||
@@ -82,22 +88,23 @@ - mapOptions: [Interface](https://tech.yandex.ru/maps/jsapi/doc/2.1/ref/reference/Map-docpage/#Map__param-options) | ||
``` | ||
<angular-yandex-multiroute [referencePoints]="[[60.181711, 24.927661], 'helsinki']" [multirouteOptions]="{routeActiveStrokeColor: 'ff0000'}"></angular-yandex-multiroute> | ||
<angular-yandex-multiroute [referencePoints]="[[60.181711, 24.927661], 'helsinki']" [multirouteOptions]="{routeActiveStrokeColor: 'ff0000'}"></angular-yandex-multiroute> | ||
``` | ||
## Types | ||
You can import YandexMapModule types and use interfaces for Map & Placemark. | ||
They are not full and may contain errors, report about them to issues, please. | ||
``` | ||
import { YandexMapModule } from 'angular8-yandex-maps/public-api'; | ||
## GeoObject | ||
Available inputs: | ||
public options: YandexMapModule.IYandexMapOptions; | ||
public options: YandexMapModule.IPlacemarkOptions; | ||
Required: | ||
- feature: [Interface](https://tech.yandex.ru/maps/jsapi/doc/2.1/ref/reference/GeoObject-docpage/#GeoObject__param-feature) | ||
Optional: | ||
- options: [Interface](https://tech.yandex.ru/maps/jsapi/doc/2.1/ref/reference/GeoObject-docpage/#GeoObject__param-options) | ||
``` | ||
<angular-yandex-geoobject [feature]="{ geometry: { type: 'Rectangle', coordinates: [[60.183155, 24.911892], [60.156454, 24.962433]] } }"></angular-yandex-geoobject> | ||
``` | ||
## Version 1.0.0 | ||
## Changelog | ||
- Multiroute | ||
- New examples in README | ||
[CHANGELOG](https://github.com/ddubrava/angular-yandex-maps/blob/develop/CHANGELOG.md) | ||
## License | ||
[MIT](https://github.com/ddubrava/angular-yandex-maps/blob/develop/LICENSE.md) |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
207642
2649
108