Added share ability

This commit is contained in:
2019-08-25 11:45:49 -04:00
parent 3c0020450f
commit b8bb4aed2b
7 changed files with 57 additions and 3 deletions

View File

@ -3,6 +3,14 @@
<div *ngIf="showPalette" [@flyInRight] [@flyOutRight] class="palette">
<palette [(selected)]="drawColor" (selectedChange)="map.drawingColor = $event"></palette>
</div>
<div *ngIf="shareDialog" class="share" [@flyInRight] [@flyOutRight]>
<div class="input-group">
<input type="text" class="form-control" [ngModel]="code" style="width: 120px" readonly>
<div class="input-group-append">
<button class="btn btn-danger" (click)="copyUrl()">Copy</button>
</div>
</div>
</div>
<div class="info p-2">
<span *ngIf="!position" class="text-danger">No GPS</span>
<div *ngIf="position" class="text-white">