Changeset de9d697 for Farmatiko/ClientApp/src/app/dialogs
- Timestamp:
- 02/01/21 00:15:12 (4 years ago)
- Branches:
- master
- Children:
- afefe75
- Parents:
- 28d7d35
- Location:
- Farmatiko/ClientApp/src/app/dialogs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Farmatiko/ClientApp/src/app/dialogs/facility-dialog/facility-dialog.component.ts
r28d7d35 rde9d697 41 41 iconUrl: 'assets/hospital-icon.png' 42 42 }) 43 }).bindPopup( "Аптека: "+this.facility?.name);43 }).bindPopup(this.facility?.name); 44 44 this.options.layers.push(layer); 45 45 this.options.center = latLng(obj[0]?.lat, obj[0]?.lon); 46 46 this.options.zoom = 13; 47 47 } 48 }, error => console.error(error)); 49 this.mapShown = false; 50 setTimeout(() => this.mapShown = true, 300); 48 }, error => console.error(error), 49 () => { 50 this.mapShown = false; 51 setTimeout(() => this.mapShown = true, 300); 52 }); 51 53 } 52 53 54 54 55 close() { -
Farmatiko/ClientApp/src/app/dialogs/pharmacy-dialog/pharmacy-dialog.component.ts
r28d7d35 rde9d697 46 46 this.options.zoom = 13; 47 47 } 48 }, error => console.error(error)); 49 this.mapShown = false; 50 setTimeout(() => this.mapShown = true, 300); 48 }, error => console.error(error), 49 () => { 50 this.mapShown = false; 51 setTimeout(() => this.mapShown = true, 200); 52 }); 51 53 } 52 54
Note:
See TracChangeset
for help on using the changeset viewer.