diff --git a/src/services/MapService.ts b/src/services/MapService.ts index dd96f6d..4de6e73 100644 --- a/src/services/MapService.ts +++ b/src/services/MapService.ts @@ -5,17 +5,8 @@ import {Map} from 'mapbox-gl'; @Injectable() export class MapService { map: Map; - baseMaps: any; constructor() { (mapboxgl as any).accessToken = 'pk.eyJ1IjoiY2F5ZXRhbm9idiIsImEiOiJEMWUzLVpRIn0.PD0U3GevSGwVUPrRCT360Q' - - this.baseMaps = [ - { name: 'Street', id: 'street' }, - { name: 'Bright', id: 'bright' }, - { name: 'Light', id: 'light' }, - { name: 'Satellite', id: 'satellite' } - ]; - } } diff --git a/src/shared/steps/map/MapStep.js b/src/shared/steps/map/MapStep.js index 45b523c..1e04ba6 100644 --- a/src/shared/steps/map/MapStep.js +++ b/src/shared/steps/map/MapStep.js @@ -163,26 +163,6 @@ var MapStepComponent = (function (_super) { anchor.download = info.shp; anchor.click(); }; - __decorate([ - core_1.Input(), - __metadata('design:type', Object) - ], MapStepComponent.prototype, "activeLayer", void 0); - __decorate([ - core_1.Input(), - __metadata('design:type', Object) - ], MapStepComponent.prototype, "zoom", void 0); - __decorate([ - core_1.Input(), - __metadata('design:type', Object) - ], MapStepComponent.prototype, "center", void 0); - __decorate([ - core_1.Input(), - __metadata('design:type', Object) - ], MapStepComponent.prototype, "popup", void 0); - __decorate([ - core_1.Input(), - __metadata('design:type', String) - ], MapStepComponent.prototype, "currentLegend", void 0); MapStepComponent = __decorate([ core_1.Component({ selector: 'map', diff --git a/src/shared/steps/map/MapStep.js.map b/src/shared/steps/map/MapStep.js.map index cd44bc7..527462d 100644 --- a/src/shared/steps/map/MapStep.js.map +++ b/src/shared/steps/map/MapStep.js.map @@ -1 +1 @@ -{"version":3,"file":"MapStep.js","sourceRoot":"","sources":["MapStep.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,qBAAyF,eAAe,CAAC,CAAA;AACzG,yBAAgC,kBAAkB,CAAC,CAAA;AACnD,0BAAyB,WAAW,CAAC,CAA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SAAS,EAAE,CAAC;QAEpD,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,WAAW,GAAG,CAAC,CAAC,CAAC;IAC/C,CAAC;IAED,gCAAK,GAAL,UAAM,MAAyB,EAAE,IAAqB;QAAhD,sBAAyB,GAAzB,SAAc,IAAI,CAAC,MAAM;QAAE,oBAAqB,GAArB,OAAY,IAAI,CAAC,IAAI;QAClD,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC;YAAC,MAAM,CAAC;QAEjC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC;YACtB,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,IAAI;YACV,KAAK,EAAE,GAAG;SACb,CAAC,CAAC;IACP,CAAC;IAED,qCAAU,GAAV,UAAW,IAAc;QAAd,oBAAc,GAAd,SAAc;QACrB,IAAI,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;QACzC,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC;QACvB,MAAM,CAAC,MAAM,GAAG,QAAQ,CAAC;QACzB,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC;QAC3B,MAAM,CAAC,KAAK,EAAE,CAAC;IACnB,CAAC;IA5JL;QAAC,gBAAS,CAAC;YACP,QAAQ,EAAE,KAAK;YACf,WAAW,EAAE,uCAAuC;SACvD,CAAC;mBAQe,aAAM,CAAC,iBAAU,CAAC;mBAClB,aAAM,CAAC,2BAAQ,CAAC;mBAEhB,aAAM,CAAC,uBAAU,CAAC;;wBAXjC;IA2JF,uBAAC;AAAD,CAAC,AA1JD,CAAsC,4BAAiB,GA0JtD;AA1JY,wBAAgB,mBA0J5B,CAAA"} \ No newline at end of file diff --git a/src/shared/steps/map/MapStep.ts b/src/shared/steps/map/MapStep.ts index 6727764..6654b8c 100644 --- a/src/shared/steps/map/MapStep.ts +++ b/src/shared/steps/map/MapStep.ts @@ -1,4 +1,4 @@ -import {Component, Inject, Renderer, ElementRef, AfterViewInit, HostBinding, Input} from "@angular/core"; +import {Component, Inject, Renderer, ElementRef, AfterViewInit, HostBinding} from "@angular/core"; import {BaseStepComponent} from "../base/BaseStep"; import {Map, Popup} from 'mapbox-gl'; import {MapService} from "../../../services/MapService"; @@ -10,11 +10,11 @@ import {WindowService} from "../../../services/WindowService"; templateUrl: '/templates/shared/steps/map/view.html', }) export class MapStepComponent extends BaseStepComponent { - @Input() activeLayer: any = false; - @Input() zoom: any = 4.5; - @Input() center: any = [15.0, 38.0]; - @Input() popup: any = false; - @Input() currentLegend: string = ''; + activeLayer: any = false; + zoom: any = 4.5; + center: any = [15.0, 38.0]; + popup: any = false; + currentLegend: string = ''; constructor(@Inject(ElementRef) elem: ElementRef, @Inject(DOCUMENT) protected document: any,