This commit is contained in:
Taric Xin
2022-02-21 10:34:13 +08:00
parent b56784f483
commit 5f87986be5
6 changed files with 12 additions and 24 deletions

View File

@ -7,13 +7,12 @@
* @FilePath: \tms-obc-web\src\app\shared\components\amap\amap-poi-picker\amap-poi-picker.component.html
-->
<div nz-row class="mb-xl">
<div nz-col nzSpan="8">
<input id="pickerInput" [(ngModel)]="addressInput" placeholder="请输入地址" />
</div>
<div nz-col nzSpan="8">
<input id="pickerInput" [(ngModel)]="addressInput" placeholder="请输入地址" />
</div>
<div class="map-container" id="container" tabindex="0" style="width: 800px; height: 500px"></div>
<div *nzModalFooter>
<button nz-button nzType="default" (click)="cancel()">取消</button>
<button nz-button nzType="primary" (click)="sure()">确定</button>
</div>
</div>
<div class="map-container" id="container" tabindex="0" style="width: 100%; height: 500px"></div>
<div *nzModalFooter>
<button nz-button nzType="default" (click)="cancel()">取消</button>
<button nz-button nzType="primary" (click)="sure()">确定</button>
</div>

View File

@ -20,8 +20,6 @@ const CONFIG = amapConf;
})
export class AmapService {
constructor() {}
public length = 0;
public time = 0;
sub = new Subject<any>();
currentSub = new Subject<any>();