add styling improvements; add geojson export for as zip file;

This commit is contained in:
Fabian Jeglinski
2020-02-16 13:06:52 +01:00
parent 539643caf4
commit f5c00cfa93
9 changed files with 1518 additions and 1095 deletions
+19 -16
View File
@@ -16,13 +16,13 @@
</div>
</div>
<!-- layer property area-->
<div>
<div class="property-list-area">
<mat-card>
<mat-card-header>
<mat-card-title>Layer Properties</mat-card-title>
</mat-card-header>
<mat-card-content>
<lm-feature-manager [curFeature]="cache.selectedFeature"></lm-feature-manager>
<lm-feature-manager [curFeature]="cache.selectedFeature"></lm-feature-manager>
</mat-card-content>
</mat-card>
</div>
@@ -38,24 +38,27 @@
<mat-card-content>
<div cdkDropList class="layer-list" (cdkDropListDropped)="drop($event)">
<div class="list-entry" *ngFor="let layer of customLayerCollection.getArray();let i = index" cdkDrag>
<h4>{{layer.get('name') }}</h4>
<i class="material-icons" (click)="centerLayerOnMap(layer)">
center_focus_strong
</i>
<i class="material-icons" (click)="toggleLayerVisibility(layer)">
{{layer.getVisible() ? 'visibility' : 'visibility_off'}}
</i>
<i class="material-icons" (click)="editLayer(i)">
edit
</i>
<i class="material-icons" (click)="deleteLayer(layer)">
delete
</i>
<h4 class="title">{{layer.get('name') }}</h4>
<div class="layer-controls">
<i class="material-icons" (click)="centerLayerOnMap(layer)">
center_focus_strong
</i>
<i class="material-icons" (click)="toggleLayerVisibility(layer)">
{{layer.getVisible() ? 'visibility' : 'visibility_off'}}
</i>
<i class="material-icons" (click)="editLayer(i)">
edit
</i>
<i class="material-icons" (click)="deleteLayer(layer)">
delete
</i>
</div>
</div>
</div>
</mat-card-content>
<mat-card-actions>
<button mat-button (click)="saveLayers()">Speichern</button>
<button mat-button (click)="exportLayerForApp()">Export für App</button>
<button mat-button (click)="exportLayerAsGeoJson()">Export als GeoJSON</button>
</mat-card-actions>
</mat-card>
</div>